Body请求参数

名称 类型 描述
app string 标识
loginName string 用户名
name string 名称
openid string Openid
password string 密码
profile string 头像
tenant string 企业标识

请求示例

application/json, text/json
{
  "loginName": "",
  "password": "",
  "tenant": "",
  "openid": "",
  "name": "",
  "profile": "",
  "app": ""
}

响应参数

int
名称 类型 描述
data {...}
    ┆- code string 编码
    ┆- id int
    ┆- inUse boolean 是否启用
    ┆- isDefault boolean 是否是默认
    ┆- password string 密码
    ┆- phone string 电话
    ┆- realName string 姓名
    ┆- roleId int 角色Id
    ┆- roleName string 角色名
     shops [...] 门店Id列表
        ┆- address string 地址
        ┆- appKey string AppKey
        ┆- appSecret string AppSecret
        ┆- city string
        ┆- code string 编码
        ┆- distance decimal number 距离
        ┆- district string
        ┆- id int
        ┆- imagePath string 照片
        ┆- intro string 简介
        ┆- lBSPoint string 坐标
        ┆- memberInUse boolean 线上会员是否启用
        ┆- name string 名称
        ┆- phone string 电话
        ┆- province string
        ┆- shopArea decimal number 面积
        ┆- shopTag string 门店标签
        ┆- tenantId int
     tagIds [...] 标签Id集合
    ┆- tenantId int
    ┆- tenantName string 租户名
    ┆- tenantType string 0:; 1:; 2:
    ┆- userName string 用户名
message string
status string 200:; 500:; 601:; 602:; 603:; 604:; 605:; 606:; 607:; 608:; 701:; 702:; 703:; 704:; 801:; 901:; 902:; 903:; 904:; 905:; 1001:; 1002:; 1003:

响应示例

application/json, text/json
{
  "data": {
    "tenantName": "",
    "tenantType": 0,
    "userName": "",
    "password": "",
    "code": "",
    "inUse": true,
    "realName": "",
    "phone": "",
    "isDefault": true,
    "roleId": 9,
    "roleName": "",
    "tagIds": [
      1,
      2
    ],
    "shops": [
      {
        "name": "",
        "code": "",
        "appKey": "",
        "appSecret": "",
        "province": "",
        "city": "",
        "district": "",
        "address": "",
        "lbsPoint": "",
        "distance": 10.1,
        "shopArea": 11.1,
        "phone": "",
        "intro": "",
        "imagePath": "",
        "memberInUse": true,
        "shopTag": "",
        "tenantId": 17,
        "id": 18
      },
      {
        "name": "",
        "code": "",
        "appKey": "",
        "appSecret": "",
        "province": "",
        "city": "",
        "district": "",
        "address": "",
        "lbsPoint": "",
        "distance": 10.1,
        "shopArea": 11.1,
        "phone": "",
        "intro": "",
        "imagePath": "",
        "memberInUse": true,
        "shopTag": "",
        "tenantId": 17,
        "id": 18
      }
    ],
    "tenantId": 11,
    "id": 12
  },
  "status": 200,
  "message": ""
}

Body请求参数

名称 类型 描述
id int

请求示例

application/json, text/json
{}

响应参数

名称 类型 描述
message string
status string 200:; 500:; 601:; 602:; 603:; 604:; 605:; 606:; 607:; 608:; 701:; 702:; 703:; 704:; 801:; 901:; 902:; 903:; 904:; 905:; 1001:; 1002:; 1003:

响应示例

application/json, text/json
{
  "status": 200,
  "message": ""
}