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 id
    ┆- 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 id
        ┆- 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": ""
}