简要描述:
- 用户登录接口
请求域名:
- http://xx.com
请求URL:
POST/route=plugin.store-cashier.frontend.store.center.store.edit
参数(以下参数包含在store数组里面):
| 参数名 | 类型 | 说明 |
|---|---|---|
| store_name | string | 门店名称 |
| thumb | string | 门店LOGO |
| province_id | int | 门店地址(省份ID) |
| city_id | int | 门店地址(城市ID) |
| district_id | int | 门店地址(区镇ID) |
| street_id | int | 门店地址(街道ID) |
| address | string | 详细地址 |
| latitude | double | 纬度 |
| longitude | double | 门店经度 |
| mobile | int | 店铺电话 |
| store_introduce | string | 门店简介 |
| audio_open | int | 语音提醒 0关 1开 |
| operating_state | int | 经营状态 0正在经营 1休息 |
| business_hours_start] | string | 营业时间(开始)格式 H:i |
| business_hours_end | string | 营业时间(结束) |
返回示例:
正确时返回:
{
"errcode": 0,
"data": {
"uid": "1",
"account": "admin",
"nickname": "Minho",
"group_level": 0 ,
"create_time": "1436864169",
"last_login_time": "0",
}
}
错误时返回:
{
"errcode": 500,
"errmsg": "invalid appid"
}
备注:
- 更多返回错误代码请看首页的错误代码描述