| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341 |
- define({ "api": [
- {
- "type": "post",
- "url": "/login",
- "title": "登录接口",
- "name": "login",
- "group": "User",
- "parameter": {
- "fields": {
- "Parameter": [
- {
- "group": "Parameter",
- "type": "string",
- "optional": false,
- "field": "username",
- "description": "<p>用户名</p>"
- },
- {
- "group": "Parameter",
- "type": "string",
- "optional": false,
- "field": "password",
- "description": "<p>用户密码,需要base64加密</p>"
- }
- ]
- }
- },
- "success": {
- "fields": {
- "Success 200": [
- {
- "group": "Success 200",
- "type": "string",
- "optional": false,
- "field": "message",
- "description": "<p>响应描述</p>"
- },
- {
- "group": "Success 200",
- "type": "int",
- "optional": false,
- "field": "status_code",
- "description": "<p>HTTP响应码</p>"
- },
- {
- "group": "Success 200",
- "type": "string",
- "optional": false,
- "field": "data.token",
- "description": "<p>认证token</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "data.menu",
- "description": "<p>菜单JSON</p>"
- }
- ]
- },
- "examples": [
- {
- "title": "Success-Response:",
- "content": "HTTP/1.1 200 OK\n{\n \"message\": \"请求成功\",\n \"status_code\": \"200\"\n \"data\":{\n \"toke\":\"token\",\n \"menu\":\"{}\",\n }\n}",
- "type": "json"
- }
- ]
- },
- "version": "0.0.0",
- "filename": "app/Http/ApiControllers/LoginController.php",
- "groupTitle": "User",
- "sampleRequest": [
- {
- "url": "https://was.baoshi56.com/api/v1/login"
- }
- ]
- },
- {
- "type": "post",
- "url": "/waybill/dispatch/dailyBilling",
- "title": "修改每日专线费",
- "name": "dailyBilling",
- "group": "Waybill",
- "parameter": {
- "fields": {
- "Parameter": [
- {
- "group": "Parameter",
- "type": "string",
- "optional": false,
- "field": "deliver_at",
- "description": "<p>发货时间</p>"
- },
- {
- "group": "Parameter",
- "type": "number",
- "optional": false,
- "field": "fee",
- "description": "<p>费用</p>"
- }
- ]
- }
- },
- "success": {
- "fields": {
- "Success 200": [
- {
- "group": "Success 200",
- "type": "string",
- "optional": false,
- "field": "message",
- "description": "<p>响应描述</p>"
- },
- {
- "group": "Success 200",
- "type": "int",
- "optional": false,
- "field": "status_code",
- "description": "<p>HTTP响应码</p>"
- },
- {
- "group": "Success 200",
- "type": "bool",
- "optional": false,
- "field": "data",
- "description": "<p>结果</p>"
- }
- ]
- },
- "examples": [
- {
- "title": "Success-Response:",
- "content": "HTTP/1.1 200 OK\n{\n \"message\": \"请求成功\",\n \"status_code\": \"200\"\n \"data\":true\n}",
- "type": "json"
- }
- ]
- },
- "version": "0.0.0",
- "filename": "app/Http/ApiControllers/WaybillController.php",
- "groupTitle": "Waybill",
- "sampleRequest": [
- {
- "url": "https://was.baoshi56.com/api/v1/waybill/dispatch/dailyBilling"
- }
- ]
- },
- {
- "type": "get",
- "url": "/waybill/dispatch",
- "title": "获取调度数据",
- "name": "dispatch",
- "group": "Waybill",
- "parameter": {
- "fields": {
- "Parameter": [
- {
- "group": "Parameter",
- "type": "string",
- "optional": false,
- "field": "search",
- "description": "<p>搜索文本(运单号或物流单号)</p>"
- },
- {
- "group": "Parameter",
- "type": "string",
- "optional": false,
- "field": "deliver_at",
- "description": "<p>发货时间</p>"
- },
- {
- "group": "Parameter",
- "type": "int",
- "optional": false,
- "field": "page",
- "description": "<p>页数</p>"
- },
- {
- "group": "Parameter",
- "type": "int",
- "optional": false,
- "field": "paginate",
- "description": "<p>每页多少</p>"
- }
- ]
- }
- },
- "success": {
- "fields": {
- "Success 200": [
- {
- "group": "Success 200",
- "type": "string",
- "optional": false,
- "field": "message",
- "description": "<p>响应描述</p>"
- },
- {
- "group": "Success 200",
- "type": "int",
- "optional": false,
- "field": "status_code",
- "description": "<p>HTTP响应码</p>"
- },
- {
- "group": "Success 200",
- "type": "array",
- "optional": false,
- "field": "data",
- "description": "<p>数据列表</p>"
- }
- ]
- },
- "examples": [
- {
- "title": "Success-Response:",
- "content": "HTTP/1.1 200 OK\n{\n \"message\": \"请求成功\",\n \"status_code\": \"200\"\n \"data\":[\n {\n \"waybill_number\"=>\"宝时单号\",\n \"destination\" =>\"目的地\",\n \"recipient\" =>\"收件人\",\n \"recipient_mobile\"=>\"收件人电话\",\n \"carrier_bill\"=>\"承运商单号\",\n \"carrier_name\"=>\"承运商\",\n \"warehouse_weight\"=>\"预估体积\",\n \"carrier_weight\"=>\"实际体积\",\n \"inquire_tel\"=>\"查件电话\",\n \"warehouse_weight_other\"=>\"预估重量\",\n \"carrier_weight_other\"=>\"实际重量\",\n \"amount\"=>\"数量\",\n \"amount_unit_name\"=>\"数量单位\",\n \"origination\"=>\"提货仓\"\n \"subjoin_fee\"=>\"附加费\"\n }\n ]\n}",
- "type": "json"
- }
- ]
- },
- "version": "0.0.0",
- "filename": "app/Http/ApiControllers/WaybillController.php",
- "groupTitle": "Waybill",
- "sampleRequest": [
- {
- "url": "https://was.baoshi56.com/api/v1/waybill/dispatch"
- }
- ]
- },
- {
- "type": "post",
- "url": "/waybill/dispatch",
- "title": "修改调度信息",
- "name": "updateDispatch",
- "group": "Waybill",
- "parameter": {
- "fields": {
- "Parameter": [
- {
- "group": "Parameter",
- "type": "int",
- "optional": false,
- "field": "id",
- "description": "<p>唯一码</p>"
- },
- {
- "group": "Parameter",
- "type": "string",
- "optional": false,
- "field": "carrier_bill",
- "description": "<p>物流单号</p>"
- },
- {
- "group": "Parameter",
- "type": "string",
- "optional": false,
- "field": "inquire_tel",
- "description": "<p>查件电话</p>"
- },
- {
- "group": "Parameter",
- "type": "int",
- "optional": false,
- "field": "amount",
- "description": "<p>货品数量</p>"
- },
- {
- "group": "Parameter",
- "type": "string",
- "optional": false,
- "field": "amount_unit_name",
- "description": "<p>数量单位(件/托)</p>"
- },
- {
- "group": "Parameter",
- "type": "number",
- "optional": false,
- "field": "carrier_weight_other",
- "description": "<p>重量/KG</p>"
- },
- {
- "group": "Parameter",
- "type": "number",
- "optional": false,
- "field": "carrier_weight",
- "description": "<p>体积/M³</p>"
- },
- {
- "group": "Parameter",
- "type": "string",
- "optional": false,
- "field": "subjoin_fee",
- "description": "<p>附加费描述</p>"
- }
- ]
- }
- },
- "success": {
- "fields": {
- "Success 200": [
- {
- "group": "Success 200",
- "type": "string",
- "optional": false,
- "field": "message",
- "description": "<p>响应描述</p>"
- },
- {
- "group": "Success 200",
- "type": "int",
- "optional": false,
- "field": "status_code",
- "description": "<p>HTTP响应码</p>"
- },
- {
- "group": "Success 200",
- "type": "bool",
- "optional": false,
- "field": "data",
- "description": "<p>结果</p>"
- }
- ]
- },
- "examples": [
- {
- "title": "Success-Response:",
- "content": "HTTP/1.1 200 OK\n{\n \"message\": \"请求成功\",\n \"status_code\": \"200\"\n \"data\":true\n}",
- "type": "json"
- }
- ]
- },
- "version": "0.0.0",
- "filename": "app/Http/ApiControllers/WaybillController.php",
- "groupTitle": "Waybill",
- "sampleRequest": [
- {
- "url": "https://was.baoshi56.com/api/v1/waybill/dispatch"
- }
- ]
- }
- ] });
|