Home - 格子柜系统(2018-09-21) 登录  
最后修改者: root  2019-01-14 16:44:14 

30--配送计划-详细

编号  :  30

GET - /mobile/index.php?act=express_index&op=get_send_plan_detail
请求参数
参数名 参数类型 必传 缺省值 描述
seach_type 字符串 Y device goods
send_date 字符串 Y 2019-01-15
goods_id 字符串 N goods_id/cab_no 传一个
cab_no 字符串 N
返回值
{
    "code": 200,
    "datas": [
        {
            "order_sn": "201901152076621502",
            "buyer_mobile": "18508283196",
            "buyer_name": "18508283196",
            "goods_name": "新希望 致轻高钙低脂纯牛奶250ml*12盒纯奶整箱 脂肪含量减少50%",
            "goods_num": "2"
        }
    ]
}



{
    "code": 200,
    "datas": [
        {
            "cab_name": "格子柜子002",
            "order_total": "1",
            "goods_total": "2"
        }
    ]
}
最后修改者: root  2019-01-14 14:52:23 

微信登录、绑定接口

编号  :  029

POST - http://127.0.0.1/goushihui/mobile/index.php?act=member_login&op=bindOpenidAndLogin
微信登录、绑定接口
请求参数
参数名 参数类型 必传 缺省值 描述
password string Y
unionid string Y
imei string Y
mobile_type string Y
mobile_version string Y
version_no string Y
base_type string Y
avatarUrl string Y 微信头像
nickName string Y 微信昵称
返回值
{"code":200,"member_id":"124814","username":"15196638218","member_mobile":"15196638218","key":"fd85e66e7eeb1bdb4c1306589d68c584","member_avatar":"http://127.0.0.1/goushihui/data/upload/shop/common/default_user_portrait.gif","is_newuser":0}
备注
password=123456&unionid=oO7OewTtuRjCv328-c4VgLBn-wKA&imei=123&mobile_type=android&mobile_version=v1.1&version_no=5.3&base_type=android&avatarUrl=123&nickName=小明 //传参实例
最后修改者: root  2019-01-14 16:03:57 

28-配送计划

编号  :  28

POST - /mobile/index.php?act=express_index&op=get_send_plan_list
请求参数
参数名 参数类型 必传 缺省值 描述
date 日期 N 2019-01-11
seach_type String N goods/device
keyword String N
返回值
{
    "code": 200,
    "datas": [
        {
            "send_date": "2019-01-15",
            "name": "长虹大厦",
            "cab_no": "300002",
            "cab_name": "格子柜子002",
            "total": "1"
        },
        {
            "send_date": "2019-01-16",
            "name": "长虹大厦",
            "cab_no": "300002",
            "cab_name": "格子柜子002",
            "total": "1"
        },
        {
            "send_date": "2019-01-17",
            "name": "长虹大厦",
            "cab_no": "300002",
            "cab_name": "格子柜子002",
            "total": "1"
        }
    ]
}
/**************goods*******************/
{
    "code": 200,
    "datas": [
        {
            "send_date": "2019-01-15",
            "name": "长虹大厦",
            "goods_id": "104642",
            "goods_name": "新希望 致轻高钙低脂纯牛奶250ml*12盒纯奶整箱 脂肪含量减少50%",
            "total": "1"
        },
        {
            "send_date": "2019-01-16",
            "name": "长虹大厦",
            "goods_id": "104642",
            "goods_name": "新希望 致轻高钙低脂纯牛奶250ml*12盒纯奶整箱 脂肪含量减少50%",
            "total": "1"
        },
        {
            "send_date": "2019-01-17",
            "name": "长虹大厦",
            "goods_id": "104642",
            "goods_name": "新希望 致轻高钙低脂纯牛奶250ml*12盒纯奶整箱 脂肪含量减少50%",
            "total": "1"
        }
    ]
}
备注
send_date  goods_idcab_no
最后修改者: root  2019-01-10 15:00:39 

