Home - 社区物流运营平台 登录  
最后修改者: root  2017-06-07 18:05:57 

获取最近自提点

编号  :  k_124

POST - /mobile/index.php?act=member_index&op=auto_delivery_area_list
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y
latitude double Y 11
longitude double Y 11
返回值
{
  "code": 200,
  "address_list": [
    {
      "dlyp_id": "35",
      "dlyp_name": "武青东四路-榕苑",
      "type": "point",
      "address": "四川省成都市武侯区武青东四路榕苑-站点详细地址",
      "dlyp_storage_con": "2"
    }
  ]
}
最后修改者: root  2017-06-05 09:22:20 

用户协议(文章)

编号  :  k_123

GET - /m/tmpl/service/article.html
?article_id=66
请求参数
参数名 参数类型 必传 缺省值 描述
article_id int Y
最后修改者: root  2017-05-27 14:27:47 

获取自提点 存储条件

编号  :  30

POST - /mobile/index.php?act=member_center&op=get_delivery_info
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 登录令牌
dlyp_id int Y 自提点ID
返回值
{
  "code": 200,
  "dlyp_storage_con": "2|3"
}

{
  "code": 201,
  "msg": "自提点不存在或者该自提点被锁定或者注销!"
}
备注
存储状态 1冷藏,2冷冻, 3常温'
最后修改者: root  2017-05-26 16:49:27 

快递公司列表

编号  :  99

GET - /mobile/index.php?act=express&op=getAllExpress
请求参数
参数名 参数类型 必传 缺省值 描述
返回值
{
  "code": 200,
  "hasmore": false,
  "page_total": 1,
  "order_list": [
    {
      "order_id": "2190",
      "order_state": "50",
      "order_state_name": "待回收",
      "order_sn": "251234567890",
      "dlyp_id": "22",
      "dlyp_address": "成都市高新区华尔街硅谷11111号",
      "source_type": "3",
      "dlyp_name": "孔测试店主",
      "dlyp_mobile": "18215515705",
      "e_name": "华宇物流",
      "member_name": "孔配送",
      "member_mobile": "18215515704",
      "buyer_name": "晓铭",
      "buyer_mobile": "1828033599",
      "storage_con": "2",
      "storage_num": "12",
      "express_application_time": "1495681492"
    },
    {
      "order_id": "2175",
      "order_state": "10",
      "order_state_name": "已预约",
      "order_sn": "1007130000001365401",
      "dlyp_id": "22",
      "dlyp_address": "成都市高新区华尔街硅谷11111号",
      "source_type": "1",
      "dlyp_name": "孔测试店主",
      "dlyp_mobile": "18215515705",
      "e_name": "购食汇",
      "member_name": "购食汇",
      "member_mobile": "",
      "bespeak_time": "1495613999",
      "storage_con": "1"
    },
    {
      "order_id": "2146",
      "order_state": "40",
      "order_state_name": "取消预约",
      "order_sn": "51234567898",
      "dlyp_id": "22",
      "dlyp_address": "成都市高新区华尔街硅谷11111号",
      "source_type": "3",
      "dlyp_name": "孔测试店主",
      "dlyp_mobile": "18215515705",
      "e_name": "华宇物流",
      "member_name": "孔配送",
      "member_mobile": "18215515704",
      "cancel_bespeak_time": "1495786075"
    }
  ]
}
最后修改者: root  2017-05-22 10:27:52 

获取城市列表

编号  :  99

GET - /mobile/index.php?act=mobile_area&op=getCitys
请求参数
参数名 参数类型 必传 缺省值 描述
返回值
{
  "code": 200,
  "area_list": [
    {
      "area_id": "12",
      "area_parent_id": "0",
      "area_name": "安徽",
      "area_deep": "1"
    },
    {
      "area_id": "23",
      "area_parent_id": "0",
      "area_name": "四川",
      "area_deep": "1"
    },
    {
      "area_id": "186",
      "area_parent_id": "12",
      "area_name": "合肥市",
      "area_deep": "2"
    },
    {
      "area_id": "385",
      "area_parent_id": "23",
      "area_name": "成都市",
      "area_deep": "2"
    },
    {
      "area_id": "390",
      "area_parent_id": "23",
      "area_name": "绵阳市",
      "area_deep": "2"
    }
  ],
  "hot_list": [
    {
      "area_id": "186",
      "area_parent_id": "12",
      "area_name": "合肥市",
      "area_deep": "2"
    },
    {
      "area_id": "385",
      "area_parent_id": "23",
      "area_name": "成都市",
      "area_deep": "2"
    },
    {
      "area_id": "390",
      "area_parent_id": "23",
      "area_name": "绵阳市",
      "area_deep": "2"
    }
  ]
}
最后修改者: root  2017-05-21 10:06:03 

支付签名

编号  :  123

