💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
#### 列表 ~~~[api] get:/dealer/express/index/index *number:storesId#门店ID string:search#搜索关键词 number:p=1#当前页数 numbner:ps=20#分页大小 <<< success { "code": 1, "msg": "", "time": "2018-07-09 23:39:57", "data": [ { "id": 2, "stores_id": 1, "name": "圆通", "express_shipper_code": "YT", "sort": 0, "status": 1, "created_at": "2018-07-12 12:05:45", "updated_at": "2018-07-12 12:05:45", "status_text": "正常" } ], "_meta": { "totalCount": 1, "pageCount": 1, "currentPage": 1, "perPage": 20 } } ~~~ #### 详情 ~~~[api] get:/dealer/express/index/retrieve/id/:id <<< success { "code": 1, "msg": "", "time": "2018-07-14 14:37:14", "data": { "id": 1, "stores_id": 1, "name": "顺丰", "express_shipper_code": "SF", "sort": 0, "status": 1, "created_at": "2018-07-09 23:22:24", "updated_at": "2018-07-09 23:37:00", "price": [ { "id": 1, "express_id": 1, "province": "0", "pricing_manner": 1, "first": 1, "first_price": "20.00", "next": 1, "next_price": "5.00", "is_default": 1, "status": 1, "created_at": "2016-01-01 00:00:00", "updated_at": "2016-01-01 00:00:00", "status_text": "正常" } ], "status_text": "正常" } } ~~~ #### 创建 ~~~[api] post:/dealer/express/index/create *number:stores_id#门店ID *string:name#名称 *string:express_shipper_code#快递公司编码 number:sort=0#排序 number:is_default=0#是否默认 number:status=1#状态,0=>禁用,1=>启用 <<< success { "code": 1, "msg": "", "time": "2018-07-17 10:38:27", "data": { "stores_id": "1", "name": "韵达", "express_shipper_code": "YD", "dealer_id": 1, "created_at": "2018-07-17 10:38:27", "updated_at": "2018-07-17 10:38:27", "id": "4", "status_text": null } } ~~~ #### 更新 ~~~[api] post:/dealer/express/index/update/id/:id string:name#名称 string:express_shipper_code#快递公司编码 number:sort=0#排序 number:is_default=0#是否默认 number:status=1#状态,0=>禁用,1=>启用 <<< success { "code": 1, "msg": "success", "time": "2018-07-09 23:22:24", "data": [] } ~~~ #### 删除 ~~~[api] post:/dealer/express/index/delete/id/:id <<< success { "code": 1, "msg": "success", "time": "2018-07-09 23:36:59", "data": [] } ~~~ #### 创建价格 ~~~[api] post:/dealer/express/index/priceCreate *number:express_id#快递ID *number:province#省份 *number:pricing_manner#计价方式,0=>按件,1=>按重量 *number:first#首件件数(首重重量) *float:first_price#首件价格(首重价格) *number:next#续件件数(续重重量) *float:next_price#续件价格(续重数量) number:is_default=0#是否默认 number:status=1#状态,0=>禁用,1=>启用 <<< success { "code": 1, "msg": "success", "time": "2018-07-09 23:22:24", "data": [] } ~~~ #### 更新价格 ~~~[api] post:/dealer/express/index/priceUpdate/id/:id number:province#省份 number:pricing_manner#计价方式,0=>按件,1=>按重量 number:first#首件件数(首重重量) float:first_price#首件价格(首重价格) number:next#续件件数(续重重量) float:next_price#续件价格(续重数量) number:is_default=0#是否默认 number:status=1#状态,0=>禁用,1=>启用 <<< success { "code": 1, "msg": "success", "time": "2018-07-09 23:22:24", "data": [] } ~~~ #### 删除价格 ~~~[api] post:/dealer/express/index/priceDelete/id/:id <<< success { "code": 1, "msg": "success", "time": "2018-07-09 23:36:59", "data": [] } ~~~