子订单接口

编号  :  026

POST - mobile/index.php?act=member_order&op=order_sub_list
子订单接口
请求参数
参数名 参数类型 必传 缺省值 描述
order_id int Y 订单id
curpage int N 1 当前页号
page_size int N 15 分页数
返回值
{"code":200,"datas":{"list":[{"id":"52","order_id":"195209","sub_sn":"201902042076666316","add_time":"1547020766","send_time":"20190204","take_time":"0","send_state":"u5f85u914du9001","take_state":"0","is_transfer":"0","sub_code":null},{"id":"53","order_id":"195209","sub_sn":"201902052076614717","add_time":"1547020766","send_time":"20190205","take_time":"0","send_state":"u5f85u914du9001","take_state":"0","is_transfer":"0","sub_code":null},{"id":"54","order_id":"195209","sub_sn":"201902062076690018","add_time":"1547020766","send_time":"20190206","take_time":"0","send_state":"u5f85u914du9001","take_state":"0","is_transfer":"0","sub_code":null},{"id":"55","order_id":"195209","sub_sn":"201902072076691019","add_time":"1547020766","send_time":"20190207","take_time":"0","send_state":"u5f85u914du9001","take_state":"0","is_transfer":"0","sub_code":null},{"id":"56","order_id":"195209","sub_sn":"201902082076660220","add_time":"1547020766","send_time":"20190208","take_time":"0","send_state":"u5f85u914du9001","take_state":"0","is_transfer":"0","sub_code":null},{"id":"57","order_id":"195209","sub_sn":"201902112076675621","add_time":"1547020766","send_time":"20190211","take_time":"0","send_state":"u5f85u914du9001","take_state":"0","is_transfer":"0","sub_code":null},{"id":"58","order_id":"195209","sub_sn":"201902122076699922","add_time":"1547020766","send_time":"20190212","take_time":"0","send_state":"u5f85u914du9001","take_state":"0","is_transfer":"0","sub_code":null},{"id":"59","order_id":"195209","sub_sn":"201902132076684223","add_time":"1547020766","send_time":"20190213","take_time":"0","send_state":"u5f85u914du9001","take_state":"0","is_transfer":"0","sub_code":null},{"id":"60","order_id":"195209","sub_sn":"201902142076680424","add_time":"1547020766","send_time":"20190214","take_time":"0","send_state":"u5f85u914du9001","take_state":"0","is_transfer":"0","sub_code":null},{"id":"61","order_id":"195209","sub_sn":"201902152076654925","add_time":"1547020766","send_time":"20190215","take_time":"0","send_state":"u5f85u914du9001","take_state":"0","is_transfer":"0","sub_code":null},{"id":"62","order_id":"195209","sub_sn":"201902182076679826","add_time":"1547020766","send_time":"20190218","take_time":"0","send_state":"u5f85u914du9001","take_state":"0","is_transfer":"0","sub_code":null},{"id":"63","order_id":"195209","sub_sn":"201902192076667527","add_time":"1547020766","send_time":"20190219","take_time":"0","send_state":"u5f85u914du9001","take_state":"0","is_transfer":"0","sub_code":null},{"id":"64","order_id":"195209","sub_sn":"201902202076670828","add_time":"1547020766","send_time":"20190220","take_time":"0","send_state":"u5f85u914du9001","take_state":"0","is_transfer":"0","sub_code":null},{"id":"65","order_id":"195209","sub_sn":"201902212076611329","add_time":"1547020766","send_time":"20190221","take_time":"0","send_state":"u5f85u914du9001","take_state":"0","is_transfer":"0","sub_code":null},{"id":"66","order_id":"195209","sub_sn":"201902222076629130","add_time":"1547020766","send_time":"20190222","take_time":"0","send_state":"u5f85u914du9001","take_state":"0","is_transfer":"0","sub_code":null}],"total_page":3}}
备注
key=8c5b58cd058f92709cdb9c9aa2b0e506&order_id=195209&curpage=2  传参实例
最后修改者: root  2019-01-10 15:01:21 