POST - mobile/index.php?act=member_payment&op=app_sign
请求参数
参数名 参数类型 必传 缺省值 描述
pay_sn string Y 支付单号
payment_code string Y 支付方式:wxpay,bestpay
key string Y 用户登录token
total_fee float Y 支付金额
terminal_type string Y 终端类型
返回值
{
  "code": 200,
  "msg": "_input_charset=utf-8&body=310548531628044664&it_b_pay=15m&notify_url=http%3A%2F%2Fb2.meiling.com%2Fmobile%2Fapi%2Fpayment%2FalipayAndroid%2Fnotify_url.php&out_trade_no=310548531628044664&partner=2088221844588312&payment_type=1&seller_id=cmkjyxgs2016%40163.com&service=mobile.securitypay.pay&show_url=m.alipay.com&subject=iOSV5.1.2_310548531628044664&total_fee=0.01&sign=YvCdk7Vd6yw269%2BCKObQTsEK0Vs69a0JX%2By2PN3VlOkS3yCpMKBcACH%2F56liSjgQwf0DchohdWoGZpRlxqJpOqNGvTBwpr%2F7fnadyBkQ9WygiBACDbgLohLCf6WQNzPIyF5Cnw2JiLGmUPo1XttyrFjSMW1zWz84UU1LWzpuONY%3D&sign_type=RSA"
}
最后修改者: root  2017-05-18 15:28:40 

充值接口

编号  :  123

POST - /mobile/index.php?act=member_online_rcb&op=rcb_add
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 用户登录token
id int Y 充值列表中编号id
返回值
{
  "code": 200,
  "pay_sn": "270548434001302783",
  "pay_amount": "35.00"
}
最后修改者: root  2017-05-18 14:40:56 

配送员--订单详情---操作按钮

编号  :  k_111

POST - /mobile/index.php?act=member_center&op=control_button
请求参数
参数名 参数类型 必传 缺省值 描述
order_sn string Y
order_state int Y
返回值
{
  "code": 200,
  "msg": "订单填写成功"
}
最后修改者: root  2017-05-18 10:43:33 

退出登录

编号  :  k_99

POST - mobile/index.php?act=logout
请求参数
参数名 参数类型 必传 缺省值 描述
key int Y c931ab2ea98cde74864a9ed75f5d6326
username int Y 18981850204
client string Y android
返回值
{
  "code": 200,
  "msg": "1"
}
最后修改者: root  2017-05-18 16:34:30 

快递搜索历史接口

编号  :  27

POST - mobile/index.php?act=express&op=getExpressSearchHistory
请求参数
参数名 参数类型 必传 缺省值 描述
open_id string Y 微信open_id
page int Y 5 每页条数
curpage int Y 1 当前页数
返回值
{
	"code":200,
	"page_total": 5,
	"data"[
       {
           "id":1 ,
           "e_name":"圆通快递",
           "e_code":"yuantong",
           "open_id":'open_id',
           "search_time":"时间戳",
           "shipping_code":"shipping_code",
           "icon_url":"icon_url"
       },
       {
           "id":2 ,
           "e_name":"韵达快递",
           "e_code":"yunda",
           "open_id":'open_id',
           "search_time":"时间戳",
           "shipping_code":"shipping_code",
           "icon_url":"icon_url"
       }
	]
}
{
	"code":201,
	"error":"参数为空"
}
最后修改者: root  2017-05-22 16:34:56 

微信登录接口

编号  :  26

POST - mobile/index.php?act=wechatauth&op=getOpenidByCode
请求参数
参数名 参数类型 必传 缺省值 描述
code string Y 微信code
get_code string N 只获取openid 传 true
返回值
{
    "code": 200,
    "data": {
        "member_id": "112968",
        "member_name": "15196638218",
        "member_mobile": [
            "15196638218",
            "13608071984"
        ],
        "open_id":"open_id",
        "token": "token"
    }
}

{
    "code": 201,
    "error":"获取openid失败" 或者 "尚未绑定"
}
最后修改者: root  2017-05-18 14:02:22 

我的账户信息+店铺资料

编号  :  25

GET - /mobile/index.php?act=member_center&op=member_account
member_type 等于3 时 为店主账号 店铺资料取 dlyp_info
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 登录令牌
返回值
{
  "code": 200,
  "member_name": "18280335990",
  "member_mobile": "18280335990",
  "predeposit": "0.00",
  "member_type": "3",
  "dlyp_truename": "班班",
  "dlyp_idcard": "620511111111111111",
  "dlyp_info": {
    "dlyp_id": "17",
    "dlyp_name": "czz_自提点1",
    "dlyp_address": "成都111",
    "dlyp_mobile": "18280335990"
  }
}

{
  "code": 200,
  "member_name": "czz_配送员",
  "member_mobile": "18280335991",
  "predeposit": "1000.00",
  "member_type": "2",
  "member_state": "正常",
  "e_name": "配送公司1",
  "city_name": "四川 成都市"
}
最后修改者: root  2017-05-16 15:27:28 

获取平台目前所有快递方式

编号  :  24

