说明
收银员门店信息查询
请求地址
环境 | 请求地址 |
---|---|
测试环境 | https://pay.umxnt.com/api/merchant/me |
正式环境 |
请求参数
参数 | 类型 | 是否必填 | 最大长度 | 描述 |
---|---|---|---|---|
token | string | 是 | 令牌 |
返回值示例
{ "status": 1, "message": "数据返回成功", "data": { "merchant": { "name": "收款账户很好", "phone": "18851186776", "merchant_logo": "wxfile://tmp_497025033o6zAJsy-TSD0r7T1U73fJQxlEfY4f069baa9b357ec8b0d736a5a84adf36d.jpg", "merchant_pid": 0, "type": "1" }, "store": { "store_name": "有梦想科技", "store_short_name": "有梦想科技", "store_pid": 0 } } }
参数说明
参数 | 说名 |
---|---|
merchant | |
name | 收银员姓名 |
phone | 收银员登录手机号 |
merchant_logo | 收银员头像 |
type | 类型 1 店长 2 收银员 |
merchant_pid | 上级id |
store | |
store_name | 店铺名称 |
store_short_name | 店铺简称 |
store_pid | 0 总店 其他 分店 |
失败请求示例
{ "message":"无效参数", "status":2 }