下单接口

编号  :  025

POST - mobile/index.php?act=member_buy&op=box_order
下单接口
请求参数
参数名 参数类型 必传 缺省值 描述
goods_id int Y 商品id
goods_num int Y 每天送商品数
day_num int Y 总次数
address_id int Y 地址id
send_type int Y 送货类型 0天天送 1工作日送
start_time int Y 开始时间
end_time int Y 结束时间
返回值
{"code":200,"datas":{"pay_sn":"870600447206190814"}}
备注
key=8c5b58cd058f92709cdb9c9aa2b0e506&goods_id=104642&goods_num=2&day_num=31&address_id=1&send_type=1&start_time=1547222400&end_time=1549814400 传参实例
最后修改者: root  2019-01-10 15:02:25 

确认订单页接口

编号  :  025

POST - mobile/index.php?act=member_buy&op=box_buy
确认订单页接口
请求参数
参数名 参数类型 必传 缺省值 描述
goods_id int Y
返回值
{"code":200,"datas":{"goods_info":{"goods_id":"104642","goods_name":"u65b0u5e0cu671bu00a0u81f4u8f7bu9ad8u9499u4f4eu8102u7eafu725bu5976250ml*12u76d2u7eafu5976u6574u7bb1u00a0u8102u80aau542bu91cfu51cfu5c1150%","goods_image":"5_05908579234694718.jpg","goods_price":"5.00","store_id":"5","goods_image_url":"http://127.0.0.1/goushihui/data/upload/shop/common/default_goods_image_240.gif"},"address_info":[]}}
备注
key=8c5b58cd058f92709cdb9c9aa2b0e506&goods_id=104642 传参实例
最后修改者: root  2018-10-19 10:17:28 

024-柜子端app-错误日志上报

编号  :  024

POST - mobile/index.php?act=cabinet&op=error_log
请求参数
参数名 参数类型 必传 缺省值 描述
cabinetnum string Y
type string Y 异常类型:-1:柜体检测没有通过,停用,1-离线,2-温度异常;3-箱门未关异常;4-箱门无法打开异常; 101:温控异常;102:键盘异常;103:大锁异常;104:小锁异常
content string Y 错误描述
box string N 箱门编号
最后修改者: root  2018-10-16 13:24:43 

023-用户-订单详情

编号  :  023

POST - mobile/index.php?act=wx_member_index&op=pick_info
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y
order_id string Y
search_date string Y 日期,2018-09-09
返回值
参考-021-快递员存取货记录-详情
返回数据增加:格子列表: boxs   商品列表:goods
待列取使用boxnum进行比对
最后修改者: root  2018-10-12 15:40:47 

022-用户-待取货列表

编号  :  022

POST - mobile/index.php?act=wx_member_index&op=wait_pick_list
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y
返回值
参考-019-快递员存取货记录
最后修改者: root  2018-10-12 14:57:38 

021-快递员存取货记录-详情

编号  :  021

POST - mobile/index.php?act=express_index&op=save_pick_log_detail
请求参数
参数名 参数类型 必传 缺省值 描述
key String Y
order_id String Y 取货记录-order_id
返回值
{
    "code": 200,
    "datas": [
        {
            "order_sn": "5566443453453477",//订单编号
            "boxnum": "12",//格子号
            "pattern": 1, //模式 1:常温,2:冷藏,3:冷冻,4:超冻
            "size": "2",//规格 1:大柜,2:中柜,3:小柜
            "buyer_name": "38338",//客户名称
            "buyer_mobile": "180263829672",//客户手机号
            "storage_con": "3",//'存储状态 1冷藏,2冷冻, 3常温',
            "express_recovery_time": 1539249550 ,//快递回收时间
            "fetch_code": "242332",//提货码
            "save_time": 1539249550 ,//存货时间
            "fetch_time": 1539249550,//取货时间
            "fetch_type": "02" ,//取货类型,0:提货码,1:包裹回收, 2 未取货 3: 后台清空,99-其他
            "order_state": "20", //状态:20存货、30-取货,40-取消预约,50-待回收,60-已回收
            "cab_no": "902202"  ,//格子柜编号
            "cab_name": "成都长虹科技大A" ,   //格子柜名称
            "goods":[
                 {
                     "goods_name":"好吃芒果",//商品名称
                     "goods_price":23.93,//价格
                     "goods_num":2,//数量
                 }
             ] 
        }
    ]
}
最后修改者: root  2018-10-11 17:49:34 