POST - mobile/index.php?act=express&op=getAllExpress
请求参数
参数名 参数类型 必传 缺省值 描述
返回值
{
    "code": 200,
    "data": [
        {
            "e_code": "anxindakuaixi",
            "icon_url": null,
            "e_name": "安信达"
        },
        {
            "e_code": "youzhengguonei",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/youzhengguonei.png",
            "e_name": "包裹平邮"
        },
        {
            "e_code": "cces",
            "icon_url": null,
            "e_name": "CCES"
        },
        {
            "e_code": "chuanxiwuliu",
            "icon_url": null,
            "e_name": "传喜物流"
        },
        {
            "e_code": "dhl",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/dhl.png",
            "e_name": "DHL快递"
        },
        {
            "e_code": "datianwuliu",
            "icon_url": null,
            "e_name": "大田物流"
        },
        {
            "e_code": "debangwuliu",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/debangwuliu.png",
            "e_name": "德邦物流"
        },
        {
            "e_code": "ems",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/emsguoji.png",
            "e_name": "EMS"
        },
        {
            "e_code": "emsguoji",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/emsguoji.png",
            "e_name": "EMS国际"
        },
        {
            "e_code": "feikangda",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/fedex.png",
            "e_name": "飞康达"
        },
        {
            "e_code": "fedex",
            "icon_url": null,
            "e_name": "FedEx(国际)"
        },
        {
            "e_code": "rufengda",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/rufengda.png",
            "e_name": "凡客如风达"
        },
        {
            "e_code": "ganzhongnengda",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/ganzhongnengda.png",
            "e_name": "港中能达"
        },
        {
            "e_code": "youzhengguonei",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/youzhengguonei.png",
            "e_name": "挂号信"
        },
        {
            "e_code": "gongsuda",
            "icon_url": null,
            "e_name": "共速达"
        },
        {
            "e_code": "huitongkuaidi",
            "icon_url": null,
            "e_name": "汇通快递"
        },
        {
            "e_code": "tiandihuayu",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/tiandihuayu.png",
            "e_name": "华宇物流"
        },
        {
            "e_code": "jiajiwuliu",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/jiajiwuliu.png",
            "e_name": "佳吉快运"
        },
        {
            "e_code": "jiayiwuliu",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/jiayiwuliu.png",
            "e_name": "佳怡物流"
        },
        {
            "e_code": "jixianda",
            "icon_url": null,
            "e_name": "急先达"
        },
        {
            "e_code": "kuaijiesudi",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/kuaijiesudi.png",
            "e_name": "快捷速递"
        },
        {
            "e_code": "longbanwuliu",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/longbanwuliu.png",
            "e_name": "龙邦快递"
        },
        {
            "e_code": "lianbangkuaidi",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/lianbangkuaidi.png",
            "e_name": "联邦快递"
        },
        {
            "e_code": "lianhaowuliu",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/lianhaowuliu.png",
            "e_name": "联昊通"
        },
        {
            "e_code": "quanyikuaidi",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/quanyikuaidi.png",
            "e_name": "全一快递"
        },
        {
            "e_code": "quanfengkuaidi",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/quanfengkuaidi.png",
            "e_name": "全峰快递"
        },
        {
            "e_code": "quanritongkuaidi",
            "icon_url": null,
            "e_name": "全日通"
        },
        {
            "e_code": "shentong",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/shentong.png",
            "e_name": "申通快递"
        },
        {
            "e_code": "shunfeng",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/shunfeng.png",
            "e_name": "顺丰快递"
        },
        {
            "e_code": "suer",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/suer.png",
            "e_name": "速尔快递"
        },
        {
            "e_code": "tnt",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/tnt.png",
            "e_name": "TNT快递"
        },
        {
            "e_code": "tiantian",
            "icon_url": null,
            "e_name": "天天快递"
        },
        {
            "e_code": "tiandihuayu",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/tiandihuayu.png",
            "e_name": "天地华宇"
        },
        {
            "e_code": "ups",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/ups.png",
            "e_name": "UPS快递"
        },
        {
            "e_code": "usps",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/usps.png",
            "e_name": "USPS"
        },
        {
            "e_code": "xinbangwuliu",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/xinbangwuliu.png",
            "e_name": "新邦物流"
        },
        {
            "e_code": "xinfengwuliu",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/xinfengwuliu.png",
            "e_name": "信丰物流"
        },
        {
            "e_code": "cces",
            "icon_url": null,
            "e_name": "希伊艾斯"
        },
        {
            "e_code": "neweggozzo",
            "icon_url": null,
            "e_name": "新蛋物流"
        },
        {
            "e_code": "yuantong",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/yuantong.png",
            "e_name": "圆通快递"
        },
        {
            "e_code": "yunda",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/yunda.png",
            "e_name": "韵达快递"
        },
        {
            "e_code": "youzhengguonei",
            "icon_url": null,
            "e_name": "邮政包裹"
        },
        {
            "e_code": "youshuwuliu",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/youshuwuliu.png",
            "e_name": "优速快递"
        },
        {
            "e_code": "zhongtong",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/zhongtong.png",
            "e_name": "中通快递"
        },
        {
            "e_code": "zhongtiewuliu",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/zhongtiewuliu.png",
            "e_name": "中铁快运"
        },
        {
            "e_code": "zhaijisong",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/zhaijisong.png",
            "e_name": "宅急送"
        },
        {
            "e_code": "zhongyouwuliu",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/zhongyouwuliu.png",
            "e_name": "中邮物流"
        },
        {
            "e_code": "baishihuitong",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/huitongkuaidi.png",
            "e_name": "百世汇通"
        },
        {
            "e_code": "sccod",
            "icon_url": null,
            "e_name": "丰程快递"
        }
    ]
}
最后修改者: root  2017-05-18 15:56:45 

获取物流跟踪信息接口

编号  :  23

