请求参数

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

请求示例

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

响应参数

string integer
名称 类型 描述
data {...}
    ┆- code string 编码
    ┆- id integer id
    ┆- inUse boolean 是否启用
    ┆- isDefault boolean 是否是默认
    ┆- password string 密码
    ┆- phone string 电话
    ┆- realName string 姓名
    ┆- roleId integer 角色Id
    ┆- roleName string 角色名
     shops [...] 门店Id列表
        ┆- address string 地址
        ┆- appKey string AppKey
        ┆- appSecret string AppSecret
        ┆- code string 编码
         devices [...] 设备
            ┆- code string 编码
            ┆- deviceTypeId integer 类型id
            ┆- deviceTypeName string 类型名称
            ┆- id integer id
            ┆- inUse boolean 启用
            ┆- iP string IP
            ┆- mac string Mac
            ┆- shopId integer 门店Id
            ┆- shopName string 门店名称
            ┆- stallId integer 摊位Id
            ┆- stallName string 摊位名称
            ┆- timeStamp integer 时间戳
        ┆- id integer id
        ┆- imagePath string 照片
        ┆- lBSPoint string 坐标
        ┆- name string 名称
        ┆- shopArea decimal number 面积
         shopProductPriceLogs [...] 门店商品价格记录
            ┆- createTime date 创建时间
            ┆- id integer id
            ┆- newMemberPrice decimal number 新会员价
            ┆- newPrice decimal number 新价格
            ┆- oldMemberPrice decimal number 原会员价
            ┆- oldPrice decimal number 原价格
            ┆- productClass string 商品分类
            ┆- productCode string 商品货号
            ┆- productId integer 商品id
            ┆- productName string 商品名称
            ┆- shopId integer 门店id
            ┆- userId integer 操作人id
            ┆- userName string 操作人名称
         shopProducts [...] 门店商品价格
            ┆- id integer id
             images [...] 图片路径
            ┆- memberPrice decimal number 会员价
            ┆- price decimal number 价格
            ┆- pricingType string 0:计数; 1:计重; 2:计数取重
            ┆- pricingTypeName string 计价方式显示名称
            ┆- productClass string 商品分类
            ┆- productCode string 商品货号
            ┆- productId integer 商品id
            ┆- productName string 商品名称
            ┆- productUnit string 单位
            ┆- shopId integer 门店id
            ┆- shopName string 门店id
            ┆- sort integer 排序
        ┆- tenantId integer
     tagIds [...] 标签Id集合
    ┆- tenantId integer
    ┆- tenantName string 租户名
    ┆- tenantType string 0:鲜如果商户; 1:鲜闪购商户; 2:第三方商户
    ┆- type string 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": "",
    "type": 1,
    "tagIds": [
      1,
      2
    ],
    "shops": [
      {
        "name": "",
        "code": "",
        "appKey": "",
        "appSecret": "",
        "address": "",
        "lbsPoint": "",
        "shopArea": 7.1,
        "imagePath": "",
        "devices": [
          {
            "shopId": 1,
            "shopName": "",
            "stallId": 3,
            "stallName": "",
            "ip": "",
            "code": "",
            "mac": "",
            "timeStamp": 8,
            "inUse": true,
            "deviceTypeId": 10,
            "deviceTypeName": "",
            "id": 12
          },
          {
            "shopId": 1,
            "shopName": "",
            "stallId": 3,
            "stallName": "",
            "ip": "",
            "code": "",
            "mac": "",
            "timeStamp": 8,
            "inUse": true,
            "deviceTypeId": 10,
            "deviceTypeName": "",
            "id": 12
          }
        ],
        "shopProducts": [
          {
            "shopId": 1,
            "shopName": "",
            "productId": 3,
            "productCode": "",
            "productName": "",
            "productClass": "",
            "productUnit": "",
            "price": 8.0,
            "memberPrice": 9.0,
            "pricingType": 0,
            "pricingTypeName": "",
            "sort": 11,
            "images": [
              "",
              ""
            ],
            "id": 12
          },
          {
            "shopId": 1,
            "shopName": "",
            "productId": 3,
            "productCode": "",
            "productName": "",
            "productClass": "",
            "productUnit": "",
            "price": 8.0,
            "memberPrice": 9.0,
            "pricingType": 0,
            "pricingTypeName": "",
            "sort": 11,
            "images": [
              "",
              ""
            ],
            "id": 12
          }
        ],
        "shopProductPriceLogs": [
          {
            "shopId": 1,
            "productId": 2,
            "productCode": "",
            "productName": "",
            "productClass": "",
            "oldPrice": 6.0,
            "oldMemberPrice": 7.0,
            "newPrice": 8.0,
            "newMemberPrice": 9.0,
            "createTime": "2026-01-15 10:11:42",
            "userId": 11,
            "userName": "",
            "id": 13
          },
          {
            "shopId": 1,
            "productId": 2,
            "productCode": "",
            "productName": "",
            "productClass": "",
            "oldPrice": 6.0,
            "oldMemberPrice": 7.0,
            "newPrice": 8.0,
            "newMemberPrice": 9.0,
            "createTime": "2026-01-15 10:11:42",
            "userId": 11,
            "userName": "",
            "id": 13
          }
        ],
        "tenantId": 9,
        "id": 10
      },
      {
        "name": "",
        "code": "",
        "appKey": "",
        "appSecret": "",
        "address": "",
        "lbsPoint": "",
        "shopArea": 7.1,
        "imagePath": "",
        "devices": [
          {
            "shopId": 1,
            "shopName": "",
            "stallId": 3,
            "stallName": "",
            "ip": "",
            "code": "",
            "mac": "",
            "timeStamp": 8,
            "inUse": true,
            "deviceTypeId": 10,
            "deviceTypeName": "",
            "id": 12
          },
          {
            "shopId": 1,
            "shopName": "",
            "stallId": 3,
            "stallName": "",
            "ip": "",
            "code": "",
            "mac": "",
            "timeStamp": 8,
            "inUse": true,
            "deviceTypeId": 10,
            "deviceTypeName": "",
            "id": 12
          }
        ],
        "shopProducts": [
          {
            "shopId": 1,
            "shopName": "",
            "productId": 3,
            "productCode": "",
            "productName": "",
            "productClass": "",
            "productUnit": "",
            "price": 8.0,
            "memberPrice": 9.0,
            "pricingType": 0,
            "pricingTypeName": "",
            "sort": 11,
            "images": [
              "",
              ""
            ],
            "id": 12
          },
          {
            "shopId": 1,
            "shopName": "",
            "productId": 3,
            "productCode": "",
            "productName": "",
            "productClass": "",
            "productUnit": "",
            "price": 8.0,
            "memberPrice": 9.0,
            "pricingType": 0,
            "pricingTypeName": "",
            "sort": 11,
            "images": [
              "",
              ""
            ],
            "id": 12
          }
        ],
        "shopProductPriceLogs": [
          {
            "shopId": 1,
            "productId": 2,
            "productCode": "",
            "productName": "",
            "productClass": "",
            "oldPrice": 6.0,
            "oldMemberPrice": 7.0,
            "newPrice": 8.0,
            "newMemberPrice": 9.0,
            "createTime": "2026-01-15 10:11:42",
            "userId": 11,
            "userName": "",
            "id": 13
          },
          {
            "shopId": 1,
            "productId": 2,
            "productCode": "",
            "productName": "",
            "productClass": "",
            "oldPrice": 6.0,
            "oldMemberPrice": 7.0,
            "newPrice": 8.0,
            "newMemberPrice": 9.0,
            "createTime": "2026-01-15 10:11:42",
            "userId": 11,
            "userName": "",
            "id": 13
          }
        ],
        "tenantId": 9,
        "id": 10
      }
    ],
    "tenantId": 11,
    "id": 12
  },
  "status": 200,
  "message": ""
}

请求参数

请求示例

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