020-取货码取货-格子格app端执行

编号  :  020

POST - mobile/index.php?act=cabinet&op=pickUpCode_fetch
请求参数
参数名 参数类型 必传 缺省值 描述
cabinetnum String Y 格子柜编号
fetch_code String Y 取货码
返回值
{
    "code": 200,
    "msg": "正在开门,请等待!"
}
最后修改者: root  2018-10-12 14:59:06 

019-快递员存取货记录

编号  :  019

POST - mobile/index.php?act=express_index&op=save_pick_log
请求参数
参数名 参数类型 必传 缺省值 描述
curpage int Y 当前页,get方式,放在地址后面
key string Y
返回值
{
    "code": 200,
    "datas": [
        {
            "order_sn": "5566443453453477",//订单编号
            "boxnum": "12",//格子号
            "save_time": 1539249550 ,//存货时间
            "fetch_time": 1539249550,//取货时间
            "fetch_type": "02" ,//取货类型,0:提货码,1:包裹回收, 2 未取货 3: 后台清空,99-其他
            "order_state": "20", //状态:20存货、30-取货,40-取消预约,50-待回收,60-已回收
            "cab_no": "902202"  ,//格子柜编号
            "cab_name": "成都"    ////格子柜名称
        }
    ]
}
最后修改者: root  2018-09-12 14:25:33 

018-待回收包裹列表

编号  :  018

POST - mobile/index.php?act=express_index&op=get_recovery_list
请求参数
参数名 参数类型 必传 缺省值 描述
cabinetnum string Y
key string Y
返回值
{
    "code": 200,
     "recovery_count":"4",  可回收订单数
    "datas": [
        {
            "order_sn": "5566443453453477",
            "buyer_mobile": "18020902020",
            "boxnum": "02"    机箱编号(格子)编号            
        },
       {
            "order_sn": "423423",
            "buyer_mobile": "18020902020",
            "boxnum": "05"    机箱编号(格子)编号            
        }
    ]
}
最后修改者: root  2018-09-12 10:51:27 

017-取货-取货指令

编号  :  017

POST - mobile/index.php?act=wx_member_index&op=pickUpBoxService
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y
cabinetnum string Y
order_number string Y
boxnum string Y
fetch_time string Y
返回值
{
    "code": 200,
    "msg": "正在开门,请等待!"
}
最后修改者: root  2018-09-10 10:55:20 

016-取货-是否柜门已开3-2-3 - 异常取货4-1-2

编号  :  016

POST - mobile/index.php?act=wx_member_index&op=doorStatus
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y
cabinetnum int Y
get_code int N
boxnum int N
is_reported int Y
返回值
{
    "code": 200,
    "cab_no": "999999",
    "boxnum": "8",
    "doorstatus2": "0"
}
最后修改者: root  2018-10-11 17:14:07 

015-取货-当前柜子应开的格子3-1-----2-1

编号  :  015