POST - mobile/index.php?act=express&op=ajax_get_express
请求参数
参数名 参数类型 必传 缺省值 描述
shipping_code string Y 快递单号
e_code string Y 快递公司编码
open_id string N 微信open_id 要存储历史时传
返回值
{
    "code": 200,
    "data": [
        {
            "time": "2017-05-12 19:12:28",
            "context": "上海市青浦区练塘镇公司(点击查询电话) 已揽收"
        },
        {
            "time": "2017-05-12 20:22:23",
            "context": "上海市青浦区练塘镇公司 已发出,下一站 上海转运中心"
        },
        {
            "time": "2017-05-12 22:40:24",
            "context": "上海转运中心 已收入"
        },
        {
            "time": "2017-05-12 22:43:05",
            "context": "上海转运中心 已打包"
        },
        {
            "time": "2017-05-12 23:09:59",
            "context": "上海转运中心 已发出,下一站 长沙转运中心"
        },
        {
            "time": "2017-05-13 15:56:10",
            "context": "长沙转运中心 已收入"
        },
        {
            "time": "2017-05-13 16:09:23",
            "context": "长沙转运中心 已发出,下一站 湖南省益阳市桃江县"
        },
        {
            "time": "2017-05-14 08:09:10",
            "context": "湖南省益阳市桃江县公司 已收入"
        },
        {
            "time": "2017-05-14 10:02:04",
            "context": "湖南省益阳市桃江县公司(点击查询电话)刘** 派件中 派件员电话0737-3292703"
        },
        {
            "time": "2017-05-14 18:21:45",
            "context": "客户 签收人: 吴建良 已签收  感谢使用圆通速递,期待再次为您服务"
        }
    ]
}
最后修改者: root  2017-05-16 15:21:20 

快递单号识别接口

编号  :  22

POST - mobile/index.php?act=express&op=getEcodeByShipping_code
请求参数
参数名 参数类型 必传 缺省值 描述
shipping_code string Y 快递单号
返回值
{
    "code": 200,
    "data": [
        {
            "e_code": "ems",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/emsguoji.png",
            "e_name": "EMS"
        },
        {
            "e_code": "yunda",
            "icon_url": "https://cdn.kuaidi100.com/images/all/56/yunda.png",
            "e_name": "韵达快递"
        }
    ]
}
备注
data 中有多条数据或者 返回错误时要求选择公司
最后修改者: root  2017-05-22 11:02:51 

店主取货确认

编号  :  k_66

POST - /mobile/index.php?act=member_center&op=pickUp_Confirm
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 登录后的token
order_sn string Y order_sn
fetch_code string Y 取货码
返回值
{
  "code": 200,
  "msg": "已取货!"
}
最后修改者: root  2017-05-22 11:02:43 

店主输码取货

编号  :  k_55

POST - /mobile/index.php?act=member_center&op=pickUp
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y
fetch_code string Y
返回值
{
  "code": 200,
  "order_sn": "149439042390",
  "e_name": "圆通快递",
  "fetch_code": "75434",
  "buyer_name": null,
  "buyer_mobile": "17721475426",
  "storage_num": null,
  "storage_con": "3",
  "fetch_time": null,
  "dlyp_address": "四川省成都市高新区天府四街长虹科技大厦"
}
备注
$order_info['fetch_code'] = $order_detail['fetch_code'];//取货码
        $order_info['member_mobile'] = $order_detail['member_mobile'];
        $order_info['buyer_name'] = $order_detail['buyer_name'];
        $order_info['buyer_mobile'] = $order_detail['buyer_mobile'];
        $order_info['storage_num'] = $order_detail['storage_num'];//储物格号
        $order_info['storage_con'] = $order_detail['storage_con'];//存储状态 1冷藏,2冷冻, 3常温
        $order_info['fetch_time'] = $order_detail['fetch_time'];//取货时间
        $order_info['dlyp_address'] = $order_detail['dlyp_address'];//地址
最后修改者: root  2017-05-18 15:09:23 

店主-扫码收货-->预约收货订单填写

编号  :  k_44

POST - /mobile/index.php?act=member_center&op=order_write
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y
order_sn string Y
buyer_name string Y
buyer_mobile int Y
storage_num int Y
返回值
{
  "code": 200,
  "msg": "订单填写成功"
}
最后修改者: root  2017-05-22 16:37:11 

收货手机号绑定openid

编号  :  21

POST - /mobile/index.php?act=member_login&op=bindMobileAndOpenid
请求参数
参数名 参数类型 必传 缺省值 描述
mobile string Y 收货手机号
openid string Y 微信openid
code sting Y 验证码
返回值
{
    "code": 200,
    "data": {
        "member_id": "112968",
        "member_name": "15196638218",
        "member_mobile":"15196638218",
        "token": "token"
    }
}

{
    "code": 201,
    "error":"openid不能为空" 或者 "获取openid失败" 或者 "手机号已经绑定过" 或者 "绑定失败请重试!" 或者 "验证码错误"
}
最后修改者: root  2017-05-22 11:03:20 

店主-扫码收货

编号  :  k-33

POST - mobile/index.php?act=member_center&op=receive
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 0399702ccd7ddbeb8002da1ce07188a7
order_sn string Y 1892
返回值
"code": 200,
  "order_sn": "149438297589",
  "e_name": "顺丰",
  "fetch_code": null,
  "member_mobile": "18981850204",
  "fetch_time": null,
  "dlyp_address": "我的地址接口调试"
"storage_con": "3",
最后修改者: root  2017-05-12 14:45:15 

通知橙汁机榨汁

编号  :  20

