Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
shuidiapp
shuidiapp
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • 互联网应用开发
  • shuidiappshuidiapp
  • Wiki
  • my_homepage

Last edited by 金小龙 Dec 08, 2016
Page history
This is an old version of this page. You can view the most recent version or browse the history.

my_homepage

个人主页

调用地址

/user

传参

{action: 'my_homepage'}
传参 说明 是否必填
action 接口名 是

返回值

// 已认领
{
status: 0,
message: "请求成功",
data: {
owner_status: 1,
user_name: "李康",
position: "",
company_name: "浙江蓝海环保有限公司"
}
}

// 未认领
{
status: 0,
message: "请求成功",
data: {
owner_status: 0,
user_name: "357761047@qq.com",
position: "游客",
company_name: ""
}
}
返回值 说明
owner_status 认领状态
user_name 用户名称
position 职位,未认领时默认为游客
company_name 公司名称

示例

http://shuidi.test2.pingansec.com/user?action=my_homepage

Clone repository
  • add_application
  • agree_application
  • api_desc
  • api_list
  • autobiography
  • base_info
  • branch
  • cancel_follow
  • change
  • change_applicant_name
  • change_avatar
  • change_logo
  • change_nickname
  • change_password
  • change_position
View All Pages