POST - mobile/index.php?act=wx_member_index&op=currentCabinetBoxWillOpen
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y
cabinetnum int Y
返回值
{
    "code": 200,
    "is_reported": -1,
    "box_list": [
        {
            "cab_no": "999999",
            "address": "天府四街",
            "boxnum": "8",
            "boxstatus": null,
            "order_number": "1098080000002120401",
            "user_name": null,
            "user_phonenum": null,
            "savetype": null,
            "send_time": null,
            "doorstatus": "0",
            "door_handle": "0",
            "pattern": "2",
            "size": "2",
            "is_door_message": "0",
            "not_closed_num": "0"
        },
        {
            "cab_no": "999999",
            "address": "天府四街",
            "boxnum": "7",
            "boxstatus": null,
            "order_number": "1098080000002120601",
            "user_name": null,
            "user_phonenum": null,
            "savetype": null,
            "send_time": null,
            "doorstatus": "0",
            "door_handle": "0",
            "pattern": "2",
            "size": "2",
            "is_door_message": "0",
            "not_closed_num": "0"
        }
    ]
}
最后修改者: root  2018-09-12 10:25:16 

014-取货-扫码取货-柜子详情

编号  :  014

POST - mobile/index.php?act=wx_member_index&op=scanCodePickUp
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y
cabinetnum int Y 柜子编号
返回值
{
    "code": 200,
    "cabinetnum": "999999",
    "recovery_count": 1,
    "save_count": 7,
    "datas": [
        {
            "cab_no": "999999",
            "address": "天府四街",
            "boxnum": "8",
            "boxstatus": null,
            "order_number": "1098080000002120401",
            "user_name": null,
            "user_phonenum": null,
            "savetype": null,
            "send_time": null,
            "doorstatus": "0",
            "door_handle": "0",
            "pattern": "2",
            "size": "2",
            "is_door_message": "0",
            "not_closed_num": "0"
        },
        {
            "cab_no": "999999",
            "address": "天府四街",
            "boxnum": "8",
            "boxstatus": null,
            "order_number": "1098080000002120401",
            "user_name": null,
            "user_phonenum": null,
            "savetype": null,
            "send_time": null,
            "doorstatus": "0",
            "door_handle": "0",
            "pattern": "2",
            "size": "2",
            "is_door_message": "0",
            "not_closed_num": "0"
        }
        ]
}
最后修改者: root  2018-09-10 10:07:14 

013-取货-待取货

编号  :  013

POST - mobile/index.php?act=wx_member_index&op=waitingPickUp
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y
返回值
{
    "0": {
        "order_sn": "1",
        "fetch_code": "594131",
        "save_time": "1526891497"
    },
    "1": {
        "order_sn": "1",
        "fetch_code": "611352",
        "save_time": "1527142693"
    },
    "2": {
        "order_sn": "128",
        "fetch_code": "567186",
        "save_time": "1527645194"
    },
    "3": {
        "order_sn": "1558",
        "fetch_code": "599093",
        "save_time": "1527735977"
    },
    "4": {
        "order_sn": "1098080000001987601",
        "fetch_code": "895999",
        "save_time": "1520212"
    },
    "5": {
        "order_sn": "3333",
        "fetch_code": "320911",
        "save_time": "1520314"
    },
    "6": {
        "order_sn": "111222",
        "fetch_code": "874677",
        "save_time": "1535681337"
    },
    "7": {
        "order_sn": "222333136",
        "fetch_code": "844433",
        "save_time": "1535681347"
    },
    "8": {
        "order_sn": "1008080000001894201",
        "fetch_code": "129036",
        "save_time": "1535681356"
    },
    "9": {
        "order_sn": "255656",
        "fetch_code": "971399",
        "save_time": "1535681360"
    },
    "10": {
        "order_sn": "2626",
        "fetch_code": "217691",
        "save_time": "1535681364"
    },
    "code": 200
}
最后修改者: root  2018-10-12 15:35:09 

012-取货-首页

编号  :  012