POST - erp/index.php?act=juicing_machine&op=getOrangeJuiceNow
请求参数
参数名 参数类型 必传 缺省值 描述
imei string Y 要榨汁的终端设备标识
cmd string Y 控制命令(具体命令参看手册)
order string Y 支付编号
failCups int Y 榨汁杯数(订单里的杯数)
返回值
{
  "code":201,
  "msg":"缺少订单及橙汁杯数参数" 或者 false
}

{
  "code":200,
  "msg":"true" 
}
最后修改者: root  2017-05-12 10:36:48 

充值列表

编号  :  19

POST - mobile/index.php?act=member_online_rcb&op=rcb_list
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 登录令牌
返回值
{
  "code": 200,
  "online_rcb_btm_msg": "充的多,送的多1",
  "online_rcb_top_msg": "充值9折优惠1",
  "rcb_list": [
    {
      "id": "7",
      "prime_cost": "10",
      "discount_price": "0.10"
    },
    {
      "id": "1",
      "prime_cost": "50",
      "discount_price": "35.00"
    },
    {
      "id": "2",
      "prime_cost": "100",
      "discount_price": "90.00"
    },
    {
      "id": "3",
      "prime_cost": "200",
      "discount_price": "180.00"
    },
    {
      "id": "4",
      "prime_cost": "300",
      "discount_price": "270.00"
    },
    {
      "id": "5",
      "prime_cost": "500",
      "discount_price": "450.00"
    }
  ]
}
最后修改者: root  2017-05-12 10:23:45 

预约发货

编号  :  18

POST - mobile/index.php?act=member_center&op=bespeak_order2
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 登录令牌
dlyp_id int Y 自提点ID
order_sn string Y 订单编号149455299277,149447350078
storage_con int Y 存储状态 1冷藏,2冷冻, 3常温'
返回值
{
  "code": 200,
  "msg": "预约成功"
}
最后修改者: root  2017-05-11 18:09:32 

店主任务上传图片

编号  :  17

POST - /mobile/index.php?act=member_index&op=task_upload
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 登录令牌
task_id int Y 任务ID
pic file Y 图片文件
最后修改者: root  2017-05-26 16:50:55 

订单详情

编号  :  k-22

POST - mobile/index.php?act=member_order&op=order_detail
订单详情+物流跟踪
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y
order_sn stirng Y
返回值
{
  "code": 200,
  "order_detail": {
    "order_id": "2296",
    "order_state": "20",
    "order_state_name": "已到站",
    "order_sn": "5",
    "buyer_name": "哈哈哈",
    "buyer_mobile": "13611115555",
    "dlyp_id": "24",
    "dlyp_address": "四川省绵阳市科创园区自提点1",
    "source_type": "3",
    "dlyp_name": "科创园区fff自提点1",
    "dlyp_mobile": "13677777777",
    "e_name": "CCES",
    "member_name": "hhhhhh",
    "member_mobile": "13655558888"
  },
  "delivery_info": [
    {
      "log_id": "3523",
      "order_sn": "5",
      "delivery_number": null,
      "log_msg": "配送员hhhhhh,电话:13655558888预约存货至四川省绵阳市科创园区自提点1-13677777777.存货条件:常温",
      "add_time": "1495783569",
      "logistics_state": "0",
      "mark": "0"
    },
    {
      "log_id": "3524",
      "order_sn": "5",
      "delivery_number": null,
      "log_msg": "",
      "add_time": "1495783600",
      "logistics_state": "0",
      "mark": "0"
    }
  ]
}
备注
key:28cd3c114a24f02b1e790c70f0a00664
order_id:1892
最后修改者: root  2017-05-19 15:05:11 

店主贴海报任务

编号  :  16

POST - /mobile/index.php?act=member_index&op=member_task
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 登录令牌
page int Y 每页条数
返回值
{
  "code": 200,
  "hasmore": true,
  "page_total": "10",
  "today_task": [
      {
      "task_id": "133",
      "task_state_desc": "未上传",
      "task_state": "2",
      "excute_income": "5.00"
    },
  ],
  "task_list": [
    {
      "task_id": "134",
      "task_state_desc": "未开始",
      "task_state": "1",
      "excute_income": "5.00"
    },
    {
      "task_id": "135",
      "task_state_desc": "未开始",
      "task_state": "1",
      "excute_income": "5.00"
    },
    {
      "task_id": "136",
      "task_state_desc": "未开始",
      "task_state": "1",
      "excute_income": "5.00"
    },
    {
      "task_id": "137",
      "task_state_desc": "未开始",
      "task_state": "1",
      "excute_income": "5.00"
    }
  ]
}
最后修改者: root  2017-05-11 18:08:40 

配送标准

编号  :  k_11

POST - mobile/index.php?act=member_center&op=chargeStandard
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y
返回值
{
  "0": {
    "item_id": "135",
    "cash_id": "55",
    "pattern": "1",
    "size": "3",
    "price": "3.00",
    "platform_commission": "0.10",
    "store_commission": "0.90",
    "add_time": "1493271575"
  },
  "1": {
    "item_id": "136",
    "cash_id": "55",
    "pattern": "2",
    "size": "3",
    "price": "2.00",
    "platform_commission": "0.20",
    "store_commission": "0.80",
    "add_time": "1493271575"
  },
  "2": {
    "item_id": "137",
    "cash_id": "55",
    "pattern": "3",
    "size": "3",
    "price": "3.00",
    "platform_commission": "0.30",
    "store_commission": "0.70",
    "add_time": "1493271575"
  },
  "3": {
    "item_id": "138",
    "cash_id": "55",
    "pattern": "4",
    "size": "3",
    "price": "4.00",
    "platform_commission": "0.40",
    "store_commission": "0.60",
    "add_time": "1493271575"
  },
  "code": 200
}
备注
key:28cd3c114a24f02b1e790c70f0a00664
最后修改者: root  2017-05-21 14:34:24 

