From e9e7fb542a672bd2489b038f5bce882e2e72fb0b Mon Sep 17 00:00:00 2001 From: "liangjinman@qniao.cn" Date: Thu, 29 Oct 2020 09:41:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=BA=B8=E5=8E=82=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E3=80=81postman=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...云印测试环境.postman_collection.json | 1617 +++++++++++++++-- ...通宝测试环境.postman_collection.json | 1339 +++++++++++++- 2 files changed, 2752 insertions(+), 204 deletions(-) diff --git a/postman/云印测试环境.postman_collection.json b/postman/云印测试环境.postman_collection.json index fa28c96..6c54725 100644 --- a/postman/云印测试环境.postman_collection.json +++ b/postman/云印测试环境.postman_collection.json @@ -1212,7 +1212,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"id\":504716139750887424,\r\n \"status\": 0,\r\n \"userName\": \"小弟\"\r\n}" + "raw": "{\r\n \"id\":504716139750887424,\r\n \"position\": \"ADMINISTRATOR\",\r\n \"status\": 0,\r\n \"userName\": \"小弟\"\r\n}" }, "url": { "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-user-center/employees/update", @@ -2707,7 +2707,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"customerContactsId\": \"\",\r\n \"customerContactsMobile\": \"18219557422\",\r\n \"customerContactsName\": \"大哥\",\r\n \"customerEnterpriseId\": \"\",\r\n \"customerEnterpriseName\": \"\",\r\n \"deliveryCityId\": \"440100\",\r\n \"deliveryCityName\": \"市\",\r\n \"deliveryDetails\": \"车陂街道联合社区\",\r\n \"deliveryDistrictId\": \"440106\",\r\n \"deliveryDistrictName\": \"区\",\r\n \"deliveryMethod\": \"送货\",\r\n \"deliveryProvinceId\": \"440000\",\r\n \"deliveryProvinceName\": \"省\",\r\n \"id\": \"\",\r\n \"merchandiser\": \"\",\r\n \"packingMethond\": \"打包\",\r\n \"paymentMethod\": \"\",\r\n \"purchasingOrderItems\": [\r\n {\r\n \"createTime\": \"\",\r\n \"deliveryDate\": \"2020-09-22\",\r\n \"imgUrlList\": [\r\n \"\"\r\n ],\r\n \"materialsRequirement\": \"材质要求\",\r\n \"offerPrice\": \"100\",\r\n \"productId\": \"\",\r\n \"productName\": \"产品名称\",\r\n \"quantity\": 99,\r\n \"remark\": \"备注\",\r\n \"status\": \"\",\r\n \"trimmedSize\": \"规格\",\r\n \"unit\": \"单位\",\r\n \"unitPrice\": 9.9\r\n }\r\n ],\r\n \"remark\": \"备注\",\r\n \"supplierContactsId\": \"\",\r\n \"supplierContactsMobile\": \"13800138000\",\r\n \"supplierContactsName\": \"2\",\r\n \"supplierEnterpriseId\": \"504363963916619776\",\r\n \"supplierEnterpriseName\": \"2企业\",\r\n \"totalOfferPrice\": \"\",\r\n \"totalSettlementPrice\": \"\"\r\n}" + "raw": "{\r\n \"customerContactsId\": \"\",\r\n \"customerContactsMobile\": \"18219557422\",\r\n \"customerContactsName\": \"大哥\",\r\n \"customerEnterpriseId\": \"\",\r\n \"customerEnterpriseName\": \"\",\r\n \"deliveryCityId\": \"440100\",\r\n \"deliveryCityName\": \"市\",\r\n \"deliveryDetails\": \"车陂街道联合社区\",\r\n \"deliveryDistrictId\": \"440106\",\r\n \"deliveryDistrictName\": \"区\",\r\n \"deliveryMethod\": \"送货\",\r\n \"deliveryProvinceId\": \"440000\",\r\n \"deliveryProvinceName\": \"省\",\r\n \"id\": \"\",\r\n \"merchandiser\": \"\",\r\n \"packingMethond\": \"打包\",\r\n \"paymentMethod\": \"\",\r\n \"productId\": 512987713293651968,\r\n \"purchasingOrderItems\": [\r\n {\r\n \"createTime\": \"\",\r\n \"deliveryDate\": \"2020-10-12\",\r\n \"imgUrlList\": [\r\n \"\"\r\n ],\r\n \"materialsRequirement\": \"材质要求\",\r\n \"offerPrice\": \"100\",\r\n \"productId\": \"\",\r\n \"productName\": \"产品名称\",\r\n \"quantity\": 99,\r\n \"remark\": \"备注\",\r\n \"status\": \"\",\r\n \"trimmedSize\": \"规格\",\r\n \"unit\": \"单位\",\r\n \"unitPrice\": 9.9\r\n }\r\n ],\r\n \"remark\": \"备注\",\r\n \"supplierContactsId\": \"\",\r\n \"supplierContactsMobile\": \"13800138000\",\r\n \"supplierContactsName\": \"2\",\r\n \"supplierEnterpriseId\": 504715565580029952,\r\n \"supplierEnterpriseName\": \"大哥企业\",\r\n \"totalOfferPrice\": \"\",\r\n \"totalSettlementPrice\": \"\",\r\n \"type\": 1\r\n}" }, "url": { "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/save/purchasing-order/as-customer", @@ -2890,10 +2890,10 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"name\": \"string\"\r\n}" + "raw": "" }, "url": { - "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/my-enterprise/purchasing-order/505801288362102784", + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/my-enterprise/purchasing-order/513059209672265728", "protocol": "http", "host": [ "api-cloudprint-dev", @@ -2905,48 +2905,39 @@ "get", "my-enterprise", "purchasing-order", - "505801288362102784" + "513059209672265728" ] } }, "response": [] - } - ], - "protocolProfileBehavior": {} - }, - { - "name": "跟单王_产品管理", - "item": [ + }, { - "name": "获取企业产品详情", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, + "name": "供应商确认发货", "request": { - "method": "GET", + "method": "POST", "header": [ { "key": "Content-Type", - "value": "application/json;charset=UTF-8", - "type": "text" + "type": "text", + "value": "application/json;charset=UTF-8" }, { "key": "X-APP-ID", - "value": "1", - "type": "text" + "type": "text", + "value": "1" }, { "key": "Authorization", - "value": "{{gdwtoken}}", - "type": "text" + "type": "text", + "value": "{{gdwtoken}}" } ], "body": { "mode": "raw", - "raw": "" + "raw": "{\r\n \"id\": 0\r\n}" }, "url": { - "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/enterprise-product/details?productId=505897269665599489", + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/confirm/purchasing-order/delivered", "protocol": "http", "host": [ "api-cloudprint-dev", @@ -2955,27 +2946,18 @@ ], "path": [ "cloud-print-cloud-factory", - "get", - "enterprise-product", - "details" - ], - "query": [ - { - "key": "productId", - "value": "505897269665599489" - } + "confirm", + "purchasing-order", + "delivered" ] } }, "response": [] }, { - "name": "获取企业所有产品分页列表", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, + "name": "客户确认收货", "request": { - "method": "GET", + "method": "POST", "header": [ { "key": "Content-Type", @@ -2995,10 +2977,10 @@ ], "body": { "mode": "raw", - "raw": "" + "raw": "{\r\n \"id\": 0\r\n}" }, "url": { - "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/enterprise-product/page", + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/confirm/purchasing-order/received", "protocol": "http", "host": [ "api-cloudprint-dev", @@ -3007,24 +2989,21 @@ ], "path": [ "cloud-print-cloud-factory", - "get", - "enterprise-product", - "page" + "confirm", + "purchasing-order", + "received" ] } }, "response": [] - } - ], - "protocolProfileBehavior": {} - }, - { - "name": "跟单王_工序流程设计", - "item": [ + }, { - "name": "提交工序流程设计", + "name": "小程序采购订单列表", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, "request": { - "method": "POST", + "method": "GET", "header": [ { "key": "Content-Type", @@ -3039,15 +3018,15 @@ { "key": "Authorization", "type": "text", - "value": "{{gdwtoken}}" + "value": "{{minitoken}}" } ], "body": { "mode": "raw", - "raw": "{\r\n \"id\": \"\",\r\n \"parentId\": 0,\r\n \"processNodeList\": [\r\n {\r\n \"id\": \"\",\r\n \"nodeTypeId\": 504704965521051648,\r\n \"nodeTypeName\": \"UV\",\r\n \"nodeUnit\": \"个\", \r\n \"processId\": 504437514996682752,\r\n \"productId\": 505897269665599489,\r\n \"serialNumber\": 1,\r\n \"remark\": \"备注\",\r\n \"status\": \"\",\r\n \"totalQuantity\": 100,\r\n \"wipName\": \"物料\",\r\n \"wipSize\": \"规格\"\r\n }\r\n ],\r\n \"productId\": 505897269665599489\r\n}" + "raw": "" }, "url": { - "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/submit/process-flow-design", + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/mini/purchasing-order-list/by-customer", "protocol": "http", "host": [ "api-cloudprint-dev", @@ -3056,15 +3035,17 @@ ], "path": [ "cloud-print-cloud-factory", - "submit", - "process-flow-design" + "get", + "mini", + "purchasing-order-list", + "by-customer" ] } }, "response": [] }, { - "name": "获取产品工序流程设计", + "name": "小程序供货订单列表", "protocolProfileBehavior": { "disableBodyPruning": true }, @@ -3073,18 +3054,18 @@ "header": [ { "key": "Content-Type", - "value": "application/json;charset=UTF-8", - "type": "text" + "type": "text", + "value": "application/json;charset=UTF-8" }, { "key": "X-APP-ID", - "value": "1", - "type": "text" + "type": "text", + "value": "1" }, { "key": "Authorization", - "value": "{{gdwtoken}}", - "type": "text" + "type": "text", + "value": "{{minitoken}}" } ], "body": { @@ -3092,7 +3073,7 @@ "raw": "" }, "url": { - "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/product/process-flow-design?productId=505897269665599489", + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/mini/purchasing-order-list/by-supplier", "protocol": "http", "host": [ "api-cloudprint-dev", @@ -3102,22 +3083,16 @@ "path": [ "cloud-print-cloud-factory", "get", - "product", - "process-flow-design" - ], - "query": [ - { - "key": "productId", - "value": "505897269665599489", - "description": "产品标识" - } + "mini", + "purchasing-order-list", + "by-supplier" ] } }, "response": [] }, { - "name": "获取流程节点详情;暂时不用", + "name": "终止订单", "request": { "method": "POST", "header": [ @@ -3139,10 +3114,10 @@ ], "body": { "mode": "raw", - "raw": "" + "raw": "{\r\n \"id\": 0\r\n}" }, "url": { - "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/process-node/details?processNodeId=506094609705865217", + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/cancel/purchasing-order", "protocol": "http", "host": [ "api-cloudprint-dev", @@ -3151,16 +3126,8 @@ ], "path": [ "cloud-print-cloud-factory", - "get", - "process-node", - "details" - ], - "query": [ - { - "key": "processNodeId", - "value": "506094609705865217", - "description": "流程节点标识" - } + "cancel", + "purchasing-order" ] } }, @@ -3170,35 +3137,38 @@ "protocolProfileBehavior": {} }, { - "name": "跟单王_产品拆分订单", + "name": "跟单王_产品管理", "item": [ { - "name": "保存生产单", + "name": "获取企业所有产品分页列表", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, "request": { - "method": "POST", + "method": "GET", "header": [ { "key": "Content-Type", - "value": "application/json;charset=UTF-8", - "type": "text" + "type": "text", + "value": "application/json;charset=UTF-8" }, { "key": "X-APP-ID", - "value": "1", - "type": "text" + "type": "text", + "value": "1" }, { "key": "Authorization", - "value": "{{gdwtoken}}", - "type": "text" + "type": "text", + "value": "{{gdwtoken}}" } ], "body": { "mode": "raw", - "raw": "{\r\n \"createManufactureOrderDtoList\": [\r\n {\r\n \"completedQuantity\": \"\",\r\n \"factoryId\": 504729194060713984,\r\n \"factoryName\": \"千鸟1工厂\",\r\n \"finishDate\": \"2020-09-23\",\r\n \"id\": \"\",\r\n \"machineId\": 505051965659680768,\r\n \"machineName\": \"千鸟1号机\",\r\n \"nextNodeId\": \"\",\r\n \"nodeTypeId\": 504704929756221440,\r\n \"nodeTypeName\": \"哑膜\",\r\n \"nodeUnit\": \"只\",\r\n \"parentId\": \"\",\r\n \"priorNodeId\": \"\",\r\n \"processFlowId\": 506094609705865216,\r\n \"processId\": 504437462521745408,\r\n \"processNodeId\": 506094609705865217,\r\n \"productId\": 505897269665599489,\r\n \"serialNumber\": 1,\r\n \"status\": \"\",\r\n \"totalQuantity\": 9999,\r\n \"wipName\": \"物料\",\r\n \"wipSize\": \"规格\"\r\n }\r\n ],\r\n \"processFlowId\": 506094609705865216,\r\n \"productId\": 505897269665599489,\r\n \"productName\": \"产品名称\"\r\n}\r\n" + "raw": "" }, "url": { - "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/save/manufacture-order/self-produce", + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/enterprise-product/page", "protocol": "http", "host": [ "api-cloudprint-dev", @@ -3207,41 +3177,44 @@ ], "path": [ "cloud-print-cloud-factory", - "save", - "manufacture-order", - "self-produce" + "get", + "enterprise-product", + "page" ] } }, "response": [] }, { - "name": "保存采购单", + "name": "获取企业产品详情", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, "request": { - "method": "POST", + "method": "GET", "header": [ { "key": "Content-Type", - "type": "text", - "value": "application/json;charset=UTF-8" + "value": "application/json;charset=UTF-8", + "type": "text" }, { "key": "X-APP-ID", - "type": "text", - "value": "1" + "value": "1", + "type": "text" }, { "key": "Authorization", - "type": "text", - "value": "{{gdwtoken}}" + "value": "{{gdwtoken}}", + "type": "text" } ], "body": { "mode": "raw", - "raw": "{\r\n \"createPurchasingOrderDTO\": {\r\n \"customerContactsId\": \"\",\r\n \"customerContactsMobile\": \"18219557422\",\r\n \"customerContactsName\": \"大哥\",\r\n \"customerEnterpriseId\": \"\",\r\n \"customerEnterpriseName\": \"大哥企业\",\r\n \"deliveryCityId\": 440100,\r\n \"deliveryCityName\": \"广州\",\r\n \"deliveryDetails\": \"东圃\",\r\n \"deliveryDistrictId\": 440106,\r\n \"deliveryDistrictName\": \"天河\",\r\n \"deliveryMethod\": \"配送\",\r\n \"deliveryProvinceId\": 440000,\r\n \"deliveryProvinceName\": \"广东\",\r\n \"id\": \"\",\r\n \"merchandiser\": \"\",\r\n \"orderDate\": \"2020-09-23\",\r\n \"packingMethond\": \"包装\",\r\n \"paymentMethod\": \"微信支付\",\r\n \"purchasingOrderItems\": [\r\n {\r\n \"createTime\": \"\",\r\n \"deliveryDate\": \"2020-09-23\",\r\n \"enterpriseId\": \"\",\r\n \"imgUrlList\": [\r\n \"\"\r\n ],\r\n \"materialsRequirement\": \"材质要求\",\r\n \"offerPrice\": 120,\r\n \"orderId\": \"\",\r\n \"parentId\": \"\",\r\n \"productId\": 505897269665599489,\r\n \"productName\": \"名称\",\r\n \"quantity\": 119,\r\n \"remark\": \"备注\",\r\n \"status\": \"\",\r\n \"trimmedSize\": \"规格\",\r\n \"unit\": \"单位\",\r\n \"unitPrice\": 110\r\n }\r\n ],\r\n \"remark\": \"备注\",\r\n \"supplierContactsId\": \"\",\r\n \"supplierContactsMobile\": \"13800138000\",\r\n \"supplierContactsName\": \"千鸟\",\r\n \"supplierEnterpriseId\": \"\",\r\n \"supplierEnterpriseName\": \"千鸟互联\",\r\n \"totalOfferPrice\": \"\",\r\n \"totalSettlementPrice\": \"\"\r\n },\r\n \"processFlowDesignDTO\": {\r\n \"id\": 0,\r\n \"parentId\": 0,\r\n \"processNodeList\": [\r\n {\r\n \"id\": \"\",\r\n \"nodeTypeId\": 504704965521051648,\r\n \"nodeTypeName\": \"UV\",\r\n \"nodeUnit\": \"个\", \r\n \"processId\": 504437514996682752,\r\n \"productId\": 505897269665599489,\r\n \"serialNumber\": 1,\r\n \"remark\": \"备注\",\r\n \"status\": \"\",\r\n \"totalQuantity\": 100,\r\n \"wipName\": \"物料\",\r\n \"wipSize\": \"规格\"\r\n }\r\n ],\r\n \"productId\": 505897269665599489\r\n }\r\n}" + "raw": "" }, "url": { - "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/save/procurement-order/outgoing-procurement", + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/enterprise-product/details?productId=505897269665599489", "protocol": "http", "host": [ "api-cloudprint-dev", @@ -3250,50 +3223,47 @@ ], "path": [ "cloud-print-cloud-factory", - "save", - "procurement-order", - "outgoing-procurement" + "get", + "enterprise-product", + "details" + ], + "query": [ + { + "key": "productId", + "value": "505897269665599489" + } ] } }, "response": [] - } - ], - "protocolProfileBehavior": {} - }, - { - "name": "跟单王_生产单管理", - "item": [ + }, { - "name": "获取企业员工生产单列表", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, + "name": "分批收货", "request": { - "method": "GET", + "method": "POST", "header": [ { "key": "Content-Type", - "type": "text", - "value": "application/json;charset=UTF-8" + "value": "application/json;charset=UTF-8", + "type": "text" }, { "key": "X-APP-ID", - "type": "text", - "value": "1" + "value": "1", + "type": "text" }, { "key": "Authorization", - "type": "text", - "value": "{{gdwtoken}}" + "value": "{{gdwtoken}}", + "type": "text" } ], "body": { "mode": "raw", - "raw": "" + "raw": "{\r\n \"list\": [\r\n {\r\n \"productId\": 0,\r\n \"receiveQuantity\": 0\r\n }\r\n ]\r\n}" }, "url": { - "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/enterprise-employees/production-order/list?status=0", + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/receive/product", "protocol": "http", "host": [ "api-cloudprint-dev", @@ -3302,51 +3272,40 @@ ], "path": [ "cloud-print-cloud-factory", - "get", - "enterprise-employees", - "production-order", - "list" - ], - "query": [ - { - "key": "status", - "value": "0" - } + "receive", + "product" ] } }, "response": [] }, { - "name": "获取生产单详情", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, + "name": "分批发货", "request": { - "method": "GET", + "method": "POST", "header": [ { "key": "Content-Type", - "type": "text", - "value": "application/json;charset=UTF-8" + "value": "application/json;charset=UTF-8", + "type": "text" }, { "key": "X-APP-ID", - "type": "text", - "value": "1" + "value": "1", + "type": "text" }, { "key": "Authorization", - "type": "text", - "value": "{{gdwtoken}}" + "value": "{{gdwtoken}}", + "type": "text" } ], "body": { "mode": "raw", - "raw": "" + "raw": "{\r\n \"list\": [\r\n {\r\n \"productId\": 0,\r\n \"sendQuantity\": 0\r\n }\r\n ]\r\n}" }, "url": { - "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/enterprise/production-order/details/by/506232296924385280", + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/send/product", "protocol": "http", "host": [ "api-cloudprint-dev", @@ -3355,24 +3314,23 @@ ], "path": [ "cloud-print-cloud-factory", - "get", - "enterprise", - "production-order", - "details", - "by", - "506232296924385280" + "send", + "product" ] } }, "response": [] - }, + } + ], + "protocolProfileBehavior": {} + }, + { + "name": "跟单王_工序流程设计", + "item": [ { - "name": "获取企业生产单分页列表", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, + "name": "提交工序流程设计", "request": { - "method": "GET", + "method": "POST", "header": [ { "key": "Content-Type", @@ -3392,10 +3350,10 @@ ], "body": { "mode": "raw", - "raw": "" + "raw": "{\r\n \"id\": \"\",\r\n \"parentId\": 0,\r\n \"processNodeList\": [\r\n {\r\n \"nodeTypeId\": 504704965521051648,\r\n \"nodeTypeName\": \"UV\",\r\n \"nodeUnit\": \"个\", \r\n \"processId\": 504437514996682752,\r\n \"serialNumber\": 1,\r\n \"remark\": \"备注\",\r\n \"totalQuantity\": 100,\r\n \"wipName\": \"物料\",\r\n \"wipSize\": \"规格\"\r\n }\r\n ],\r\n \"productId\": 513481421705318400\r\n}" }, "url": { - "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/enterprise/production-order/page", + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/submit/process-flow-design", "protocol": "http", "host": [ "api-cloudprint-dev", @@ -3404,22 +3362,70 @@ ], "path": [ "cloud-print-cloud-factory", - "get", - "enterprise", - "production-order", - "page" + "submit", + "process-flow-design" ] } }, "response": [] }, { - "name": "获取流程节点关联单统计详情", + "name": "获取产品工序流程设计", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json;charset=UTF-8", + "type": "text" + }, + { + "key": "X-APP-ID", + "value": "1", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{gdwtoken}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/product/process-flow-design?productId=513481421705318400", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "get", + "product", + "process-flow-design" + ], + "query": [ + { + "key": "productId", + "value": "513481421705318400", + "description": "产品标识" + } + ] + } + }, + "response": [] + }, + { + "name": "获取流程节点详情;暂时不用", + "request": { + "method": "POST", "header": [ { "key": "Content-Type", @@ -3439,10 +3445,10 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"processNodeId\": [\r\n \"string\"\r\n ],\r\n \"productId\": 0\r\n}" + "raw": "" }, "url": { - "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/process-node/associated-bills-statistica/details", + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/process-node/details?processNodeId=506094609705865217", "protocol": "http", "host": [ "api-cloudprint-dev", @@ -3453,8 +3459,100 @@ "cloud-print-cloud-factory", "get", "process-node", - "associated-bills-statistica", "details" + ], + "query": [ + { + "key": "processNodeId", + "value": "506094609705865217", + "description": "流程节点标识" + } + ] + } + }, + "response": [] + }, + { + "name": "修改工序流程设计", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json;charset=UTF-8" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{gdwtoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"id\": \"\",\r\n \"parentId\": 0,\r\n \"processNodeList\": [\r\n {\r\n \"nodeTypeId\": 504704965521051648,\r\n \"nodeTypeName\": \"UV\",\r\n \"nodeUnit\": \"个\", \r\n \"processId\": 504437514996682752,\r\n \"serialNumber\": 1,\r\n \"remark\": \"备注\",\r\n \"totalQuantity\": 100,\r\n \"wipName\": \"物料\",\r\n \"wipSize\": \"规格\"\r\n }\r\n ],\r\n \"productId\": 513481421705318400\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/submit/processflow/modify", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "submit", + "processflow", + "modify" + ] + } + }, + "response": [] + }, + { + "name": "检查工序流程是否存在", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json;charset=UTF-8" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{gdwtoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/check-processflow/boolean", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "get", + "check-processflow", + "boolean" ] } }, @@ -3464,10 +3562,10 @@ "protocolProfileBehavior": {} }, { - "name": "跟单王_生产任务", + "name": "跟单王_产品拆分订单", "item": [ { - "name": "创建生产任务工单", + "name": "保存生产单", "request": { "method": "POST", "header": [ @@ -3489,10 +3587,10 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"endTime\": \"2020-09-22T02:47:05.489Z\",\r\n \"factoryEquipmentId\": 0,\r\n \"factoryEquipmentName\": \"string\",\r\n \"id\": 0,\r\n \"nodeTypeId\": 0,\r\n \"nodeTypeName\": \"string\",\r\n \"processNodeId\": 0,\r\n \"productId\": 0,\r\n \"productName\": \"string\",\r\n \"productionTaskAssignmentId\": 0,\r\n \"productionTaskId\": 0,\r\n \"quantity\": 0,\r\n \"startTime\": \"2020-09-22T02:47:05.489Z\"\r\n}" + "raw": "{\r\n \"createManufactureOrderDtoList\": [\r\n {\r\n \"completedQuantity\": \"\",\r\n \"factoryId\": 504419636264177664,\r\n \"factoryName\": \"大观工厂\",\r\n \"finishDate\": \"2020-10-13\",\r\n \"id\": \"\",\r\n \"machineId\": 513448833074728960,\r\n \"machineName\": \"1\",\r\n \"nextNodeId\": \"\",\r\n \"nodeTypeId\": 504704965521051648,\r\n \"nodeTypeName\": \"UV\",\r\n \"nodeUnit\": \"只\",\r\n \"parentId\": \"\",\r\n \"priorNodeId\": \"\",\r\n \"processFlowId\": 506094609705865216,\r\n \"processId\": 504437462521745408,\r\n \"processNodeId\": 513761759446831105,\r\n \"productId\": 513481421705318400,\r\n \"serialNumber\": 1,\r\n \"status\": \"\",\r\n \"totalQuantity\": 9999,\r\n \"wipName\": \"物料\",\r\n \"wipSize\": \"规格\"\r\n }\r\n ],\r\n \"processFlowId\": 513761759446831104,\r\n \"productId\": 513481421705318400,\r\n \"productName\": \"产品名称\"\r\n}\r\n" }, "url": { - "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/save/production-task-order/", + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/save/manufacture-order/self-produce", "protocol": "http", "host": [ "api-cloudprint-dev", @@ -3502,15 +3600,15 @@ "path": [ "cloud-print-cloud-factory", "save", - "production-task-order", - "" + "manufacture-order", + "self-produce" ] } }, "response": [] }, { - "name": "提交生产任务工单", + "name": "保存采购单", "request": { "method": "POST", "header": [ @@ -3532,10 +3630,10 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"endTime\": \"2020-09-22T02:48:32.586Z\",\r\n \"factoryEquipmentId\": 0,\r\n \"factoryEquipmentName\": \"string\",\r\n \"id\": 0,\r\n \"nodeTypeId\": 0,\r\n \"nodeTypeName\": \"string\",\r\n \"processNodeId\": 0,\r\n \"productId\": 0,\r\n \"productName\": \"string\",\r\n \"productionTaskAssignmentId\": 0,\r\n \"productionTaskId\": 0,\r\n \"quantity\": 0,\r\n \"startTime\": \"2020-09-22T02:48:32.586Z\"\r\n}" + "raw": "{\r\n \"createPurchasingOrderDTO\": {\r\n \"customerContactsId\": \"\",\r\n \"customerContactsMobile\": \"18219557422\",\r\n \"customerContactsName\": \"大哥\",\r\n \"customerEnterpriseId\": \"\",\r\n \"customerEnterpriseName\": \"大哥企业\",\r\n \"deliveryCityId\": 440100,\r\n \"deliveryCityName\": \"广州\",\r\n \"deliveryDetails\": \"东圃\",\r\n \"deliveryDistrictId\": 440106,\r\n \"deliveryDistrictName\": \"天河\",\r\n \"deliveryMethod\": \"配送\",\r\n \"deliveryProvinceId\": 440000,\r\n \"deliveryProvinceName\": \"广东\",\r\n \"id\": \"\",\r\n \"merchandiser\": \"\",\r\n \"orderDate\": \"2020-09-23\",\r\n \"packingMethond\": \"包装\",\r\n \"purchasingOrderItems\": [\r\n {\r\n \"createTime\": \"\",\r\n \"deliveryDate\": \"2020-10-15\",\r\n \"enterpriseId\": \"\",\r\n \"imgUrlList\": [\r\n \"\"\r\n ],\r\n \"materialsRequirement\": \"材质要求\",\r\n \"offerPrice\": 120,\r\n \"orderId\": \"\",\r\n \"parentId\": \"\",\r\n \"productId\": 513481421705318400,\r\n \"productName\": \"名称\",\r\n \"quantity\": 119,\r\n \"remark\": \"备注\",\r\n \"status\": \"\",\r\n \"trimmedSize\": \"规格\",\r\n \"unit\": \"单位\",\r\n \"unitPrice\": 110\r\n }\r\n ],\r\n \"remark\": \"备注\",\r\n \"supplierContactsId\": \"\",\r\n \"supplierContactsMobile\": \"13800138000\",\r\n \"supplierContactsName\": \"千鸟\",\r\n \"supplierEnterpriseId\": \"\",\r\n \"supplierEnterpriseName\": \"千鸟互联\",\r\n \"totalOfferPrice\": \"\",\r\n \"totalSettlementPrice\": \"\",\r\n \"type\": 1\r\n },\r\n \"processFlowDesignDTO\": {\r\n \"id\": \"\",\r\n \"parentId\": 0,\r\n \"processNodeList\": [\r\n {\r\n \"id\": 513761759446831105,\r\n \"nodeTypeId\": 504704965521051648,\r\n \"nodeTypeName\": \"UV\",\r\n \"nodeUnit\": \"个\", \r\n \"processId\": 504437514996682752,\r\n \"serialNumber\": 1,\r\n \"remark\": \"备注\",\r\n \"totalQuantity\": 100,\r\n \"wipName\": \"物料\",\r\n \"wipSize\": \"规格\"\r\n }\r\n ],\r\n \"productId\": 513481421705318400\r\n }\r\n}" }, "url": { - "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/submit/production-task-order/", + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/save/procurement-order/outgoing-procurement", "protocol": "http", "host": [ "api-cloudprint-dev", @@ -3544,16 +3642,16 @@ ], "path": [ "cloud-print-cloud-factory", - "submit", - "production-task-order", - "" + "save", + "procurement-order", + "outgoing-procurement" ] } }, "response": [] }, { - "name": "获取生产任务工单", + "name": "刷新产品工序状态", "protocolProfileBehavior": { "disableBodyPruning": true }, @@ -3578,10 +3676,10 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"productName\": \"string\",\r\n \"productionTaskId\": 0\r\n}" + "raw": "" }, "url": { - "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/production-task-order/page", + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/refresh/product-outgoing/processNode?productId=506604247442395137", "protocol": "http", "host": [ "api-cloudprint-dev", @@ -3590,9 +3688,58 @@ ], "path": [ "cloud-print-cloud-factory", - "get", - "production-task-order", - "page" + "refresh", + "product-outgoing", + "processNode" + ], + "query": [ + { + "key": "productId", + "value": "506604247442395137" + } + ] + } + }, + "response": [] + }, + { + "name": "修改生产单工序工艺", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json;charset=UTF-8" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{gdwtoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"createManufactureOrderDtoList\":[\r\n {\r\n \"id\":\"514249879606923264\",\r\n \"processNodeId\":\"514249879606923264\",\r\n \"processId\":\"504437514996682752\",\r\n \"priorNodeId\":\"0\",\r\n \"nextNodeId\":\"-1\",\r\n \"productId\":\"514242706176872448\",\r\n \"productionQuantity\":3,\r\n \"quantityCompletion\":2,\r\n \"machineId\":\"506965677014388736\",\r\n \"machineName\":\"千鸟 2号机\",\r\n \"factoryId\":null,\r\n \"factoryName\":\"千鸟1工厂\",\r\n \"wipName\":\"3\",\r\n \"wipSize\":\"3\",\r\n \"remark\":\"1\",\r\n \"status\":0,\r\n \"isWorking\":null,\r\n \"productionTaskAssignmentId\":\"514249880210903040\",\r\n \"nodeTypeName\":\"UV\",\r\n \"finishDate\":\"2020-10-16\",\r\n \"nodeUnit\":\"㎡\",\r\n \"progress\":67,\r\n \"processFlowId\":\"514249879602728960\",\r\n \"totalQuantity\":3,\r\n \"machines\":[\r\n {\r\n \"id\":\"506965677014388736\",\r\n \"name\":\"千鸟 2号机\"\r\n }\r\n ],\r\n \"serialNumber\":1\r\n }\r\n ],\r\n \"processFlowId\":\"514249879602728960\",\r\n \"productId\":\"514242706176872448\"\r\n }" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/modify/manufacture-order/self-produce", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "modify", + "manufacture-order", + "self-produce" ] } }, @@ -3600,6 +3747,1080 @@ } ], "protocolProfileBehavior": {} + }, + { + "name": "跟单王_生产单管理", + "item": [ + { + "name": "获取企业生产单分页列表", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json;charset=UTF-8" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{gdwtoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/enterprise/production-order/page", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "get", + "enterprise", + "production-order", + "page" + ] + } + }, + "response": [] + }, + { + "name": "获取生产单详情", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json;charset=UTF-8" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{gdwtoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/enterprise/production-order/details/by/506609470034546688", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "get", + "enterprise", + "production-order", + "details", + "by", + "506609470034546688" + ] + } + }, + "response": [] + }, + { + "name": "获取流程节点关联单统计详情", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json;charset=UTF-8" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{gdwtoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/process-node/associated-bills-statistica/details?productId= 506837446680514561&processNodeId= 506885080183083009", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "get", + "process-node", + "associated-bills-statistica", + "details" + ], + "query": [ + { + "key": "productId", + "value": " 506837446680514561" + }, + { + "key": "processNodeId", + "value": " 506885080183083009" + } + ] + } + }, + "response": [] + }, + { + "name": "确认完成", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json;charset=UTF-8" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{gdwtoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"id\": 0\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/finish/production-order", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "finish", + "production-order" + ] + } + }, + "response": [] + }, + { + "name": "获取小程序生产单列表", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json;charset=UTF-8" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{minitoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/mini/production-order-list", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "get", + "mini", + "production-order-list" + ] + } + }, + "response": [] + }, + { + "name": "小程序生产单详情", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json;charset=UTF-8" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{minitoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/mini/production-order-detail/by/{id}", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "get", + "mini", + "production-order-detail", + "by", + "{id}" + ] + } + }, + "response": [] + }, + { + "name": "终止生产", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json;charset=UTF-8" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{gdwtoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"id\": 0\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/cancel/production-order", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "cancel", + "production-order" + ] + } + }, + "response": [] + } + ], + "protocolProfileBehavior": {} + }, + { + "name": "跟单王_生产任务", + "item": [ + { + "name": "创建生产任务工单", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json;charset=UTF-8", + "type": "text" + }, + { + "key": "X-APP-ID", + "value": "1", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{gdwtoken}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"endTime\": \"2020-09-22T02:47:05.489Z\",\r\n \"factoryEquipmentId\": 0,\r\n \"factoryEquipmentName\": \"string\",\r\n \"id\": 0,\r\n \"nodeTypeId\": 0,\r\n \"nodeTypeName\": \"string\",\r\n \"processNodeId\": 0,\r\n \"productId\": 0,\r\n \"productName\": \"string\",\r\n \"productionTaskAssignmentId\": 0,\r\n \"productionTaskId\": 0,\r\n \"quantity\": 0,\r\n \"startTime\": \"2020-09-22T02:47:05.489Z\"\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/save/production-task-order/", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "save", + "production-task-order", + "" + ] + } + }, + "response": [] + }, + { + "name": "提交生产任务工单", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json;charset=UTF-8" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{gdwtoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"endTime\": \"2020-09-22T02:48:32.586Z\",\r\n \"factoryEquipmentId\": 0,\r\n \"factoryEquipmentName\": \"string\",\r\n \"id\": 0,\r\n \"nodeTypeId\": 0,\r\n \"nodeTypeName\": \"string\",\r\n \"processNodeId\": 0,\r\n \"productId\": 0,\r\n \"productName\": \"string\",\r\n \"productionTaskAssignmentId\": 0,\r\n \"productionTaskId\": 0,\r\n \"quantity\": 0,\r\n \"startTime\": \"2020-09-22T02:48:32.586Z\"\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/submit/production-task-order/", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "submit", + "production-task-order", + "" + ] + } + }, + "response": [] + }, + { + "name": "获取生产任务工单", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json;charset=UTF-8" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{gdwtoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"productName\": \"string\",\r\n \"productionTaskId\": 0\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/production-task-order/page", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "get", + "production-task-order", + "page" + ] + } + }, + "response": [] + }, + { + "name": "小程序生产任务工单列表", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json;charset=UTF-8" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{minitoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/mini/production-task-order/page", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "get", + "mini", + "production-task-order", + "page" + ] + } + }, + "response": [] + } + ], + "protocolProfileBehavior": {} + }, + { + "name": "合作企业", + "item": [ + { + "name": "新增合作企业", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json;charset=UTF-8" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{gdwtoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"contactsMobile\": \"\",\r\n \"contactsName\": \"\",\r\n \"locCityId\": 440100,\r\n \"locDetail\": \"TEST\",\r\n \"locDistrictId\": 440106,\r\n \"locProvinceId\": 440000,\r\n \"name\": \"TEST\",\r\n \"relation\": \"1\",\r\n \"type\": 1\r\n} " + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-user-center/add/enterprise-cooperator", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "add", + "enterprise-cooperator" + ] + } + }, + "response": [] + }, + { + "name": "合作企业列表", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json;charset=UTF-8" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{gdwtoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-user-center/get/enterprise-cooperator/list", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "get", + "enterprise-cooperator", + "list" + ] + } + }, + "response": [] + }, + { + "name": "合作企业详情", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json;charset=UTF-8" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{gdwtoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-user-center/get/enterprise-cooperator/detail/512318035437162496", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "get", + "enterprise-cooperator", + "detail", + "512318035437162496" + ] + } + }, + "response": [] + }, + { + "name": "修改合作企业", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json;charset=UTF-8" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{gdwtoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"contactsMobile\": \"大哥哥\",\r\n \"contactsName\": \"13800138000\",\r\n \"id\": 512318035437162496,\r\n \"locCityId\": 440100,\r\n \"locDetail\": \"车陂联合社区1\",\r\n \"locDistrictId\": 440106,\r\n \"locProvinceId\": 440000,\r\n \"name\": \"大大哥企业1\",\r\n \"relation\": \"1\",\r\n \"type\": 1\r\n} " + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-user-center/update/enterprise-cooperator", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "update", + "enterprise-cooperator" + ] + } + }, + "response": [] + }, + { + "name": "批量修改状态", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json;charset=UTF-8" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{gdwtoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"idList\": [\r\n \"512318035437162496\"\r\n ],\r\n \"status\": 0\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-user-center/update/enterprise-cooperator/status/by-batch", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "update", + "enterprise-cooperator", + "status", + "by-batch" + ] + } + }, + "response": [] + } + ], + "protocolProfileBehavior": {} + }, + { + "name": "企业员工用户", + "item": [ + { + "name": "运营端新增企业员工", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json;charset=UTF-8", + "type": "text" + }, + { + "key": "X-APP-ID", + "value": "1", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{yytoken}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"enterpriseId\": 504715565580029952,\r\n \"position\": \"ADMINISTRATOR\",\r\n \"realName\": \"测试员工\"\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-user-center/admin/add/employee", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "admin", + "add", + "employee" + ] + } + }, + "response": [] + }, + { + "name": "运营端企业员工列表", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json;charset=UTF-8", + "type": "text" + }, + { + "key": "X-APP-ID", + "value": "1", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{yytoken}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-user-center/admin/get/employee-list?enterpriseId=504715565580029952", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "admin", + "get", + "employee-list" + ], + "query": [ + { + "key": "enterpriseId", + "value": "504715565580029952" + } + ] + } + }, + "response": [] + }, + { + "name": "运营端编辑企业员工", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json;charset=UTF-8", + "type": "text" + }, + { + "key": "X-APP-ID", + "value": "1", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{yytoken}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"id\": 515642342611488768,\r\n \"enterpriseId\": 504715565580029952,\r\n \"position\": \"ADMINISTRATOR\",\r\n \"realName\": \"测试员工啊\"\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-user-center/admin/update/employee", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "admin", + "update", + "employee" + ] + } + }, + "response": [] + }, + { + "name": "运营端修改员工状态", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json;charset=UTF-8", + "type": "text" + }, + { + "key": "X-APP-ID", + "value": "1", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{yytoken}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"id\": 515642342611488768,\r\n \"status\": 0\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-user-center/admin/modify/employee/status", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "admin", + "modify", + "employee", + "status" + ] + } + }, + "response": [] + }, + { + "name": "用户id登录", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json;charset=UTF-8", + "type": "text" + }, + { + "key": "X-APP-ID", + "value": "1", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{yytoken}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"userId\": 515642341588078592\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-user-center/admin/user/authorize/by-user-id", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "admin", + "user", + "authorize", + "by-user-id" + ] + } + }, + "response": [] + }, + { + "name": "用户id生成二维码登录小程序", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json;charset=UTF-8", + "type": "text" + }, + { + "key": "X-APP-ID", + "value": "1", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{yytoken}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"userId\": 515642341588078592\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-user-center/admin/user/generate/login-qr-code/by-user-id", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "admin", + "user", + "generate", + "login-qr-code", + "by-user-id" + ] + } + }, + "response": [] + } + ], + "protocolProfileBehavior": {} + }, + { + "name": "test", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json;charset=UTF-8", + "type": "text" + }, + { + "key": "X-APP-ID", + "value": "1", + "type": "text" + }, + { + "key": "Authorization", + "value": "QNT iHP4V/g6O5DXHixyNrf7tnONPRrba526bPVqTK0R9IrrZ7eGLWJ9WCVcK8+riKxRUIJIiXjb15xNEW2dSQgAXQ==", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\"areaList\":[420000,420100,420114],\"supplierareaList\":[440000,440100,440106],\"purchasingOrderItems\":[{\"productName\":\"4罐包装盒\",\"trimmedSize\":\"166*166*127mm\",\"materialsRequirement\":\"3层瓦楞箱 底纸:120牛 卡+110g高强 瓦楞 面纸:300g灰\",\"quantity\":10000,\"settleQuantity\":10000,\"offerPrice\":12200,\"unitPrice\":1.22,\"deliveryDate\":\"2020-09-22\"},{\"productName\":\"4罐隔断\",\"deliveryDate\":\"2020-09-22\",\"trimmedSize\":\"展开尺寸 160*196mm/2片\",\"materialsRequirement\":\"B坑160牛卡 /120g/160厚 度2.5mm\",\"quantity\":10000,\"settleQuantity\":10000,\"offerPrice\":1800,\"unitPrice\":0.18},{\"productName\":\"罐体腰封\",\"trimmedSize\":\"成品 高106mm * 周长245mm 哑膜\",\"deliveryDate\":\"2020-09-22\",\"quantity\":15000,\"settleQuantity\":15000,\"offerPrice\":1425,\"materialsRequirement\":\"157g双铜过亚 膜\",\"unitPrice\":0.095},{\"productName\":\"服务卡片\",\"deliveryDate\":\"2020-09-22\",\"quantity\":5000,\"settleQuantity\":5000,\"offerPrice\":950,\"unitPrice\":0.19,\"trimmedSize\":\"长12cm * 宽 10cm\",\"materialsRequirement\":\"面包卡米白 260g\"}],\"deliveryMethod\":\"送货\",\"supplierContactsMobile\":null,\"supplierContactsName\":\"刘承炫\",\"supplierDetails\":\"车陂大岗路联合社区西区8栋408\",\"customerEnterpriseId\":\"517043267867643904\",\"customerEnterpriseName\":\"武汉千仓科技有限公司\",\"customerContactsName\":\"刘文俊\",\"customerContactsMobile\":\"13907123132\",\"deliveryProvinceId\":420000,\"deliveryCityId\":420100,\"deliveryDistrictId\":420114,\"deliveryDetails\":\"高庙猫山井38号\",\"remark\":\"以上报价为含税价格;预付30%,剩余70%票到结算;物流(以实际费用结算)\",\"packingMethond\":\"\",\"supplierProvinceId\":440000,\"supplierCityId\":440100,\"supplierDistrictId\":440106,\"id\":null,\"type\":null}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api-cloudprint.qniao.cn/cloud-print-cloud-factory/save/purchasing-order/as-supplier", + "protocol": "https", + "host": [ + "api-cloudprint", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "save", + "purchasing-order", + "as-supplier" + ] + } + }, + "response": [] } ], "protocolProfileBehavior": {} diff --git a/postman/纸通宝测试环境.postman_collection.json b/postman/纸通宝测试环境.postman_collection.json index 72be975..8750ca7 100644 --- a/postman/纸通宝测试环境.postman_collection.json +++ b/postman/纸通宝测试环境.postman_collection.json @@ -1,6 +1,6 @@ { "info": { - "_postman_id": "2d054424-8621-4f76-95db-b486b83b9e8b", + "_postman_id": "b10e241d-6577-4d3a-a698-aa4ab317d233", "name": "纸通宝测试环境", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, @@ -14,7 +14,7 @@ { "listen": "test", "script": { - "id": "702939ff-b83c-4dfc-8ba9-bc93e561b4f3", + "id": "ba0c39da-c941-4781-8110-8e046d1adc9b", "exec": [ "var result = pm.response.json().data.token\r", "pm.environment.set(\"apptoken\",result);\r", @@ -70,7 +70,7 @@ { "listen": "test", "script": { - "id": "a09d7db3-b3b8-4217-96b6-3fc5f08e0a59", + "id": "3ee751c7-dc9a-4b7d-aaf1-036b54d6ccb8", "exec": [ "var result = pm.response.headers.get('Authorization')\r", "pm.environment.set(\"token\", result);\r", @@ -1062,7 +1062,7 @@ { "listen": "test", "script": { - "id": "9ddc3324-0a49-4998-aa22-c82331afdd01", + "id": "1e5cec3c-efee-4db4-b5b1-6b62ab66294e", "exec": [ "" ], @@ -1243,7 +1243,7 @@ { "listen": "test", "script": { - "id": "d6035d2b-cbd1-48f5-b8ff-526e46d34f9e", + "id": "4497be0f-88b5-441c-aa6f-65fc452cee13", "exec": [ "pm.test(\"Your test name\", function () {\r", " var jsonData = pm.response.json();\r", @@ -4054,6 +4054,51 @@ } }, "response": [] + }, + { + "name": "删除纸厂供应商", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{token}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/paperMill/delete/paper-mill-merchant-account/498492951811461100", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "paperMill", + "delete", + "paper-mill-merchant-account", + "498492951811461100" + ] + } + }, + "response": [] } ], "protocolProfileBehavior": {} @@ -4084,7 +4129,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"paperMillId\": 498492951731769344,\r\n \"retainedQuantity\": 80,\r\n \"time\": \"2020-09-16\",\r\n \"totalQuantity\": 28\r\n}" + "raw": "{\r\n \"paperMillId\": 493892149964836860,\r\n \"retainedQuantity\": 18,\r\n \"time\": \"2020-09-19\",\r\n \"totalQuantity\": 2\r\n}" }, "url": { "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/received-weight/add/daily-received-weight", @@ -4864,6 +4909,1288 @@ } ], "protocolProfileBehavior": {} + }, + { + "name": "前端文章回复", + "item": [ + { + "name": "评论", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "X-APP-ID", + "value": "1", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{apptoken}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"articleId\": 0,\r\n \"content\": \"string\"\r\n}" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/article-reply/reply", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "article-reply", + "reply" + ] + } + }, + "response": [] + }, + { + "name": "点赞文章", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{apptoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"articleId\": 0\r\n}" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/article-reply/like-or-cancel/article", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "article-reply", + "like-or-cancel", + "article" + ] + } + }, + "response": [] + }, + { + "name": "帖子评论列表", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{apptoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/article-reply/get/reply-list/in/{articleId}", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "article-reply", + "get", + "reply-list", + "in", + "{articleId}" + ] + } + }, + "response": [] + }, + { + "name": "我的评论列表", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{apptoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/article-reply/get/my-reply-list", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "article-reply", + "get", + "my-reply-list" + ] + } + }, + "response": [] + } + ], + "protocolProfileBehavior": {} + }, + { + "name": "文章接口", + "item": [ + { + "name": "发文章", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "X-APP-ID", + "value": "1", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{apptoken}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"categoryId\": 0,\r\n \"content\": \"string\",\r\n \"imageUrls\": [\r\n \"string\"\r\n ],\r\n \"millPaperId\": 0,\r\n \"millPaperName\": \"string\",\r\n \"title\": \"string\"\r\n}" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/article/save/Article", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "article", + "save", + "Article" + ] + } + }, + "response": [] + }, + { + "name": "编辑文章", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{apptoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"categoryId\": 0,\r\n \"content\": \"string\",\r\n \"imageUrls\": [\r\n \"string\"\r\n ],\r\n \"millPaperId\": \"string\",\r\n \"millPaperName\": \"string\",\r\n \"title\": \"string\"\r\n}" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/article/update/Article/{id}", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "article", + "update", + "Article", + "{id}" + ] + } + }, + "response": [] + }, + { + "name": "我的文章列表", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{apptoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/article/get/my-Article-list", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "article", + "get", + "my-Article-list" + ] + } + }, + "response": [] + }, + { + "name": "浏览文章历史列表", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{apptoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/article/get/Article-view-list", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "article", + "get", + "Article-view-list" + ] + } + }, + "response": [] + }, + { + "name": "文章列表", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{apptoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/article/get/Article-list/", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "article", + "get", + "Article-list", + "" + ] + } + }, + "response": [] + }, + { + "name": "文章详情", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{apptoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/article/get/Article-detail/{id}", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "article", + "get", + "Article-detail", + "{id}" + ] + } + }, + "response": [] + }, + { + "name": "删除文章", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{apptoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"id\": 0\r\n}" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/article/delete/Article", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "article", + "delete", + "Article" + ] + } + }, + "response": [] + } + ], + "protocolProfileBehavior": {} + }, + { + "name": "用户文章浏览历史", + "item": [ + { + "name": "文章列表", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{apptoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/get/my-history-list", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "get", + "my-history-list" + ] + } + }, + "response": [] + } + ], + "protocolProfileBehavior": {} + }, + { + "name": "文章标签", + "item": [ + { + "name": "新增文章标签表记录", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{apptoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"name\": \"string\",\r\n \"type\": 0\r\n}" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/admin/article-label/save/article-label", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "article-label", + "save", + "article-label" + ] + } + }, + "response": [] + }, + { + "name": "修改文章标签表记录", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{apptoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"name\": \"string\",\r\n \"type\": 0\r\n}" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/admin/article-label/update/article-label/{id}", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "article-label", + "update", + "article-label", + "{id}" + ] + } + }, + "response": [] + }, + { + "name": "通过id查询单条文章标签表记录", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{apptoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/admin/article-label/get/article-label/{id}", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "article-label", + "get", + "article-label", + "{id}" + ] + } + }, + "response": [] + }, + { + "name": "分页查询文章标签表", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{apptoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/admin/article-label/get/article-label-list", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "article-label", + "get", + "article-label-list" + ] + } + }, + "response": [] + }, + { + "name": "通过id删除一条文章标签表记录", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{apptoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/admin/article-label/delete/article-label/{id}", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "article-label", + "delete", + "article-label", + "{id}" + ] + } + }, + "response": [] + } + ], + "protocolProfileBehavior": {} + }, + { + "name": "纸厂订单收货证明审核", + "item": [ + { + "name": "审核列表", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "X-APP-ID", + "value": "1", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "http://api-admin-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list", + "protocol": "http", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "payment-settlement-center", + "admin", + "paper-mill-order-receipt-proof-request", + "get", + "list" + ], + "query": [ + { + "key": "plateNumber", + "value": "55556", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "审核详情", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "X-APP-ID", + "value": "1", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "http://api-admin-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/details/501192269332877312", + "protocol": "http", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "payment-settlement-center", + "admin", + "paper-mill-order-receipt-proof-request", + "get", + "details", + "501192269332877312" + ] + } + }, + "response": [] + }, + { + "name": "审核", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "X-APP-ID", + "value": "1", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"id\": 501192269332877312\r\n}" + }, + "url": { + "raw": "http://47.113.118.47:7007/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit", + "protocol": "http", + "host": [ + "47", + "113", + "118", + "47" + ], + "port": "7007", + "path": [ + "payment-settlement-center", + "admin", + "paper-mill-order-receipt-proof-request", + "audit" + ] + } + }, + "response": [] + }, + { + "name": "确认结算", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{token}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"id\": 501192269332877312\r\n}" + }, + "url": { + "raw": "http://47.113.118.47:7007/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/settle", + "protocol": "http", + "host": [ + "47", + "113", + "118", + "47" + ], + "port": "7007", + "path": [ + "payment-settlement-center", + "admin", + "paper-mill-order-receipt-proof-request", + "settle" + ] + } + }, + "response": [] + } + ], + "protocolProfileBehavior": {} + }, + { + "name": "运营审核相关接口", + "item": [ + { + "name": "运营获取回款订单列表", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{token}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/operation/get/paper-payment-order-list", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "operation", + "get", + "paper-payment-order-list" + ] + } + }, + "response": [] + }, + { + "name": "获取运营审核订单详情", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{token}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/operation/get/order-receipt-audit-details/513686345122713600", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "operation", + "get", + "order-receipt-audit-details", + "513686345122713600" + ] + } + }, + "response": [] + }, + { + "name": "运营确认回款", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{token}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"bankFlowNo\": \"string\",\r\n \"noReceiveblePrice\": 0,\r\n \"paidPrice\": 0,\r\n \"paymentOrderId\": 0,\r\n \"receivablePrice\": 0,\r\n \"remark\": \"string\"\r\n}" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/operation/update/payment-order-status ", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "operation", + "update", + "payment-order-status " + ] + } + }, + "response": [] + } + ], + "protocolProfileBehavior": {} + }, + { + "name": "台账表", + "item": [ + { + "name": "分页查询台账表", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{token}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service//admin/parameter/get/parameter", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "", + "admin", + "parameter", + "get", + "parameter" + ], + "query": [ + { + "key": "pageNum", + "value": "1", + "disabled": true + }, + { + "key": "pageSize", + "value": "10", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "下载文件", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{token}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/download/temp/", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "download", + "temp", + "" + ] + } + }, + "response": [] + } + ], + "protocolProfileBehavior": {} + }, + { + "name": "结算信息表", + "item": [ + { + "name": "运营确认回款", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "type": "text", + "value": "application/json" + }, + { + "key": "X-APP-ID", + "type": "text", + "value": "1" + }, + { + "key": "Authorization", + "type": "text", + "value": "{{token}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"invoicePoint\": \"string\",\r\n \"invoiceType\": 0,\r\n \"isInvoice\": 0,\r\n \"paperMillId\": 0,\r\n \"paybackIntever\": 0\r\n}" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/papermillsettlement/update/paper-mill-settlement", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "papermillsettlement", + "update", + "paper-mill-settlement" + ] + } + }, + "response": [] + } + ], + "protocolProfileBehavior": {} } ], "protocolProfileBehavior": {}