POST - mobile/index.php?act=wx_member_index&op=pickUpIndex
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y
返回值
{
    "code": 200,
    "member_id": "112973",
    "member_name": "饭",
    "member_passwd": "e10adc3949ba59abbe56e057f20f883e",
    "member_mobile": "13678131200",
    "member_login_num": "0",
    "captcha": null,
    "captcha_time": null,
    "member_time": "1517881457",
    "predeposit": "606.00",
    "member_state": "1",
    "member_areaid": "1679",
    "member_cityid": "130",
    "member_provinceid": "8",
    "express_id": "2",
    "member_limits": "2",
    "company_id": null,
    "dlyp_id": "0",
    "member_type": "2",
    "open_id": null,
    "registr_photo": null,
    "card_photo": "05712254531383077_small.jpg",
    "member_idcard": "510525132336523658",
    "check_state": "3",
    "store_id": [
        "25",
        "88",
        "89",
        "90",
        "91",
        "92",
        "93",
        "94",
        "95"
    ],
    "e_name": "包裹平邮",
    "member_e_name": "包裹平邮--饭",
    "client_type": "ios",
    "wait_pick_count":34 //待取货数
}
最后修改者: root  2018-09-07 15:51:52 

011-取货-微信openid获取

编号  :  011

POST - mobile/index.php?act=wx_chatauth&op=getWechatOpenid
请求参数
参数名 参数类型 必传 缺省值 描述
code string Y
openid string Y 缓存了openid就用openid
返回值
{
    "code": 200,
    "openid": "", //unionid
    "true_openid": "", //openid
    "nickname": "",//昵称
    "headimgurl": "",//头像
    "session_key": ""
}
{
    "code": 201,
    "datas": {
        "error": "refresh_token缓存过期,请重新获取!"
    }
}
备注
code第一次使用,后面缓存了openid(返回值中的true_openid)就用openid code和openid只传一个

如果提示 refresh_token缓存过期,请重新获取!就重新用code获取openid 并缓存新的openid
最后修改者: root  2018-09-10 10:55:42 

010-取货-微信登陆接口

编号  :  010

POST - mobile/index.php?act=wx_member_login&op=weixinLogin
请求参数
参数名 参数类型 必传 缺省值 描述
openid string Y
weixin_image string Y
返回值
{
    "code": 200,
    "regist_state": 0, //0跳转到手机绑定页面 1//跳转到信息录入页面
    "token": ''
}
最后修改者: root  2018-09-07 15:12:46 

08-当前自提柜-存取货记录

编号  :  08

POST - /mobile/index.php?act=express_index&op=cabinet_log
请求参数
参数名 参数类型 必传 缺省值 描述
cabinetnum string Y
key string Y
返回值
{
    "code": 200,
    "datas": [
        {
            "id": "1",
            "cab_id": "155",
            "cab_no": "556677",
            "type": "1",
            "member_name": "11",
            "content": "22",
            "create_time": "111"
        }
    ]
}
最后修改者: root  2018-09-07 15:11:31 

07-包裹回收

编号  :  07

GET - /mobile/index.php?act=express_index&op=package_recovery
请求参数
参数名 参数类型 必传 缺省值 描述
cabinetnum string Y
boxnum string Y
key string Y
返回值
{
    "code": 200,
    "msg": "正在开门,请等待!"
}
失败:
{
    "code": 201,
    "msg": "此柜子无包裹可回收!"
}
最后修改者: root  2018-09-07 15:08:43 

06-获取门状态

编号  :  06