订单统计

编号  :  15

POST - mobile/index.php?act=member_index&op=statistics_order
适用店主 配送员 默认返回7天数据
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 登录令牌
start_time int N 开始时间(时间戳 秒)
end_time int N 结束时间
statistics_time string N all_month:全部 this_month:当月 last_month:上一个月
返回值
{
  "code": 200,
  "hasmore": false,
  "page_total": 1,
  "statistics_order_num": "3",
  "statistics_order_list": [
    {
      "date_time": "2017-05-10",
      "order_num": "2"
    },
    {
      "date_time": "2017-05-08",
      "order_num": "1"
    }
  ]
}
最后修改者: root  2017-05-11 16:08:24 

店主提现列表

编号  :  14

POST - mobile/index.php?act=member_index&op=cash_apply_list
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 登录令牌
返回值
{
  "code": 200,
  "hasmore": false,
  "page_total": 1,
  "data": [
    {
      "cash_amount": "50.00",
      "cash_apply_id": "2",
      "add_time": "2017-05-11 15:50:22",
      "cash_state_name": "正在审核"
    }
  ]
}
最后修改者: root  2017-05-11 15:50:45 

店主提现

编号  :  13

POST - mobile/index.php?act=member_index&op=cash_apply
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 登录令牌
payee_account string Y 银行账号
cash_amount int Y 提现金额
bank_id int Y 选择银行ID
返回值
{
  "code": 200,
  "msg": "申请成功请等待审核!"
}
最后修改者: root  2017-05-11 16:00:26 

店主提现申请页面

编号  :  12

POST - /mobile/index.php?act=member_index&op=cash_apply_index
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 登录令牌
返回值
{
  "code": 200,
  "predeposit": "100.00",
  "cash_frequency": "2",
  "bank_list": [
    {
      "id": "5",
      "b_name": "123"
    },
    {
      "id": "6",
      "b_name": "支付宝"
    },
    {
      "id": "7",
      "b_name": "微信"
    },
    {
      "id": "8",
      "b_name": "翼支付"
    },
    {
      "id": "9",
      "b_name": "中国银行"
    },
    {
      "id": "10",
      "b_name": "中国工商银行"
    },
    {
      "id": "11",
      "b_name": "中国农业银行"
    },
    {
      "id": "12",
      "b_name": "中国建设银行"
    },
    {
      "id": "13",
      "b_name": "222"
    }
  ],
   "member_apply_info": {
    "payee_blank_id": "3",
    "payee_account": "18280335990"
  }
}
最后修改者: root  2017-05-11 15:40:48 

用户余额明细

编号  :  11

POST - /mobile/index.php?act=member_index&op=balance_detail
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 登录令牌
返回值
{
  "code": 200,
  "hasmore": false,
  "page_total": 1,
  "predeposit": "100.00",
  "predeposit_log": [
    {
      "description": "充值余额",
      "available_amount": "100.00",
      "add_time": "2017-05-11 15:34:39"
    }
  ]
}
最后修改者: root  2017-05-25 14:09:21 

拒收快递(申请退回--按钮)-用户拒收

编号  :  10

POST - mobile/index.php?act=member_delivery&op=refuse
请求参数
参数名 参数类型 必传 缺省值 描述
order_sn int Y 订单号
返回值
{
  "code": 200,
  "msg": 1
}
最后修改者: root  2017-05-26 14:32:44 

快递列表

编号  :  33

POST - mobile/index.php?act=member_delivery&op=delivery_list
请求参数
参数名 参数类型 必传 缺省值 描述
receive_mobile string Y 15184373398|15184373398(收货手机号以|分隔)
type int Y 0 0 所有 20 待收快递 30 已取快递
返回值
{
  "code": 200,
  "delivery_list": [
    {
      "order_id": "1920",
      "source_id": "40",
      "source_name": "圆通快递",
      "order_state": "20",
      "fetch_code": null,
      "order_sn": "1234567893",
      "save_time": null,
      "address": "大源25号院",
      "shipping_code": "1234567893"
    },
    {
      "order_id": "1919",
      "source_id": "40",
      "source_name": "圆通快递",
      "order_state": "10",
      "fetch_code": null,
      "order_sn": "1234567893",
      "save_time": null,
      "address": "大源25号院",
      "shipping_code": "1234567893"
    },
    {
      "order_id": "1918",
      "source_id": "40",
      "source_name": "圆通快递",
      "order_state": "10",
      "fetch_code": null,
      "order_sn": "1234567893",
      "save_time": null,
      "address": "大源25号院",
      "shipping_code": "1234567893"
    }
  ]
}
备注
order_state 订单状态(10-预约订单/订单导入,20-已到站(验证收货)/存柜,30-已取货,40-取消预约,50-待回收,60-已回收)',
最后修改者: root  2017-05-18 16:09:23 

自提点收藏列表

编号  :  9

POST - /mobile/index.php?act=member_index&op=member_favorites_list
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 登录令牌
city_id int Y 城市ID
container_name string N 站点名称
返回值
{
  "code": 200,
  "favorites_list": [  //收藏列表
    {
      "dlyp_id": "6",
      "dlyp_name": "自提站3"
    }
  ],
  "delivery_list": [ //自提点列表
    {
      "area_id": 45063,
      "area_name": "科创园区",
      "_child": [
        {
          "dlyp_id": "4",
          "dlyp_name": "admin",
          "is_favorites": 0   //是否收藏
        }
      ]
    },
    {
      "area_id": "",
      "area_name": null,
      "_child": [
        {
          "dlyp_id": "5",
          "dlyp_name": "自提点2",
          "is_favorites": 0
        },
        {
          "dlyp_id": "8",
          "dlyp_name": "测试地址1",
          "is_favorites": 0
        }
      ]
    },
    {
      "area_id": 4259,
      "area_name": "游仙区",
      "_child": [
        {
          "dlyp_id": "6",
          "dlyp_name": "自提站3",
          "is_favorites": 1
        }
      ]
    },
    {
      "area_id": 4258,
      "area_name": "涪城区",
      "_child": [
        {
          "dlyp_id": "7",
          "dlyp_name": "自提点4",
          "is_favorites": 0
        }
      ]
    },
    {
      "area_id": 4210,
      "area_name": "大邑县",
      "_child": [
        {
          "dlyp_id": "9",
          "dlyp_name": "1chenshi",
          "is_favorites": 0
        },
        {
          "dlyp_id": "14",
          "dlyp_name": "接口调试自提点",
          "is_favorites": 0
        }
      ]
    },
    {
      "area_id": 4209,
      "area_name": "双流县",
      "_child": [
        {
          "dlyp_id": "10",
          "dlyp_name": "香榭国际",
          "is_favorites": 0
        },
        {
          "dlyp_id": "11",
          "dlyp_name": "5555",
          "is_favorites": 0
        }
      ]
    },
    {
      "area_id": 4226,
      "area_name": "青羊区",
      "_child": [
        {
          "dlyp_id": "12",
          "dlyp_name": "小强测试物流自提点",
          "is_favorites": 0
        }
      ]
    },
    {
      "area_id": 4216,
      "area_name": "武侯区",
      "_child": [
        {
          "dlyp_id": "13",
          "dlyp_name": "大源25号院",
          "is_favorites": 0
        }
      ]
    }
  ]
}
最后修改者: root  2017-05-11 10:29:18 

用户自提服务站收藏(取消收藏)

编号  :  8

POST - mobile/index.php?act=member_index&op=member_change_favorites
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 登录令牌
dlyp_id int Y 自提点ID
返回值
{
  "code": 200,
  "msg": "成功"
}
最后修改者: root  2017-05-11 10:14:58 

app首页

编号  :  7

POST - mobile/index.php?act=member_index&op=index
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 登录令牌
返回值
{
  "code": 200,
  "member_e_name": "店主--18280335990",   //标题
  "predeposit": "0.00",     //余额
  "member_type": "3",    //2-快递员,3-店主人员
  "distribution": 0,      //预约订单 待店主收货   待配送员配送
  "pickup": 0,   //待用户取货
  "reclaim": 0,  //待回收
  "statistics_order_list": [   //最近7天统计列表
    {
      "date_time": "2017-05-10",
      "order_num": "2"
    },
    {
      "date_time": "2017-05-08",
      "order_num": "1"
    }
  ]
}
最后修改者: root  2017-05-23 17:37:55 

订单列表

编号  :  5