GET - /mobile/index.php?act=express_index&op=get_box_state
0-待开门,1-门已开,2-门已关
请求参数
参数名 参数类型 必传 缺省值 描述
cabinetnum string Y
boxnum string Y
key string Y
返回值
{
    "code": 200,
    "datas": {
        "cab_no": "556677",
        "boxnum": "1",
        "doorstatus2": "0"    0-待开门,1-门已开,2-门已关
}
最后修改者: root  2018-09-07 15:03:20 

05-扫码存货

编号  :  05

GET - /mobile/index.php?act=express_index&op=saveboxService
请求参数
参数名 参数类型 必传 缺省值 描述
cabinetnum string Y
order_number string Y 订单号
boxnum string Y 格子编号
save_time string Y 存货时间
key string Y
返回值
{
    "code": 200,
    "msg": "正在开门,请等待!"
}
最后修改者: root  2018-09-07 14:59:33 

04-扫码存货校验

编号  :  04

GET - /mobile/index.php?act=express_index&op=scanboxService
请求参数
参数名 参数类型 必传 缺省值 描述
cabinetnum string Y
order_number string Y
key string Y 登录-token
返回值
{
    "code": 200,
    "datas": {
        "phonenum": "13512356192",
        "username": "自提点对接地址"
    }
}
最后修改者: root  2018-09-07 14:59:49 

03-当前自提柜台所有待存订单及订单商品

编号  :  03

POST - /mobile/index.php?act=express_index&op=get_box_order
请求参数
参数名 参数类型 必传 缺省值 描述
cabinetnum string Y
key string Y 登录-token
返回值
{
    "code": 200,
    "datas": [
        {
            "buyer_mobile": "13512356192",
            "order_sn": "1008050000001851901",
            "goods_list": [
                {
                    "goods_name": "33",
                    "goods_price": "33.00",
                    "goods_num": "13"
                }
            ]
        },
        {
            "buyer_mobile": "13512356192",
            "order_sn": "1008050000001851501",
            "goods_list": [
                {
                    "goods_name": "1111",
                    "goods_price": "1.00",
                    "goods_num": "12"
                }
            ]
        },
        {
            "buyer_mobile": "13512356192",
            "order_sn": "1008050000001851201",
            "goods_list": [
                {
                    "goods_name": "kfadfa",
                    "goods_price": "2.00",
                    "goods_num": "1"
                },
                {
                    "goods_name": "333",
                    "goods_price": "3.00",
                    "goods_num": "13"
                }
            ]
        }
    ]
}
最后修改者: root  2018-09-11 17:21:54 

02-柜子所有格子列表-接口

编号  :  02

POST - /mobile/index.php?act=express_index&op=get_box_list
请求参数
参数名 参数类型 必传 缺省值 描述
cabinetnum string Y 自提柜编码
key string Y 登录-token
返回值
{
    "code": 200,
     "cabinetnum":"556677",
     "city_name":"成都",
     "recovery_count":"4",  可回收订单数
     "save_count":"5",  可存格子数
    "datas": [
        {
            "cab_no": "556677",
            "address": "u957fu8679u5927u53a6443",
            "boxnum": "5",      机箱编号(格子)编号
            "boxstatus": null,    机箱状态 0空箱  1满箱
            "order_number": null,  订单编号
            "user_name": null,  客户名称
            "user_phonenum": null,  手机号
            "savetype": null,  存货类型
            "send_time": null,   存货时间
            "doorstatus": "0",  箱门状态 0关闭 1开启 2锁定关闭 3锁定开启  8柜门不存在 9柜门状态监测失效
            "door_handle": "0",  柜门操作 0:初始 -1: 已锁定,待解锁 1:开柜,2:锁定 3:锁定
            "pattern": "2",  模式 1:常温,2:冷藏,3:冷冻,4:超冻
            "size": "2",  规格 1:大柜,2:中柜,3:小柜
            "is_door_message": "0",   是否发送箱门未关好短信  0未发送 1发送
            "not_closed_num": "0"   箱门未关闭 +1 关闭为0
        }
    ]
}
最后修改者: root  2018-09-11 17:18:36 

01-配送员登录

编号  :  01

POST - /mobile/index.php?act=express_index&op=express_login
http://box.test.ifoodtube.com base_jsonoperation_json 与原来方式一样
请求参数
参数名 参数类型 必传 缺省值 描述
username string Y
password string Y 需加密处理
member_type int Y 2