POST - /mobile/index.php?act=member_order&op=order
`order_state` '订单状态(10-预约订单/订单导入<待收货><待配送>),20-已到站(验证收货<待取货>)/存柜,30-已取货,40-取消预约,50-待回收,60-已回收)',
请求参数
参数名 参数类型 必传 缺省值 描述
key int Y
page int Y 每页条数
keyword string N 搜索关键字
order_state string N (10,20) 订单状态
storage_con int N 冷藏
fetch_time_start int N 取货时间开始
bespeak_time_start int N 预约时间开始
save_time_start int N 收货时间开始
fetch_time_end int N 取货时间结束
bespeak_time_end int N 预约时间结束
save_time_end int N 收货时间结束
返回值
{
  "code": 200,
  "hasmore": true,
  "page_total": 2,
  "order_list": [
    {
      "order_id": "1893",
      "order_state": "10",
      "order_state_name": "已预约",
      "order_sn": "149439042390",
      "member_name": "吴学海",
      "member_mobile": "18981850204",
      "e_name": "圆通快递",
      "dlyp_id": "8",
      "dlyp_address": "四川省成都市高新区天府四街长虹科技大厦",
      "bespeak_time": "1494390434",
      "storage_con": "3"
    },
    {
      "order_id": "1894",
      "order_state": "40",
      "order_state_name": "取消预约",
      "order_sn": "149440050575",
      "member_name": "吴学海",
      "member_mobile": "18981850204",
      "e_name": "圆通快递",
      "dlyp_id": "14",
      "dlyp_address": "我的地址接口调试",
      "cancel_bespeak_time": null
    },
    {
      "order_id": "1895",
      "order_state": "40",
      "order_state_name": "取消预约",
      "order_sn": "149440118461",
      "member_name": "吴学海",
      "member_mobile": "18981850204",
      "e_name": "圆通快递",
      "dlyp_id": "13",
      "dlyp_address": "四川省成都市高新区天府四街",
      "cancel_bespeak_time": "1494590434"
    },
    {
      "order_id": "1918",
      "order_state": "10",
      "order_state_name": "已预约",
      "order_sn": "1234567893",
      "member_name": "吴学海",
      "member_mobile": "18981850204",
      "e_name": "圆通快递",
      "dlyp_id": "13",
      "dlyp_address": "四川省成都市高新区天府四街",
      "bespeak_time": "1495172005",
      "storage_con": "1"
    },
    {
      "order_id": "1919",
      "order_state": "10",
      "order_state_name": "已预约",
      "order_sn": "1234567893",
      "member_name": "吴学海",
      "member_mobile": "18981850204",
      "e_name": "圆通快递",
      "dlyp_id": "13",
      "dlyp_address": "四川省成都市高新区天府四街",
      "bespeak_time": "1495172037",
      "storage_con": "1"
    },
    {
      "order_id": "1920",
      "order_state": "20",
      "order_state_name": "已到站",
      "order_sn": "1234567893",
      "member_name": "吴学海",
      "member_mobile": "18981850204",
      "e_name": "圆通快递",
      "dlyp_id": "13",
      "dlyp_address": "四川省成都市高新区天府四街",
      "cancel_bespeak_time": null,
      "storage_con": "1",
      "buyer_name": null,
      "buyer_mobile": "",
      "save_time": null,
      "storage_num": null
    },
    {
      "order_id": "2058",
      "order_state": "30",
      "order_state_name": "已取货",
      "order_sn": "99999",
      "member_name": "吴学海",
      "member_mobile": "18981850204",
      "e_name": "圆通快递",
      "dlyp_id": "13",
      "dlyp_address": "四川省成都市高新区天府四街",
      "buyer_name": null,
      "buyer_mobile": null,
      "fetch_time": "0",
      "express_save_time": "1495468800"
    },
    {
      "order_id": "2059",
      "order_state": "40",
      "order_state_name": "取消预约",
      "order_sn": "999999",
      "member_name": "吴学海",
      "member_mobile": "18981850204",
      "e_name": "圆通快递",
      "dlyp_id": "13",
      "dlyp_address": "四川省成都市高新区天府四街",
      "cancel_bespeak_time": null
    },
    {
      "order_id": "2060",
      "order_state": "50",
      "order_state_name": "待回收",
      "order_sn": "8888",
      "member_name": "吴学海",
      "member_mobile": "18981850204",
      "e_name": "圆通快递",
      "dlyp_id": "13",
      "dlyp_address": "四川省成都市高新区天府四街",
      "buyer_name": null,
      "buyer_mobile": null,
      "storage_con": "1",
      "storage_num": null,
      "express_application_time": null
    },
    {
      "order_id": "2061",
      "order_state": "60",
      "order_state_name": "已回收",
      "order_sn": "7777",
      "member_name": "吴学海",
      "member_mobile": "18981850204",
      "e_name": "圆通快递",
      "dlyp_id": "13",
      "dlyp_address": "四川省成都市高新区天府四街",
      "buyer_name": null,
      "buyer_mobile": null,
      "express_save_time": "1495468800",
      "express_recovery_time": null
    }
  ]
}
最后修改者: root  2017-04-17 11:56:19 

修改登录密码

编号  :  4

POST - /mobile/index.php?act=member_center&op=editPwd
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 登陆后的key
old_password string Y 旧密码
password string Y 新密码
password_confirm string Y 确认新密码
最后修改者: root  2017-05-24 11:14:47 

登录

编号  :  3

POST - /mobile/index.php?act=member_login&op=login
请求参数
参数名 参数类型 必传 缺省值 描述
username string Y 手机号
password string Y 登录密码
member_type int Y 2(配送员)3(店主) 用户类型
返回值
{
  "code": 200,
  "member_id": "112778",
  "username": "吴学海",
  "member_mobile": "18981850204",
  "key": "df9cb8a29c565f901e883ddfcd9b5686"
  "member_type": "2"
"member_cityid": "2
}
最后修改者: root  2017-05-25 14:20:37 

注册-快递员

编号  :  2

POST - /mobile/index.php?act=member_login&op=register
请求参数
参数名 参数类型 必传 缺省值 描述
mobile string Y 手机号
username string Y 用户名
password string Y 密码
password_confirm string Y 确认密码
captcha string Y 短信验证码
member_provinceid string Y 省市省份Id
member_cityid string Y 省市城市id
member_areaid string Y 省市区域id
express_id int Y 快递公司id
返回值
{
  "code": 200,
  "username": "吴学海",
  "key": "46b8cc020e0dfec9df61d234ed8d82d0",
  "member_id": 112778,
  "member_mobile": "18981850204"
  "member_cityid": "2
  'member_type' :  2
}
最后修改者: root  2017-05-12 13:42:59 

验证码

编号  :  1

POST - /mobile/index.php?act=member_login&op=sendMobileCode
请求参数
参数名 参数类型 必传 缺省值 描述
mobile string Y 手机号
code_type string Y 1 验证码类型
send_type string N 发送方式 message短信
返回值
{
  "code": 200,
  "msg": "亲,验证码发送成功,请注意查收!"
}