diff --git a/postman/云印测试环境.postman_collection.json b/postman/云印测试环境.postman_collection.json new file mode 100644 index 0000000..6adc785 --- /dev/null +++ b/postman/云印测试环境.postman_collection.json @@ -0,0 +1,3548 @@ +{ + "info": { + "_postman_id": "ed24c4e2-21b3-4933-ae27-c15846892e08", + "name": "云印测试环境", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" + }, + "item": [ + { + "name": "登录", + "item": [ + { + "name": "云印运营中心登录", + "event": [ + { + "listen": "test", + "script": { + "id": "e962da18-833d-499e-bbe0-2e712f09d694", + "exec": [ + "var result = pm.response.headers.get('Authorization')\r", + "pm.environment.set(\"yytoken\", result);" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/x-www-form-urlencoded", + "type": "text" + }, + { + "key": "X-APP-ID", + "value": "503258978847952999", + "type": "text" + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "key": "username", + "value": "liangjinman@qniao.cn", + "type": "text" + }, + { + "key": "password", + "value": "qn123456", + "type": "text" + } + ] + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-factory-operation-backend/admin/login", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-factory-operation-backend", + "admin", + "login" + ] + } + }, + "response": [] + }, + { + "name": "小程序验证码登录", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json;charset=UTF-8", + "type": "text" + }, + { + "key": "X-APP-ID", + "value": "503258978847952999", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"account\": \"18219557422\",\r\n \"accountType\": \"MOBILE\",\r\n \"captcha\": \"888888\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-user-center/authorize/by-captcha", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "authorize", + "by-captcha" + ] + } + }, + "response": [] + }, + { + "name": "后台用户列表", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json;charset=UTF-8", + "type": "text" + }, + { + "key": "X-APP-ID", + "value": "1", + "type": "text" + } + ], + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-user-center/admin/user/get/user-list", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "admin", + "user", + "get", + "user-list" + ] + } + }, + "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 \"id\": \"504715565580029952\",\r\n \"status\": 0,\r\n \"name\": \"大哥企业\",\r\n \"uniformSocialCreditCode\": \"1357924680\",\r\n \"legalPersonIdCardNo\": \"123456789101112131415161718\",\r\n \"legalPersonName\": \"大哥哥\",\r\n \"locDetail\": \"联合社区\"\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-user-center/admin/save/enterprise", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "admin", + "save", + "enterprise" + ] + } + }, + "response": [] + }, + { + "name": "后台管理员获取企业详情", + "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" + } + ], + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-user-center/admin/get/enterprise/details?enterpriseId=504715565580029952", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "admin", + "get", + "enterprise", + "details" + ], + "query": [ + { + "key": "enterpriseId", + "value": "504715565580029952" + } + ] + } + }, + "response": [] + }, + { + "name": "后台管理员获取企业分页列表", + "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" + } + ], + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-user-center/admin/get/enterprise/page", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "admin", + "get", + "enterprise", + "page" + ] + } + }, + "response": [] + }, + { + "name": " 后台管理员修改企业状态", + "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" + } + ], + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-user-center/admin/modify/enterprise/state?enterpriseId=504715565580029952&status=0", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "admin", + "modify", + "enterprise", + "state" + ], + "query": [ + { + "key": "enterpriseId", + "value": "504715565580029952" + }, + { + "key": "status", + "value": "0" + } + ] + } + }, + "response": [] + }, + { + "name": "后台管理员删除企业", + "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": "{{yytoken}}" + } + ], + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-user-center/admin/delete/enterprise?enterpriseId=504726070122123264", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "admin", + "delete", + "enterprise" + ], + "query": [ + { + "key": "enterpriseId", + "value": "504726070122123264" + } + ] + } + }, + "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 \"accountOpeningBranch\": \"广州开户行\",\r\n \"bankAccount\": \"123\",\r\n \"bankAccountName\": \"大哥\",\r\n \"bankName\": \"广州银行\",\r\n \"enterpriseId\": 504715565580029952,\r\n \"locationBank\": \"天河\"\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-user-center/admin/save/enterprise-corporate-account", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "admin", + "save", + "enterprise-corporate-account" + ] + } + }, + "response": [] + }, + { + "name": "后台管理员获取企业对公账户", + "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" + } + ], + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-user-center/admin/get/enterprise-corporate-account/details?enterpriseId=504715565580029952", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "admin", + "get", + "enterprise-corporate-account", + "details" + ], + "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 \"enterpriseId\": 504715565580029952,\r\n \"list\": [\r\n {\r\n \"bankCardNumber\": \"123\",\r\n \"cardholderName\": \"大哥\",\r\n \"mobilePhone\": \"13800\",\r\n \"openingBank\": \"广州开户行\"\r\n },\r\n {\r\n \"bankCardNumber\": \"123\",\r\n \"cardholderName\": \"大哥\",\r\n \"mobilePhone\": \"13800\",\r\n \"openingBank\": \"广州开户行\"\r\n }\r\n ]\r\n \r\n}" + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-user-center/admin/save/enterprise-private-account", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "admin", + "save", + "enterprise-private-account" + ] + } + }, + "response": [] + }, + { + "name": "后台管理员获取企业私有账户列表", + "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" + } + ], + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-user-center/admin/get/enterprise-private-account/list?enterpriseId=504715565580029952", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "admin", + "get", + "enterprise-private-account", + "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 \"email\": \"123@qniao.cn\",\r\n \"enterpriseId\": 504715565580029952,\r\n \"mobilePhone\": \"13800\",\r\n \"name\": \"大哥\",\r\n \"remark\": \"这个是备注\",\r\n \"telephone\": \"020-110\",\r\n \"wechatAccount\": \"WeChat\"\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-user-center/admin/save/enterprise-contacts", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "admin", + "save", + "enterprise-contacts" + ] + } + }, + "response": [] + }, + { + "name": "后台管理员获取联系人详情", + "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" + } + ], + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-user-center/admin/get/enterprise-contacts/details?enterpriseId=504715565580029952", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "admin", + "get", + "enterprise-contacts", + "details" + ], + "query": [ + { + "key": "enterpriseId", + "value": "504715565580029952" + } + ] + } + }, + "response": [] + } + ], + "protocolProfileBehavior": {} + }, + { + "name": "跟单王_企业", + "item": [ + { + "name": " 用户获取企业详情", + "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" + } + ], + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-user-center/get/enterprise/details", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "get", + "enterprise", + "details" + ] + } + }, + "response": [] + }, + { + "name": "用户获取企业对公账户", + "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" + } + ], + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-user-center/get/enterprise-corporate-account/details?enterpriseId=504360554933129216", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "get", + "enterprise-corporate-account", + "details" + ], + "query": [ + { + "key": "enterpriseId", + "value": "504360554933129216" + } + ] + } + }, + "response": [] + }, + { + "name": "获取企业私有账户列表", + "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" + } + ], + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-user-center/get/enterprise-private-account/list?enterpriseId=504360554933129216", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "get", + "enterprise-private-account", + "list" + ], + "query": [ + { + "key": "enterpriseId", + "value": "504360554933129216" + } + ] + } + }, + "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": "{{gdwtoken}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"email\": \"123@qniao.cn\",\r\n \"enterpriseId\": 504360554933129216,\r\n \"mobilePhone\": \"13800\",\r\n \"name\": \"大哥\",\r\n \"remark\": \"这个是备注\",\r\n \"telephone\": \"020-110\",\r\n \"wechatAccount\": \"WeChat\"\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-user-center/save/enterprise-contacts", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "save", + "enterprise-contacts" + ] + } + }, + "response": [] + }, + { + "name": "用户获取企业联系人详情", + "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" + } + ], + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-user-center/get/enterprise-contacts/details?enterpriseId=504360554933129216", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "get", + "enterprise-contacts", + "details" + ], + "query": [ + { + "key": "enterpriseId", + "value": "504360554933129216" + } + ] + } + }, + "response": [] + } + ], + "protocolProfileBehavior": {} + }, + { + "name": "跟单王_企业员工", + "item": [ + { + "name": "员工待审核列表", + "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" + } + ], + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-user-center/employees/check-pending/list?enterpriseId=504715565580029952", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "employees", + "check-pending", + "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": "{{gdwtoken}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"id\": 504716139813801984,\r\n \"status\": 1\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-user-center/employees/audit", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "employees", + "audit" + ] + } + }, + "response": [] + }, + { + "name": " 获取所有申请通过的员工", + "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" + } + ], + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-user-center/employees/get/all?enterpriseId=504360554933129216", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "employees", + "get", + "all" + ], + "query": [ + { + "key": "enterpriseId", + "value": "504360554933129216" + } + ] + } + }, + "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": "{{gdwtoken}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "\r\n" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-user-center/employees/get/details 暂时不用", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "employees", + "get", + "details 暂时不用" + ] + } + }, + "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": "{{gdwtoken}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"eemids\": [\r\n 504716139750887424\r\n ]\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-user-center/employees/administrator", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "employees", + "administrator" + ] + } + }, + "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": "{{gdwtoken}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-user-center/modify/employees/state?eemid=504716139750887424&status=0", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "modify", + "employees", + "state" + ], + "query": [ + { + "key": "eemid", + "value": "504716139750887424" + }, + { + "key": "status", + "value": "0" + } + ] + } + }, + "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": "{{gdwtoken}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"id\":504716139750887424,\r\n \"status\": 0,\r\n \"userName\": \"小弟\"\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-user-center/employees/update", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "employees", + "update" + ] + } + }, + "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": "{{gdwtoken}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"idList\": [\r\n \"504370998011891712\"\r\n ]\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-user-center/employees/delete", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-user-center", + "employees", + "delete" + ] + } + }, + "response": [] + } + ], + "protocolProfileBehavior": {} + }, + { + "name": "运营_工厂and设备", + "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 \"locCityId\": 440100,\r\n \"locDetail\": \"联合社区\",\r\n \"locDistrictId\": 440106,\r\n \"locProvinceId\": 440000,\r\n \"name\": \"千鸟工厂\"\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-cloud-factory/admin/add/factory", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "admin", + "add", + "factory" + ] + } + }, + "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": "{{yytoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-cloud-factory/admin/get/factory-list/of/504715565580029952", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "admin", + "get", + "factory-list", + "of", + "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\": 504729194060713984,\r\n \"enterpriseId\": 504715565580029952,\r\n \"locCityId\": 440100,\r\n \"locDetail\": \"联合社区\",\r\n \"locDistrictId\": 440106,\r\n \"locProvinceId\": 440000,\r\n \"name\": \"千鸟1工厂\"\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-cloud-factory/admin/update/factory", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "admin", + "update", + "factory" + ] + } + }, + "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 \"idList\": [\r\n \"504727778319536128\"\r\n ]\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-cloud-factory/admin/delete/factory/by-batch", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "admin", + "delete", + "factory", + "by-batch" + ] + } + }, + "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": "{{yytoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"capacity\": \"一天200\",\r\n \"factoryId\": 504729194060713984,\r\n \"model\": \"qniao\",\r\n \"name\": \"千鸟1号机\",\r\n \"processId\": 504437462521745408,\r\n \"processNodeTypeId\": 504704929756221440\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-cloud-factory/admin/create/machine", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "admin", + "create", + "machine" + ] + } + }, + "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": "{{yytoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-cloud-factory/admin/get/factory/504729194060713984/machine/list", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "admin", + "get", + "factory", + "504729194060713984", + "machine", + "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": "{{yytoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-cloud-factory/admin/get/machine/{id}", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "admin", + "get", + "machine", + "{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": "{{yytoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"id\": 0,\r\n \"capacity\": \"一天200\",\r\n \"factoryId\": 504729194060713984,\r\n \"model\": \"qniao\",\r\n \"name\": \"千鸟1号机\",\r\n \"processId\": 504437462521745408,\r\n \"processNodeTypeId\": 504704929756221440\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-cloud-factory/admin/update/machine", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "admin", + "update", + "machine" + ] + } + }, + "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": "{{yytoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-cloud-factory/admin/delete/machine/{id}", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "admin", + "delete", + "machine", + "{id}" + ] + } + }, + "response": [] + } + ], + "protocolProfileBehavior": {} + }, + { + "name": "运营_工序and工艺", + "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": "{{yytoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"name\": \"牛逼\"\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-cloud-factory/admin/add/process", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "admin", + "add", + "process" + ] + } + }, + "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": "{{yytoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-cloud-factory/admin/get/process-list", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "admin", + "get", + "process-list" + ] + } + }, + "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": "{{yytoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"id\": 504731712144674816,\r\n \"name\": \"1\"\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-cloud-factory/admin/update/process", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "admin", + "update", + "process" + ] + } + }, + "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": "{{yytoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"enable\": 1,\r\n \"idList\": [\r\n \"504731204315123712\"\r\n ]\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-cloud-factory/admin/enable-or-disable/process/by-batch", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "admin", + "enable-or-disable", + "process", + "by-batch" + ] + } + }, + "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": "{{yytoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"idList\": [\r\n \"504731712144674816\"\r\n ]\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-cloud-factory/admin/delete/process/by-batch", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "admin", + "delete", + "process", + "by-batch" + ] + } + }, + "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": "{{yytoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"name\": \"class\",\r\n \"processId\": 504731712144674816\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-cloud-factory/admin/add/process-node-type", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "admin", + "add", + "process-node-type" + ] + } + }, + "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": "{{yytoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-cloud-factory/admin/get/process-node-type-list", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "admin", + "get", + "process-node-type-list" + ] + } + }, + "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": "{{yytoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"id\": 504731790066454528,\r\n \"name\": \"2\",\r\n \"processId\": 504731712144674816\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-cloud-factory/admin/update/process-node-type", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "admin", + "update", + "process-node-type" + ] + } + }, + "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": "{{yytoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"enable\": 0,\r\n \"idList\": [\r\n \"504731790066454528\"\r\n ]\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-cloud-factory/admin/enable-or-disable/process-node-type/by-batch", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "admin", + "enable-or-disable", + "process-node-type", + "by-batch" + ] + } + }, + "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": "{{yytoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"idList\": [\r\n \"504731790066454528\"\r\n ]\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-admin-dev.qniao.cn/cloud-print-cloud-factory/admin/delete/process-node-type/by-batch", + "protocol": "http", + "host": [ + "api-cloudprint-admin-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "admin", + "delete", + "process-node-type", + "by-batch" + ] + } + }, + "response": [] + } + ], + "protocolProfileBehavior": {} + }, + { + "name": "跟单王_工厂and设备", + "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 \"id\": 504729194060713984,\r\n \"locCityId\": 440100,\r\n \"locDetail\": \"联合社区\",\r\n \"locDistrictId\": 440106,\r\n \"locProvinceId\": 440000,\r\n \"name\": \"千鸟工厂\"\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/update/factory", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "update", + "factory" + ] + } + }, + "response": [] + }, + { + "name": "获取工厂列表", + "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}}" + } + ], + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/factory-list", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "get", + "factory-list" + ] + } + }, + "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 \"capacity\": \"一天200\",\r\n \"factoryId\": 504729194060713984,\r\n \"model\": \"qniao\",\r\n \"name\": \"千鸟1号机\",\r\n \"processId\": 504437462521745408,\r\n \"processNodeTypeId\": 504704929756221440\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/create/machine", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "create", + "machine" + ] + } + }, + "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/factory/504729194060713984/machine/list", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "get", + "factory", + "504729194060713984", + "machine", + "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-cloud-factory/get/machine/{id}", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "get", + "machine", + "{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 \"capacity\": \"一天200\",\r\n \"factoryId\": 504729194060713984,\r\n \"model\": \"qniao\",\r\n \"name\": \"千鸟1号机\",\r\n \"processId\": 504437462521745408,\r\n \"processNodeTypeId\": 504704929756221440\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/update/machine", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "update", + "machine" + ] + } + }, + "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/delete/machine/{id}", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "delete", + "machine", + "{id}" + ] + } + }, + "response": [] + } + ], + "protocolProfileBehavior": {} + }, + { + "name": "跟单王_工序and工艺", + "item": [ + { + "name": "获取工序and工艺结构列表", + "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-tree", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "get", + "process-tree" + ] + } + }, + "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-list", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "get", + "process-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-cloud-factory/get/process-node-type-list/of/504437514996682752", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "get", + "process-node-type-list", + "of", + "504437514996682752" + ] + } + }, + "response": [] + } + ], + "protocolProfileBehavior": {} + }, + { + "name": "跟单王_设备用户表", + "item": [ + { + "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": "[\r\n {\r\n \"id\": 0,\r\n \"machineId\": 0,\r\n \"userId\": 0,\r\n \"userName\": 0\r\n }\r\n]" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/machine-user", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "get", + "machine-user" + ] + } + }, + "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 \"machineId\": 0,\r\n \"userMachineDtoList\": [\r\n {\r\n \"id\": 0,\r\n \"machineId\": 0,\r\n \"userId\": 0,\r\n \"userName\": 0\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/save/machine-user", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "save", + "machine-user" + ] + } + }, + "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 \"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\": \"大姐姐\",\r\n \"supplierEnterpriseId\": \"\",\r\n \"supplierEnterpriseName\": \"大姐姐企业\",\r\n \"totalOfferPrice\": \"\",\r\n \"totalSettlementPrice\": \"\"\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/save/purchasing-order/as-customer", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "save", + "purchasing-order", + "as-customer" + ] + } + }, + "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/my-enterprise/purchasing-order-list/by-customer", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "get", + "my-enterprise", + "purchasing-order-list", + "by-customer" + ] + } + }, + "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 \"customerContactsId\": \"\",\r\n \"customerContactsMobile\": \"13500135000\",\r\n \"customerContactsName\": \"小姐姐\",\r\n \"customerEnterpriseId\": \"\",\r\n \"customerEnterpriseName\": \"小姐姐的企业\",\r\n \"deliveryCityId\": \"440100\",\r\n \"deliveryCityName\": \"市\",\r\n \"deliveryDetails\": \"D栋408\",\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\": 888,\r\n \"productId\": \"\",\r\n \"productName\": \"产品名称\",\r\n \"quantity\": 88,\r\n \"remark\": \"备注\",\r\n \"status\": \"\",\r\n \"trimmedSize\": \"规格\",\r\n \"unit\": \"只\",\r\n \"unitPrice\": 888\r\n },\r\n {\r\n \"createTime\": \"\",\r\n \"deliveryDate\": \"2020-09-22\",\r\n \"imgUrlList\": [\r\n \"\"\r\n ],\r\n \"materialsRequirement\": \"材质要求\",\r\n \"offerPrice\": 888,\r\n \"productId\": \"\",\r\n \"productName\": \"产品名称\",\r\n \"quantity\": 88,\r\n \"remark\": \"备注\",\r\n \"status\": \"\",\r\n \"trimmedSize\": \"规格\",\r\n \"unit\": \"只\",\r\n \"unitPrice\": 888\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\": \"0\"\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/save/purchasing-order/as-supplier", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "save", + "purchasing-order", + "as-supplier" + ] + } + }, + "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/my-enterprise/purchasing-order-list/by-supplier", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "get", + "my-enterprise", + "purchasing-order-list", + "by-supplier" + ] + } + }, + "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 \"name\": \"string\"\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/my-enterprise/purchasing-order/505801288362102784", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "get", + "my-enterprise", + "purchasing-order", + "505801288362102784" + ] + } + }, + "response": [] + } + ], + "protocolProfileBehavior": {} + }, + { + "name": "跟单王_产品管理", + "item": [ + { + "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/enterprise-product/details?productId=505897269665599489", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "get", + "enterprise-product", + "details" + ], + "query": [ + { + "key": "productId", + "value": "505897269665599489" + } + ] + } + }, + "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-product/page", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "get", + "enterprise-product", + "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 \"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 \"proccessId\": 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}" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/submit/process-flow-design", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "submit", + "process-flow-design" + ] + } + }, + "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 \"processNodeList\": [\r\n {\r\n \"id\": 0,\r\n \"nextNodeId\": \"string\",\r\n \"nodeTypeId\": \"string\",\r\n \"nodeTypeName\": \"string\",\r\n \"nodeUnit\": \"string\",\r\n \"priorNodeId\": \"string\",\r\n \"processId\": 0,\r\n \"productId\": \"string\",\r\n \"quantity\": 0,\r\n \"quantityCompletion\": 0,\r\n \"remainingQuantity\": 0,\r\n \"remark\": \"string\",\r\n \"status\": \"string\",\r\n \"wipName\": \"string\",\r\n \"wipSize\": \"string\"\r\n }\r\n ],\r\n \"productId\": 0\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/submit/process-flow-design?processNodeId", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "submit", + "process-flow-design" + ], + "query": [ + { + "key": "processNodeId", + "value": null, + "description": "流程节点标识" + } + ] + } + }, + "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": "{{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", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "get", + "product", + "process-flow-design" + ], + "query": [ + { + "key": "productId", + "value": null, + "description": "产品标识" + } + ] + } + }, + "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 \"createManufactureOrderDtoList\": [\r\n {\r\n \"createTime\": \"2020-09-22T02:32:37.954Z\",\r\n \"finishDate\": \"2020-09-22T02:32:37.954Z\",\r\n \"id\": 0,\r\n \"machineId\": 0,\r\n \"nextNodeId\": \"string\",\r\n \"nodeTypeId\": \"string\",\r\n \"priorNodeId\": \"string\",\r\n \"processId\": 0,\r\n \"processNodeId\": 0,\r\n \"productId\": 0,\r\n \"productionQuantity\": 0,\r\n \"userId\": 0\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/save/manufacture-order/self-produce", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "save", + "manufacture-order", + "self-produce" + ] + } + }, + "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 \"createPurchasingOrderDTO\": {\r\n \"customerContactsId\": 0,\r\n \"customerContactsMobile\": \"string\",\r\n \"customerContactsName\": \"string\",\r\n \"customerEnterpriseId\": 0,\r\n \"customerEnterpriseName\": \"string\",\r\n \"deliveryCityId\": \"string\",\r\n \"deliveryCityName\": \"string\",\r\n \"deliveryDetails\": \"string\",\r\n \"deliveryDistrictId\": \"string\",\r\n \"deliveryDistrictName\": \"string\",\r\n \"deliveryMethod\": \"string\",\r\n \"deliveryProvinceId\": \"string\",\r\n \"deliveryProvinceName\": \"string\",\r\n \"id\": 0,\r\n \"merchandiser\": 0,\r\n \"packingMethond\": \"string\",\r\n \"paymentMethod\": \"string\",\r\n \"purchasingOrderItems\": [\r\n {\r\n \"createTime\": \"2020-09-22T02:35:13.961Z\",\r\n \"deliveryDate\": \"string\",\r\n \"imgUrlList\": [\r\n \"string\"\r\n ],\r\n \"materialsRequirement\": \"string\",\r\n \"offerPrice\": 0,\r\n \"productId\": \"string\",\r\n \"productName\": \"string\",\r\n \"quantity\": 0,\r\n \"remark\": \"string\",\r\n \"status\": \"string\",\r\n \"trimmedSize\": \"string\",\r\n \"unit\": \"string\",\r\n \"unitPrice\": 0\r\n }\r\n ],\r\n \"remark\": \"string\",\r\n \"supplierContactsId\": 0,\r\n \"supplierContactsMobile\": \"string\",\r\n \"supplierContactsName\": \"string\",\r\n \"supplierEnterpriseId\": 0,\r\n \"supplierEnterpriseName\": \"string\",\r\n \"totalOfferPrice\": 0,\r\n \"totalSettlementPrice\": 0\r\n },\r\n \"processNodeDto\": [\r\n {\r\n \"nextNodeId\": \"string\",\r\n \"nodeTypeId\": \"string\",\r\n \"priorNodeId\": \"string\",\r\n \"processId\": 0,\r\n \"processNodeId\": 0,\r\n \"productionQuantity\": 0,\r\n \"quantity\": 0,\r\n \"remark\": \"string\",\r\n \"wipName\": 0,\r\n \"wipSize\": \"string\"\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/save/procurement-order/outgoing-procurement", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "save", + "procurement-order", + "outgoing-procurement" + ] + } + }, + "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": "" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/enterprise-employees/production-order/list?status", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "get", + "enterprise-employees", + "production-order", + "list" + ], + "query": [ + { + "key": "status", + "value": null, + "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": "" + }, + "url": { + "raw": "http://api-cloudprint-dev.qniao.cn/cloud-print-cloud-factory/get/enterprise/production-order/details?id", + "protocol": "http", + "host": [ + "api-cloudprint-dev", + "qniao", + "cn" + ], + "path": [ + "cloud-print-cloud-factory", + "get", + "enterprise", + "production-order", + "details" + ], + "query": [ + { + "key": "id", + "value": null, + "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": "" + }, + "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": "获取流程节点关联单统计详情", + "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 \"processNodeId\": [\r\n \"string\"\r\n ],\r\n \"productId\": 0\r\n}" + }, + "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": [] + } + ], + "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": "获取生产任务工单", + "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 \"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": [] + } + ], + "protocolProfileBehavior": {} + } + ], + "protocolProfileBehavior": {} +} \ No newline at end of file diff --git a/postman/纸通宝测试环境.postman_collection.json b/postman/纸通宝测试环境.postman_collection.json new file mode 100644 index 0000000..033ffdc --- /dev/null +++ b/postman/纸通宝测试环境.postman_collection.json @@ -0,0 +1,4359 @@ +{ + "info": { + "_postman_id": "058e33d2-7037-4b9e-a91f-24e18e6af64c", + "name": "纸通宝测试环境", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" + }, + "item": [ + { + "name": "登录", + "item": [ + { + "name": "纸通宝app登录", + "event": [ + { + "listen": "test", + "script": { + "id": "f25b0ce8-f712-4231-ad4e-8f881334b9ab", + "exec": [ + "var result = pm.response.json().data.token\r", + "pm.environment.set(\"apptoken\",result);\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json;charset=UTF-8", + "type": "text" + }, + { + "key": "X-APP-ID", + "value": "1", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"account\": \"18219557422\",\r\n \"accountType\": \"MOBILE\",\r\n \"password\": \"dc483e80a7a0bd9ef71d8cf973673924\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/authorize/by-password", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "authorize", + "by-password" + ] + } + }, + "response": [] + }, + { + "name": "纸通宝后台登录", + "event": [ + { + "listen": "test", + "script": { + "id": "233a01b1-ce9e-480a-a7a9-393a31454379", + "exec": [ + "var result = pm.response.headers.get('Authorization')\r", + "pm.environment.set(\"token\", result);\r", + "\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/x-www-form-urlencoded", + "type": "text" + }, + { + "key": "X-APP-ID", + "value": " 1", + "type": "text" + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "key": "username", + "value": "liangjinman@qniao.cn", + "type": "text" + }, + { + "key": "password", + "value": "qn123456", + "type": "text" + } + ] + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/login", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "login" + ] + } + }, + "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": "QNT {{apptoken}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"contactPhoneNo\": \"18219557422\",\r\n \"contacts\": \"测试\",\r\n \"coverImgUrlList\": [\r\n \"http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/20090917463455009.jpg\"],\r\n \"locDetails\": \"车陂\",\r\n \"locDistrictId\": 440106,\r\n \"name\": \"测试店铺\"\r\n}" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/update/store-information", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "update", + "store-information" + ] + } + }, + "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": "QNT {{apptoken}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/get/store-information/{storeId}", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "get", + "store-information", + "{storeId}" + ] + } + }, + "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": "QNT {{apptoken}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"contactPhoneNo\": \"18219557422\",\r\n \"contacts\": \"测试\",\r\n \"coverImgUrlList\": [\r\n \"http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/20090917463455009.jpg\"],\r\n \"locDetails\": \"车陂\",\r\n \"locDistrictId\": 440106,\r\n \"name\": \"测试店铺\"\r\n}" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/edit/store-information", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "edit", + "store-information" + ] + } + }, + "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": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/stat/user", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "stat", + "user" + ] + } + }, + "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": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/stat/get/stat-user?startDate=2020-01-01&endDate=2020-09-15", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "stat", + "get", + "stat-user" + ], + "query": [ + { + "key": "startDate", + "value": "2020-01-01" + }, + { + "key": "endDate", + "value": "2020-09-15" + } + ] + } + }, + "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": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/stat/get/stat-vip?startDate=2020-01-01&endDate=2020-09-16", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "stat", + "get", + "stat-vip" + ], + "query": [ + { + "key": "startDate", + "value": "2020-01-01" + }, + { + "key": "endDate", + "value": "2020-09-16" + } + ] + } + }, + "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": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"description\": \"描述\",\r\n \"enable\": 1,\r\n \"id\": 0,\r\n \"level\": 1,\r\n \"name\": \"白纸\",\r\n \"parentId\": \"\"\r\n} ", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/store/create/paper", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "store", + "create", + "paper" + ] + } + }, + "response": [] + }, + { + "name": "获取纸品品类列表", + "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": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/store/get/paperCategoryList", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "store", + "get", + "paperCategoryList" + ] + } + }, + "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": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"description\": \"描述\",\r\n \"enable\": 1,\r\n \"id\": 0,\r\n \"level\": 1,\r\n \"name\": \"白纸\",\r\n \"parentId\": \"\"\r\n} ", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/store/update/paper", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "store", + "update", + "paper" + ] + } + }, + "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": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/store/update/paper-status/496396824362487808", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "store", + "update", + "paper-status", + "496396824362487808" + ] + } + }, + "response": [] + } + ], + "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": "QNT {{apptoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/share/get/product/501513092195291136", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "share", + "get", + "product", + "501513092195291136" + ] + } + }, + "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": "QNT {{apptoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/share/get/user-product/501513092195291136", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "share", + "get", + "user-product", + "501513092195291136" + ] + } + }, + "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": "QNT {{apptoken}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"bidType\": 1,\r\n \"biddingInterval\": \"\",\r\n \"coverImgUrl\": \"http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/20090917463455009.jpg\",\r\n \"description\": \"描述:这个是一口价商品\",\r\n \"dopantRate\": 2,\r\n \"firstCategoryId\": 12,\r\n \"imgList\": [\r\n \"http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/20090917463455009.jpg\"\r\n ],\r\n \"initialUnitPrice\": 100,\r\n \"locCityId\": 440100,\r\n \"locDetails\": \"车陂\",\r\n \"locDistrictId\": 440106,\r\n \"locProvinceId\": 440000,\r\n \"lowestNum\": 10,\r\n \"secondCategoryId\": 2,\r\n \"stock\": 1999,\r\n \"unitPrice\": 100,\r\n \"videoUrl\": \"\",\r\n \"waterRate\": 2\r\n}" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/create/product", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "create", + "product" + ] + } + }, + "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": "QNT {{apptoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/get/product-list", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "get", + "product-list" + ] + } + }, + "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": "QNT {{apptoken}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/get/product/501513092195291136", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "get", + "product", + "501513092195291136" + ] + } + }, + "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": "QNT {{apptoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"productId\": 501513092195291136,\r\n \"bidType\": 1,\r\n \"biddingInterval\": \"\",\r\n \"coverImgUrl\": \"http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/20090917463455009.jpg\",\r\n \"description\": \"描述:这个是一口价商品\",\r\n \"dopantRate\": 2,\r\n \"firstCategoryId\": 12,\r\n \"imgList\": [\r\n \"http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/20090917463455009.jpg\"\r\n ],\r\n \"initialUnitPrice\": 100,\r\n \"locCityId\": 440100,\r\n \"locDetails\": \"车陂\",\r\n \"locDistrictId\": 440106,\r\n \"locProvinceId\": 440000,\r\n \"lowestNum\": 10,\r\n \"secondCategoryId\": 2,\r\n \"stock\": 1999,\r\n \"unitPrice\": 100,\r\n \"videoUrl\": \"\",\r\n \"waterRate\": 2\r\n}" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/update/product", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "update", + "product" + ] + } + }, + "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": "QNT {{app{token}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"productId\": 501513092195291136\r\n}" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/delete/product", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "delete", + "product" + ] + } + }, + "response": [] + } + ], + "protocolProfileBehavior": {} + }, + { + "name": "客户和业务人员关系", + "item": [ + { + "name": "获取销售人员列表", + "request": { + "method": "GET", + "header": [ + { + "key": "X-APP-ID", + "value": "1", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/employer/list/employer-seller?name=梁金满", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "employer", + "list", + "employer-seller" + ], + "query": [ + { + "key": "name", + "value": "梁金满" + } + ] + } + }, + "response": [] + }, + { + "name": "后台查询客户与业务人员关系", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "X-APP-ID", + "value": "1", + "type": "text" + }, + { + "key": "Authorization", + "value": "Token ff213490f454502978d11d8d63a5eeae", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/customerbizrelation/get/relation/31", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "customerbizrelation", + "get", + "relation", + "31" + ] + } + }, + "response": [] + }, + { + "name": "后台新增客户与业务人员关系", + "event": [ + { + "listen": "test", + "script": { + "id": "b797e90e-b880-49dd-b80b-79dab286a5c1", + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "X-APP-ID", + "value": "1", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n\t\"bizUserId\": \"498985714734731264\",\r\n\t\"bizUserName\": \"梁金满\",\r\n\t\"cusormerId\": \"496029457996451840\",\r\n \"customerName\": \"梁金满\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/customerbizrelation/save/relation", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "customerbizrelation", + "save", + "relation" + ] + } + }, + "response": [] + }, + { + "name": "删除新增客户与业务人员关系", + "request": { + "method": "POST", + "header": [ + { + "key": "X-APP-ID", + "value": "1", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{token}}", + "type": "text" + } + ], + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/customerbizrelation/delete/relation/31", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "customerbizrelation", + "delete", + "relation", + "31" + ] + } + }, + "response": [] + }, + { + "name": "后台修改客户与业务人员关系", + "request": { + "method": "POST", + "header": [ + { + "key": "X-APP-ID", + "value": "1", + "type": "text" + }, + { + "key": "Authorization", + "value": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"bizUserId\": 498985714734731264,\r\n \"bizUserName\": \"梁金满\" ,\r\n \"id\": 1\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/customerbizrelation/update/relation", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "customerbizrelation", + "update", + "relation" + ] + } + }, + "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": "QNT {{apptoken}}", + "type": "text" + } + ], + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/proxy-sell/bind/relation?code=0051", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "proxy-sell", + "bind", + "relation" + ], + "query": [ + { + "key": "code", + "value": "0051" + } + ] + } + }, + "response": [] + }, + { + "name": "查询员工信息列表", + "event": [ + { + "listen": "test", + "script": { + "id": "25b5df8c-4e44-4c4c-a47b-c9ad0cbf4eca", + "exec": [ + "pm.test(\"Your test name\", function () {\r", + " var jsonData = pm.response.json();\r", + " pm.expect(jsonData.data.code).to.eql(\"0051\");\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "X-APP-ID", + "value": "1", + "type": "text" + }, + { + "key": "Authorization", + "value": "Token ff213490f454502978d11d8d63a5eeae", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://47.106.79.88:7006/recycle-service/admin/employee/get/list", + "protocol": "http", + "host": [ + "47", + "106", + "79", + "88" + ], + "port": "7006", + "path": [ + "recycle-service", + "admin", + "employee", + "get", + "list" + ], + "query": [ + { + "key": "", + "value": "", + "disabled": true + } + ] + } + }, + "response": [] + } + ], + "protocolProfileBehavior": {} + }, + { + "name": "代卖业务", + "item": [ + { + "name": "获取纸厂信息", + "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": "QNT {{apptoken}}", + "type": "text" + } + ], + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/get/paper-mill-paper-category-price-list", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "get", + "paper-mill-paper-category-price-list" + ] + } + }, + "response": [] + }, + { + "name": "获取纸厂信息详情", + "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": "{{token}}" + } + ], + "url": { + "raw": "http://api-admin-test.qniao.cn/recycle-service/admin/paperMill/get/paper-mill-details/498208038486937600", + "protocol": "http", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "paperMill", + "get", + "paper-mill-details", + "498208038486937600" + ] + } + }, + "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": "QNT {{apptoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"carInfos\": [\r\n {\r\n \"packageNum\": 1,\r\n \"plateNumber\": \"粤A123456\"\r\n }\r\n ],\r\n \"paperCategoryId\": 498475822026461184,\r\n \"totalEstimatedWeight\": 1000,\r\n \"deliveryTime\": \"2020-09-09 12:04:09\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/proxy-sell/create/order", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "proxy-sell", + "create", + "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": "QNT {{apptoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"paperMillId\": 498208038486937600\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/get/paper-category", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "get", + "paper-category" + ] + } + }, + "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": "QNT {{apptoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/proxy-sell/cancel/reservation/501382358327496704", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "proxy-sell", + "cancel", + "reservation", + "501382358327496704" + ] + } + }, + "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": "QNT {{apptoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/proxy-sell/cancel/order/501173434588467200", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "proxy-sell", + "cancel", + "order", + "501173434588467200" + ] + } + }, + "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": "{{token}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"millDeliveryOrderId\": \"202009140001\",\r\n \"millSupplierId\": \"498492951811461120\",\r\n \"scrapeOrderId\": \"502820690148331520\",\r\n \"buyerReservationDate\": \"2020-09-14\",\r\n \"unitSurcharge\": 0.05\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://api-admin-test.qniao.cn/recycle-service/admin/proxy-sell/update/reservation", + "protocol": "http", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "proxy-sell", + "update", + "reservation" + ] + } + }, + "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": "{{token}}" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://api-admin-test.qniao.cn/recycle-service/admin/proxy-sell/cancel/proxy-order?orderId =501102486468300800", + "protocol": "http", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "proxy-sell", + "cancel", + "proxy-order" + ], + "query": [ + { + "key": "orderId ", + "value": "501102486468300800" + } + ] + } + }, + "response": [] + }, + { + "name": "销售查看订单详情", + "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": "{{token}}" + } + ], + "url": { + "raw": "http://api-admin-test.qniao.cn/recycle-service/admin/proxy-sell/get/proxy-order/501460712674168832", + "protocol": "http", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "proxy-sell", + "get", + "proxy-order", + "501460712674168832" + ] + } + }, + "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": "{{token}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"deductedPoint\": 50,\r\n \"deductedWeight\": 1000,\r\n \"imageUrl\": [\r\n \"http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/20090917463455009.jpg\"\r\n ],\r\n \"netWeight\": 2000,\r\n \"orderItemId\": \"5014607126993346\",\r\n \"settleDay\": \"2020-09-10\",\r\n \"settlePrice\": 2499,\r\n \"settleUtiPrice\": 2500,\r\n \"settleWeight\": 1000,\r\n \"unitSurcharge\": 0.001,\r\n \"weightDay\": \"2020-09-09\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://api-admin-test.qniao.cn/recycle-service/admin/proxy-sell/save/weightnote", + "protocol": "http", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "proxy-sell", + "save", + "weightnote" + ] + } + }, + "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": "{{token}}" + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://api-admin-test.qniao.cn/recycle-service/admin/proxy-sell/audit/weightnote/501189522634182656", + "protocol": "http", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "proxy-sell", + "audit", + "weightnote", + "501189522634182656" + ] + } + }, + "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": "{{token}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"auditRequestItemId\": 501392373763411968,\r\n \"paperMillPayAt\": \"2020-09-03\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://api-admin-test.qniao.cn/recycle-service/admin/operation/edit/payment-date", + "protocol": "http", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "operation", + "edit", + "payment-date" + ] + } + }, + "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": "{\r\n \"menuIdList\": \"500747299283144704\",\r\n \"positionId\": 500764395257860096\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://api-admin-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit", + "protocol": "http", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "operation", + "get", + "paper-mill-order-receipt-audit" + ] + } + }, + "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": "{{token}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"deductedPoint\": 50,\r\n \"deductedWeight\": 1000,\r\n \"id\": \"502971570671718400\",\r\n \"imageUrl\": [\r\n \"http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/20090917463455009.jpg\"\r\n ],\r\n \"netWeight\": 2000,\r\n \"orderItemId\": \"501462195952029696\",\r\n \"settleDay\": \"2020-09-14\",\r\n \"settlePrice\": 2490,\r\n \"settleUtiPrice\": 2500,\r\n \"settleWeight\": 1000,\r\n \"surcharge\": 10,\r\n \"unitSurcharge\": 0.01,\r\n \"weightDay\": \"2020-09-15\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://api-admin-test.qniao.cn/recycle-service/admin/proxy-sell/update/weightnote", + "protocol": "http", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "proxy-sell", + "update", + "weightnote" + ] + } + }, + "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": "{{token}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"auditRequestId\": 501196221172551680,\r\n \"isPass\": 0\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://api-admin-test.qniao.cn/recycle-service/admin/operation/operation/audit", + "protocol": "http", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "operation", + "operation", + "audit" + ] + } + }, + "response": [] + } + ], + "protocolProfileBehavior": {} + }, + { + "name": "会员", + "item": [ + { + "name": "会员资费列表", + "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": "QNT {{apptoken}}", + "type": "text" + } + ], + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/member/get/member-expense-list", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "member", + "get", + "member-expense-list" + ] + } + }, + "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": "QNT {{apptoken}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"memberExpenseId\": 480800871886753792\r\n}" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/member/buy/member", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "member", + "buy", + "member" + ] + } + }, + "response": [] + } + ], + "protocolProfileBehavior": {} + }, + { + "name": "用户信息", + "item": [ + { + "name": "基本信息", + "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": "QNT {{apptoken}}", + "type": "text" + } + ], + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/user/get/base-info", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "user", + "get", + "base-info" + ] + } + }, + "response": [] + }, + { + "name": "会员信息", + "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": "QNT {{apptoken}}" + } + ], + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/user/get/member-info", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "user", + "get", + "member-info" + ] + } + }, + "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": "QNT {{apptoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"avatar\": \"\",\r\n \"nickname\": \"test\"\r\n}" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/user/update/member-info", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "user", + "update", + "member-info" + ] + } + }, + "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": "QNT {{apptoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"avatar\": \"\",\r\n \"nickname\": \"test\"\r\n}" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/user/update/member-info", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "user", + "update", + "member-info" + ] + } + }, + "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": "QNT {{apptoken}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"details\": \"车陂\",\r\n \"districtId\": 440106,\r\n \"isDefault\": 0,\r\n \"phone\": \"18219557422\",\r\n \"receiver\": \"测试\"\r\n}" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/create/shipping-address", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "create", + "shipping-address" + ] + } + }, + "response": [] + }, + { + "name": "获取收货地址列表", + "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": "QNT {{apptoken}}", + "type": "text" + } + ], + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/get/shipping-address-list", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "get", + "shipping-address-list" + ] + } + }, + "response": [] + }, + { + "name": "获取收货地址详情", + "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": "QNT {{apptoken}}", + "type": "text" + } + ], + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/get/shipping-address-details/1298553557582520321", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "get", + "shipping-address-details", + "1298553557582520321" + ] + } + }, + "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": "QNT {{apptoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"details\": \"车陂\",\r\n \"districtId\": 440106,\r\n \"isDefault\": 0,\r\n \"phone\": \"18219557422\",\r\n \"receiver\": \"测试\",\r\n \"shippingAddressId\": 1298553557582520321\r\n}" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/update/shipping-address", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "update", + "shipping-address" + ] + } + }, + "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": "QNT {{apptoken}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"shippingAddressId\": 1298553557582520321\r\n}" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/delete/shipping-address", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "delete", + "shipping-address" + ] + } + }, + "response": [] + } + ], + "protocolProfileBehavior": {} + }, + { + "name": "我的余额", + "item": [ + { + "name": "我的余额", + "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": "QNT {{apptoken}}" + } + ], + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/get/balance", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "get", + "balance" + ] + } + }, + "response": [] + }, + { + "name": "账单列表", + "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": "QNT {{apptoken}}", + "type": "text" + } + ], + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/get/bill-list", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "get", + "bill-list" + ] + } + }, + "response": [] + }, + { + "name": "账单详情", + "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": "QNT {{apptoken}}", + "type": "text" + } + ], + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/get/bill-detail/502939998706864128", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "get", + "bill-detail", + "502939998706864128" + ] + } + }, + "response": [] + }, + { + "name": "账单汇总", + "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": "QNT {{apptoken}}", + "type": "text" + } + ], + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/get/bill-overview", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "get", + "bill-overview" + ] + } + }, + "response": [] + } + ], + "protocolProfileBehavior": {} + }, + { + "name": "店铺结算", + "item": [ + { + "name": "结算列表", + "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": "QNT {{apptoken}}" + } + ], + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/store/get/store-settlement-list", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "store", + "get", + "store-settlement-list" + ] + } + }, + "response": [] + }, + { + "name": "结算汇总", + "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": "QNT {{apptoken}}" + } + ], + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/store/get/store-settlement-overview", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "store", + "get", + "store-settlement-overview" + ] + } + }, + "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": "{{token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"dailyMax\": 0,\r\n \"enable\": 0,\r\n \"eventName\": \"string\",\r\n \"iconUrl\": \"string\",\r\n \"id\": 0,\r\n \"linkUrl\": \"string\",\r\n \"point\": \"string\",\r\n \"timeRule\": 0\r\n}" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/point-task/save/point-task", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "point-task", + "save", + "point-task" + ] + } + }, + "response": [] + }, + { + "name": "后台查询积分任务列表", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "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" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/point-task/get/potn-task/list", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "point-task", + "get", + "potn-task", + "list" + ] + } + }, + "response": [] + }, + { + "name": "后台查询积分任务详情", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "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" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/point-task/get/point-task/{id}", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "point-task", + "get", + "point-task", + "{id}" + ] + } + }, + "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 \"dailyMax\": 0,\r\n \"enable\": 0,\r\n \"eventName\": \"string\",\r\n \"iconUrl\": \"string\",\r\n \"id\": 0,\r\n \"linkUrl\": \"string\",\r\n \"point\": \"string\",\r\n \"timeRule\": 0\r\n}" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/point-product/update/point-product/{id}", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "point-product", + "update", + "point-product", + "{id}" + ] + } + }, + "response": [] + }, + { + "name": "后台删除积分任务", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "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" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/point-task/delete/point-task/{id}", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "point-task", + "delete", + "point-task", + "{id}" + ] + } + }, + "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\": 0,\r\n \"imageUrl\": \"string\",\r\n \"name\": \"string\",\r\n \"price\": 0\r\n}" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/point-product/save/point-product", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "point-product", + "save", + "point-product" + ] + } + }, + "response": [] + }, + { + "name": "后台查询积分产品列表", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "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" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/point-product/get/point-product-list", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "point-product", + "get", + "point-product-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": "{{token}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/point-product/get/point-product/{id}", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "point-product", + "get", + "point-product", + "{id}" + ] + } + }, + "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\": 0,\r\n \"imageUrl\": \"string\",\r\n \"name\": \"string\",\r\n \"price\": 0\r\n}" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/point-task/update/point-task/{id}", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "point-task", + "update", + "point-task", + "{id}" + ] + } + }, + "response": [] + }, + { + "name": "后台删除积分产品", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "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" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/point-product/delete/point-product/{id}", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "point-product", + "delete", + "point-product", + "{id}" + ] + } + }, + "response": [] + }, + { + "name": "前台查询积分任务列表", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "X-APP-ID", + "value": "1", + "type": "text" + }, + { + "key": "Authorization", + "value": "QNT {{apptoken}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/point-product/get/point-product-list", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "point-product", + "get", + "point-product-list" + ] + } + }, + "response": [] + }, + { + "name": "前台查询积分产品列表", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "X-APP-ID", + "value": "1", + "type": "text" + }, + { + "key": "Authorization", + "value": "QNT {{apptoken}}", + "type": "text" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "https://api-test.qniao.cn/recycle-service/point-task/get/potn-task/list", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "point-task", + "get", + "potn-task", + "list" + ] + } + }, + "response": [] + } + ], + "protocolProfileBehavior": {} + }, + { + "name": "积分记录", + "item": [ + { + "name": "获取积分记录", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "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" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/userpointsearnedhistory/get/userpointsearnedhistory-list", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "userpointsearnedhistory", + "get", + "userpointsearnedhistory-list" + ] + } + }, + "response": [] + }, + { + "name": "获取积分兑换记录", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "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" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/userredeempointsorder/get/userredeempointsorder-list", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "userredeempointsorder", + "get", + "userredeempointsorder-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": "{{token}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"attentionsArrival\": \"还没有到货\",\r\n \"attentionsLoadingCar\": \"不用装车\",\r\n \"attentionsRegulations\": \"没有规定\",\r\n \"attentionsReportCar\": \"直接包车\",\r\n \"contacts\": \"\",\r\n \"enableSalesAgent\": 1,\r\n \"locDetails\": \"440100\",\r\n \"locDistrictId\": 440106,\r\n \"logoImg\": \"440106\",\r\n \"millSupplierNameList\": [\r\n {\r\n \"account\": \"张山\",\r\n \"merchantAccountId\": 498492951811461100\r\n }\r\n ],\r\n \"mobile\": \"\",\r\n \"name\": \"华为技术有限公司1\",\r\n \"paperMillCategories\": [\r\n {\r\n \"categoryName\": \"书本纸\",\r\n \"inspectionNote\": \"书本纸测试数据\",\r\n \"paperMillCategoryId\": 498492951777906688\r\n }\r\n ],\r\n \"shortName\": \"华为1\"\r\n}" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/paperMill/add/paper-mill", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "paperMill", + "add", + "paper-mill" + ] + } + }, + "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/paperMill/get/paper-mill-list", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "paperMill", + "get", + "paper-mill-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": "{{token}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/paperMill/get/paper-mill-details/{paperMillId}", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "paperMill", + "get", + "paper-mill-details", + "{paperMillId}" + ] + } + }, + "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 \"attentionsArrival\": \"还没有到货\",\r\n \"attentionsLoadingCar\": \"不用装车\",\r\n \"attentionsRegulations\": \"没有规定\",\r\n \"attentionsReportCar\": \"直接包车\",\r\n \"contacts\": \"\",\r\n \"enableSalesAgent\": 1,\r\n \"locDetails\": \"440100\",\r\n \"locDistrictId\": 440106,\r\n \"logoImg\": \"440106\",\r\n \"millSupplierNameList\": [\r\n {\r\n \"account\": \"张山\",\r\n \"merchantAccountId\": 498492951811461100\r\n }\r\n ],\r\n \"mobile\": \"\",\r\n \"name\": \"HUAWEI\",\r\n \"paperMillCategories\": [\r\n {\r\n \"categoryName\": \"书本纸\",\r\n \"inspectionNote\": \"书本纸测试数据\",\r\n \"paperMillCategoryId\": 498492951777906688\r\n }\r\n ],\r\n \"paperMillId\": 498492951731769344,\r\n \"shortName\": \"HUAWEI\"\r\n}" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/paperMill/update/paper-mill", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "paperMill", + "update", + "paper-mill" + ] + } + }, + "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 \"paperMillId\": 498492951731769344,\r\n \"retainedQuantity\": 80,\r\n \"time\": \"2020-09-16\",\r\n \"totalQuantity\": 28\r\n}" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/received-weight/add/daily-received-weight", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "received-weight", + "add", + "daily-received-weight" + ] + } + }, + "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/received-weight/get/daily-received-weight-list", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "received-weight", + "get", + "daily-received-weight-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": "{\r\n \"id\": 0,\r\n \"retainedQuantity\": 0,\r\n \"time\": \"string\",\r\n \"totalQuantity\": 0\r\n}" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/received-weight/update/daily-received-weight", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "received-weight", + "update", + "daily-received-weight" + ] + } + }, + "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/get/paper-mill-received-weight-trend?paperMillId=498492951731769344", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "get", + "paper-mill-received-weight-trend" + ], + "query": [ + { + "key": "paperMillId", + "value": "498492951731769344" + } + ] + } + }, + "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/get/all-paper-mill", + "protocol": "https", + "host": [ + "api-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "get", + "all-paper-mill" + ] + } + }, + "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 \"paperMillCategoryDetailsEntries\": [\r\n {\r\n \"paperCategoryId\": 0,\r\n \"paperCategoryName\": \"string\",\r\n \"unitPrice\": 0\r\n }\r\n ],\r\n \"paperMillId\": 0\r\n}" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/paperMillCategory/add/paper-mill-category-price", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "paperMillCategory", + "add", + "paper-mill-category-price" + ] + } + }, + "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 \"paperMillId\": 0\r\n}" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/paperMillCategory/get/paper-mill-category-price-last", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "paperMillCategory", + "get", + "paper-mill-category-price-last" + ] + } + }, + "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/paperMillCategory/get/paper-mill-category-price-list", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "paperMillCategory", + "get", + "paper-mill-category-price-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": "{{token}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/paperMillCategory/get/paper-mill-category-price-Details?paperMillId=纸厂id&time=日期", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "paperMillCategory", + "get", + "paper-mill-category-price-Details" + ], + "query": [ + { + "key": "paperMillId", + "value": "纸厂id" + }, + { + "key": "time", + "value": "日期" + } + ] + } + }, + "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 \"paperMillCategoryDetailsEntries\": [\r\n {\r\n \"paperCategoryId\": 0,\r\n \"paperCategoryName\": \"string\",\r\n \"unitPrice\": 0\r\n }\r\n ],\r\n \"paperMillId\": 0,\r\n \"time\": \"string\"\r\n}" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/paperMillCategory/update/paper-mill-category-price", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "paperMillCategory", + "update", + "paper-mill-category-price" + ] + } + }, + "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/paperMillCategory/get/paper-mill-category-price-status/{paperMillId}", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "paperMillCategory", + "get", + "paper-mill-category-price-status", + "{paperMillId}" + ] + } + }, + "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 \"priceStatusEntryList\": [\r\n {\r\n \"enable\": 0,\r\n \"paperMillCategoryId\": 0,\r\n \"unitPrice\": 0\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/paperMillCategory/update/paper-mill-category-price-status", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "paperMillCategory", + "update", + "paper-mill-category-price-status" + ] + } + }, + "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 \"paperCategoryDailyDeductionList\": [\r\n {\r\n \"paperCategoryId\": 0,\r\n \"points\": 0\r\n }\r\n ],\r\n \"paperMillId\": 0\r\n}" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/paperMillCategory/add/paper-mill/categories/daily-deduction-point", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "paperMillCategory", + "add", + "paper-mill", + "categories", + "daily-deduction-point" + ] + } + }, + "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/paperMillCategory/get/paper-mill/categories/daily-deduction-point-list", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "paperMillCategory", + "get", + "paper-mill", + "categories", + "daily-deduction-point-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": "{{token}}" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/paperMillCategory/get/paper-mill-category-price-list", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "paperMillCategory", + "get", + "paper-mill-category-price-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": "{\r\n \"paperCategoryDailyDeductionList\": [\r\n {\r\n \"paperCategoryId\": 0,\r\n \"points\": 0\r\n }\r\n ],\r\n \"paperMillId\": 0,\r\n \"time\": \"string\"\r\n}" + }, + "url": { + "raw": "https://api-admin-test.qniao.cn/recycle-service/admin/paperMillCategory/update/paper-mill/categories/daily-deduction-point", + "protocol": "https", + "host": [ + "api-admin-test", + "qniao", + "cn" + ], + "path": [ + "recycle-service", + "admin", + "paperMillCategory", + "update", + "paper-mill", + "categories", + "daily-deduction-point" + ] + } + }, + "response": [] + } + ], + "protocolProfileBehavior": {} + } + ], + "protocolProfileBehavior": {} +} \ No newline at end of file diff --git a/httprunner/.env b/recycle/.env similarity index 100% rename from httprunner/.env rename to recycle/.env diff --git a/httprunner/.gitignore b/recycle/.gitignore similarity index 100% rename from httprunner/.gitignore rename to recycle/.gitignore diff --git a/httprunner/api/api.yml b/recycle/api/api.yml similarity index 100% rename from httprunner/api/api.yml rename to recycle/api/api.yml diff --git a/httprunner/api/consignment_process/admin_operation_audit.yml b/recycle/api/consignment_process/admin_operation_audit.yml similarity index 100% rename from httprunner/api/consignment_process/admin_operation_audit.yml rename to recycle/api/consignment_process/admin_operation_audit.yml diff --git a/httprunner/api/consignment_process/admin_operation_edit_paymentdate.yml b/recycle/api/consignment_process/admin_operation_edit_paymentdate.yml similarity index 100% rename from httprunner/api/consignment_process/admin_operation_edit_paymentdate.yml rename to recycle/api/consignment_process/admin_operation_edit_paymentdate.yml diff --git a/httprunner/api/consignment_process/admin_operation_get_papermillorderreceiptaudit.yml b/recycle/api/consignment_process/admin_operation_get_papermillorderreceiptaudit.yml similarity index 100% rename from httprunner/api/consignment_process/admin_operation_get_papermillorderreceiptaudit.yml rename to recycle/api/consignment_process/admin_operation_get_papermillorderreceiptaudit.yml diff --git a/httprunner/api/consignment_process/admin_paperMill_get_papermilldetails.yml b/recycle/api/consignment_process/admin_paperMill_get_papermilldetails.yml similarity index 100% rename from httprunner/api/consignment_process/admin_paperMill_get_papermilldetails.yml rename to recycle/api/consignment_process/admin_paperMill_get_papermilldetails.yml diff --git a/httprunner/api/consignment_process/admin_proxysell_audit_weightnote.yml b/recycle/api/consignment_process/admin_proxysell_audit_weightnote.yml similarity index 100% rename from httprunner/api/consignment_process/admin_proxysell_audit_weightnote.yml rename to recycle/api/consignment_process/admin_proxysell_audit_weightnote.yml diff --git a/httprunner/api/consignment_process/admin_proxysell_cancel_proxyorder.yml b/recycle/api/consignment_process/admin_proxysell_cancel_proxyorder.yml similarity index 100% rename from httprunner/api/consignment_process/admin_proxysell_cancel_proxyorder.yml rename to recycle/api/consignment_process/admin_proxysell_cancel_proxyorder.yml diff --git a/httprunner/api/consignment_process/admin_proxysell_get_proxyorder.yml b/recycle/api/consignment_process/admin_proxysell_get_proxyorder.yml similarity index 100% rename from httprunner/api/consignment_process/admin_proxysell_get_proxyorder.yml rename to recycle/api/consignment_process/admin_proxysell_get_proxyorder.yml diff --git a/httprunner/api/consignment_process/admin_proxysell_save_weightnote.yml b/recycle/api/consignment_process/admin_proxysell_save_weightnote.yml similarity index 100% rename from httprunner/api/consignment_process/admin_proxysell_save_weightnote.yml rename to recycle/api/consignment_process/admin_proxysell_save_weightnote.yml diff --git a/httprunner/api/consignment_process/admin_proxysell_update_reservation.yml b/recycle/api/consignment_process/admin_proxysell_update_reservation.yml similarity index 100% rename from httprunner/api/consignment_process/admin_proxysell_update_reservation.yml rename to recycle/api/consignment_process/admin_proxysell_update_reservation.yml diff --git a/httprunner/api/consignment_process/app_get_papercategory.yml b/recycle/api/consignment_process/app_get_papercategory.yml similarity index 100% rename from httprunner/api/consignment_process/app_get_papercategory.yml rename to recycle/api/consignment_process/app_get_papercategory.yml diff --git a/recycle/api/consignment_process/app_get_papermilllist.yml b/recycle/api/consignment_process/app_get_papermilllist.yml new file mode 100644 index 0000000..9b72e78 --- /dev/null +++ b/recycle/api/consignment_process/app_get_papermilllist.yml @@ -0,0 +1,19 @@ +name: 获取纸厂信息列表 +variables: + code: 200 + message: successful + apptoken: ${ENV(ATOKEN)} + name: 联合社区 +base_url: ${ENV(AURL)} +request: + url: /recycle-service/get/paper-mill-list + method: GET + headers: + Content-Type: "application/json;charset=UTF-8" + X-APP-ID: "1" + Authorization: $apptoken + params: + name: $name +validate: + - eq: ["status_code", $code] + - {"check": "content.message", "comparator": "contains", "expect": $message} \ No newline at end of file diff --git a/httprunner/api/consignment_process/app_get_papermillpapercategorypricelist.yml b/recycle/api/consignment_process/app_get_papermillpapercategorypricelist.yml similarity index 90% rename from httprunner/api/consignment_process/app_get_papermillpapercategorypricelist.yml rename to recycle/api/consignment_process/app_get_papermillpapercategorypricelist.yml index 28ada25..c7d5d3e 100644 --- a/httprunner/api/consignment_process/app_get_papermillpapercategorypricelist.yml +++ b/recycle/api/consignment_process/app_get_papermillpapercategorypricelist.yml @@ -1,4 +1,4 @@ -name: 获取纸厂信息 +name: 获取纸厂信息列表 variables: code: 200 message: successful diff --git a/httprunner/api/consignment_process/app_proxysell_cancel_order.yml b/recycle/api/consignment_process/app_proxysell_cancel_order.yml similarity index 100% rename from httprunner/api/consignment_process/app_proxysell_cancel_order.yml rename to recycle/api/consignment_process/app_proxysell_cancel_order.yml diff --git a/httprunner/api/consignment_process/app_proxysell_cancel_reservation.yml b/recycle/api/consignment_process/app_proxysell_cancel_reservation.yml similarity index 100% rename from httprunner/api/consignment_process/app_proxysell_cancel_reservation.yml rename to recycle/api/consignment_process/app_proxysell_cancel_reservation.yml diff --git a/httprunner/api/consignment_process/app_proxysell_create_order.yml b/recycle/api/consignment_process/app_proxysell_create_order.yml similarity index 100% rename from httprunner/api/consignment_process/app_proxysell_create_order.yml rename to recycle/api/consignment_process/app_proxysell_create_order.yml diff --git a/httprunner/api/customer_and_business_relations/admin_customerbizrelation_delete_relation.yml b/recycle/api/customer_and_business_relations/admin_customerbizrelation_delete_relation.yml similarity index 100% rename from httprunner/api/customer_and_business_relations/admin_customerbizrelation_delete_relation.yml rename to recycle/api/customer_and_business_relations/admin_customerbizrelation_delete_relation.yml diff --git a/httprunner/api/customer_and_business_relations/admin_customerbizrelation_get_relation.yml b/recycle/api/customer_and_business_relations/admin_customerbizrelation_get_relation.yml similarity index 100% rename from httprunner/api/customer_and_business_relations/admin_customerbizrelation_get_relation.yml rename to recycle/api/customer_and_business_relations/admin_customerbizrelation_get_relation.yml diff --git a/httprunner/api/customer_and_business_relations/admin_customerbizrelation_save_relation.yml b/recycle/api/customer_and_business_relations/admin_customerbizrelation_save_relation.yml similarity index 100% rename from httprunner/api/customer_and_business_relations/admin_customerbizrelation_save_relation.yml rename to recycle/api/customer_and_business_relations/admin_customerbizrelation_save_relation.yml diff --git a/httprunner/api/customer_and_business_relations/admin_customerbizrelation_update_relation.yml b/recycle/api/customer_and_business_relations/admin_customerbizrelation_update_relation.yml similarity index 100% rename from httprunner/api/customer_and_business_relations/admin_customerbizrelation_update_relation.yml rename to recycle/api/customer_and_business_relations/admin_customerbizrelation_update_relation.yml diff --git a/httprunner/api/customer_and_business_relations/admin_employer_get_employerdetails.yml b/recycle/api/customer_and_business_relations/admin_employer_get_employerdetails.yml similarity index 100% rename from httprunner/api/customer_and_business_relations/admin_employer_get_employerdetails.yml rename to recycle/api/customer_and_business_relations/admin_employer_get_employerdetails.yml diff --git a/httprunner/api/customer_and_business_relations/admin_employer_list_employerseller.yml b/recycle/api/customer_and_business_relations/admin_employer_list_employerseller.yml similarity index 80% rename from httprunner/api/customer_and_business_relations/admin_employer_list_employerseller.yml rename to recycle/api/customer_and_business_relations/admin_employer_list_employerseller.yml index 46f34e5..f648161 100644 --- a/httprunner/api/customer_and_business_relations/admin_employer_list_employerseller.yml +++ b/recycle/api/customer_and_business_relations/admin_employer_list_employerseller.yml @@ -1,8 +1,9 @@ -name: 后台员工获取个人中心详情 +name: 后台员工获取销售人员列表 variables: code: 200 message: successful token: ${ENV(LDAPTOKEN)} + name: 梁金满 base_url: ${ENV(BURL)} request: url: /recycle-service/admin/employer/list/employer-seller @@ -10,6 +11,8 @@ request: headers: X-APP-ID: "1" Authorization: $token + params: + name: $name validate: - eq: ["status_code", $code] - {"check": "content.message", "comparator": "contains", "expect": $message} diff --git a/httprunner/api/customer_and_business_relations/app_proxysell_bind_relation.yml b/recycle/api/customer_and_business_relations/app_proxysell_bind_relation.yml similarity index 85% rename from httprunner/api/customer_and_business_relations/app_proxysell_bind_relation.yml rename to recycle/api/customer_and_business_relations/app_proxysell_bind_relation.yml index 942fd67..df3711c 100644 --- a/httprunner/api/customer_and_business_relations/app_proxysell_bind_relation.yml +++ b/recycle/api/customer_and_business_relations/app_proxysell_bind_relation.yml @@ -1,9 +1,9 @@ name: 创建客户销售绑定关系 variables: - code: 200 + status_code: 200 message: successful apptoken: ${ENV(ATOKEN)} - code: 0051 + code: "0051" base_url: ${ENV(AURL)} request: url: /recycle-service/proxy-sell/bind/relation @@ -15,5 +15,5 @@ request: params: code: $code validate: - - eq: ["status_code", $code] + - eq: ["status_code", $status_code] - {"check": "content.message", "comparator": "contains", "expect": $message} diff --git a/httprunner/api/login/admin_login_password.yml b/recycle/api/login/admin_login_password.yml similarity index 100% rename from httprunner/api/login/admin_login_password.yml rename to recycle/api/login/admin_login_password.yml diff --git a/httprunner/api/login/app_login_password.yml b/recycle/api/login/app_login_password.yml similarity index 93% rename from httprunner/api/login/app_login_password.yml rename to recycle/api/login/app_login_password.yml index f861b10..6c6dfb2 100644 --- a/httprunner/api/login/app_login_password.yml +++ b/recycle/api/login/app_login_password.yml @@ -3,6 +3,7 @@ variables: code: 200 message: successful account: 18219557422 + account1: 13500135000 accountType: MOBILE password: dc483e80a7a0bd9ef71d8cf973673924 base_url: ${ENV(AURL)} diff --git a/httprunner/api/login/ldap_login_password.yml b/recycle/api/login/ldap_login_password.yml similarity index 100% rename from httprunner/api/login/ldap_login_password.yml rename to recycle/api/login/ldap_login_password.yml diff --git a/httprunner/api/member/app_member_buymember.yml b/recycle/api/member/app_member_buymember.yml similarity index 100% rename from httprunner/api/member/app_member_buymember.yml rename to recycle/api/member/app_member_buymember.yml diff --git a/httprunner/api/member/app_member_getmemberexpenselist.yml b/recycle/api/member/app_member_getmemberexpenselist.yml similarity index 100% rename from httprunner/api/member/app_member_getmemberexpenselist.yml rename to recycle/api/member/app_member_getmemberexpenselist.yml diff --git a/httprunner/api/mybalance/app_get_balance.yml b/recycle/api/mybalance/app_get_balance.yml similarity index 100% rename from httprunner/api/mybalance/app_get_balance.yml rename to recycle/api/mybalance/app_get_balance.yml diff --git a/httprunner/api/mybalance/app_get_billdetail.yml b/recycle/api/mybalance/app_get_billdetail.yml similarity index 100% rename from httprunner/api/mybalance/app_get_billdetail.yml rename to recycle/api/mybalance/app_get_billdetail.yml diff --git a/httprunner/api/mybalance/app_get_billlist.yml b/recycle/api/mybalance/app_get_billlist.yml similarity index 100% rename from httprunner/api/mybalance/app_get_billlist.yml rename to recycle/api/mybalance/app_get_billlist.yml diff --git a/httprunner/api/mybalance/app_get_billoverview.yml b/recycle/api/mybalance/app_get_billoverview.yml similarity index 100% rename from httprunner/api/mybalance/app_get_billoverview.yml rename to recycle/api/mybalance/app_get_billoverview.yml diff --git a/httprunner/api/product/app_product_create.yml b/recycle/api/product/app_product_create.yml similarity index 100% rename from httprunner/api/product/app_product_create.yml rename to recycle/api/product/app_product_create.yml diff --git a/httprunner/api/product/app_product_delete.yml b/recycle/api/product/app_product_delete.yml similarity index 100% rename from httprunner/api/product/app_product_delete.yml rename to recycle/api/product/app_product_delete.yml diff --git a/httprunner/api/product/app_product_get.yml b/recycle/api/product/app_product_get.yml similarity index 100% rename from httprunner/api/product/app_product_get.yml rename to recycle/api/product/app_product_get.yml diff --git a/httprunner/api/product/app_product_getlist.yml b/recycle/api/product/app_product_getlist.yml similarity index 100% rename from httprunner/api/product/app_product_getlist.yml rename to recycle/api/product/app_product_getlist.yml diff --git a/httprunner/api/product/app_product_update.yml b/recycle/api/product/app_product_update.yml similarity index 100% rename from httprunner/api/product/app_product_update.yml rename to recycle/api/product/app_product_update.yml diff --git a/httprunner/api/share/share_get_product.yml b/recycle/api/share/share_get_product.yml similarity index 100% rename from httprunner/api/share/share_get_product.yml rename to recycle/api/share/share_get_product.yml diff --git a/httprunner/api/share/share_get_userproduct.yml b/recycle/api/share/share_get_userproduct.yml similarity index 100% rename from httprunner/api/share/share_get_userproduct.yml rename to recycle/api/share/share_get_userproduct.yml diff --git a/httprunner/api/shipping_address/app_create_shippingaddress.yml b/recycle/api/shipping_address/app_create_shippingaddress.yml similarity index 100% rename from httprunner/api/shipping_address/app_create_shippingaddress.yml rename to recycle/api/shipping_address/app_create_shippingaddress.yml diff --git a/httprunner/api/shipping_address/app_delete_shippingaddress.yml b/recycle/api/shipping_address/app_delete_shippingaddress.yml similarity index 100% rename from httprunner/api/shipping_address/app_delete_shippingaddress.yml rename to recycle/api/shipping_address/app_delete_shippingaddress.yml diff --git a/httprunner/api/shipping_address/app_get_shippingaddressdetails.yml b/recycle/api/shipping_address/app_get_shippingaddressdetails.yml similarity index 100% rename from httprunner/api/shipping_address/app_get_shippingaddressdetails.yml rename to recycle/api/shipping_address/app_get_shippingaddressdetails.yml diff --git a/httprunner/api/shipping_address/app_get_shippingaddresslist.yml b/recycle/api/shipping_address/app_get_shippingaddresslist.yml similarity index 100% rename from httprunner/api/shipping_address/app_get_shippingaddresslist.yml rename to recycle/api/shipping_address/app_get_shippingaddresslist.yml diff --git a/httprunner/api/shipping_address/app_update_shippingaddress.yml b/recycle/api/shipping_address/app_update_shippingaddress.yml similarity index 100% rename from httprunner/api/shipping_address/app_update_shippingaddress.yml rename to recycle/api/shipping_address/app_update_shippingaddress.yml diff --git a/httprunner/api/shop/app_shop_edit.yml b/recycle/api/shop/app_shop_edit.yml similarity index 100% rename from httprunner/api/shop/app_shop_edit.yml rename to recycle/api/shop/app_shop_edit.yml diff --git a/httprunner/api/shop/app_shop_getinfo.yml b/recycle/api/shop/app_shop_getinfo.yml similarity index 100% rename from httprunner/api/shop/app_shop_getinfo.yml rename to recycle/api/shop/app_shop_getinfo.yml diff --git a/httprunner/api/shop/app_shop_perfect.yml b/recycle/api/shop/app_shop_perfect.yml similarity index 100% rename from httprunner/api/shop/app_shop_perfect.yml rename to recycle/api/shop/app_shop_perfect.yml diff --git a/httprunner/api/shop_settlement/app_store_getstoresettlementlist.yml b/recycle/api/shop_settlement/app_store_getstoresettlementlist.yml similarity index 100% rename from httprunner/api/shop_settlement/app_store_getstoresettlementlist.yml rename to recycle/api/shop_settlement/app_store_getstoresettlementlist.yml diff --git a/httprunner/api/shop_settlement/app_store_getstoresettlementoverview.yml b/recycle/api/shop_settlement/app_store_getstoresettlementoverview.yml similarity index 100% rename from httprunner/api/shop_settlement/app_store_getstoresettlementoverview.yml rename to recycle/api/shop_settlement/app_store_getstoresettlementoverview.yml diff --git a/httprunner/api/statistics/admin_stat_getstatuser.yml b/recycle/api/statistics/admin_stat_getstatuser.yml similarity index 100% rename from httprunner/api/statistics/admin_stat_getstatuser.yml rename to recycle/api/statistics/admin_stat_getstatuser.yml diff --git a/httprunner/api/statistics/admin_stat_getstatvip.yml b/recycle/api/statistics/admin_stat_getstatvip.yml similarity index 100% rename from httprunner/api/statistics/admin_stat_getstatvip.yml rename to recycle/api/statistics/admin_stat_getstatvip.yml diff --git a/httprunner/api/statistics/admin_stat_user.yml b/recycle/api/statistics/admin_stat_user.yml similarity index 100% rename from httprunner/api/statistics/admin_stat_user.yml rename to recycle/api/statistics/admin_stat_user.yml diff --git a/httprunner/api/store_paper/admin_store_create_paper.yml b/recycle/api/store_paper/admin_store_create_paper.yml similarity index 100% rename from httprunner/api/store_paper/admin_store_create_paper.yml rename to recycle/api/store_paper/admin_store_create_paper.yml diff --git a/httprunner/api/store_paper/admin_store_get_paperCategoryList.yml b/recycle/api/store_paper/admin_store_get_paperCategoryList.yml similarity index 100% rename from httprunner/api/store_paper/admin_store_get_paperCategoryList.yml rename to recycle/api/store_paper/admin_store_get_paperCategoryList.yml diff --git a/httprunner/api/store_paper/admin_store_update_paper.yml b/recycle/api/store_paper/admin_store_update_paper.yml similarity index 100% rename from httprunner/api/store_paper/admin_store_update_paper.yml rename to recycle/api/store_paper/admin_store_update_paper.yml diff --git a/httprunner/api/store_paper/admin_store_update_paperstatus.yml b/recycle/api/store_paper/admin_store_update_paperstatus.yml similarity index 100% rename from httprunner/api/store_paper/admin_store_update_paperstatus.yml rename to recycle/api/store_paper/admin_store_update_paperstatus.yml diff --git a/httprunner/api/user_info/app_user_getbaseinfo.yml b/recycle/api/user_info/app_user_getbaseinfo.yml similarity index 100% rename from httprunner/api/user_info/app_user_getbaseinfo.yml rename to recycle/api/user_info/app_user_getbaseinfo.yml diff --git a/httprunner/api/user_info/app_user_getmemberinfo.yml b/recycle/api/user_info/app_user_getmemberinfo.yml similarity index 100% rename from httprunner/api/user_info/app_user_getmemberinfo.yml rename to recycle/api/user_info/app_user_getmemberinfo.yml diff --git a/httprunner/api/user_info/app_user_setsigninpassword.yml b/recycle/api/user_info/app_user_setsigninpassword.yml similarity index 100% rename from httprunner/api/user_info/app_user_setsigninpassword.yml rename to recycle/api/user_info/app_user_setsigninpassword.yml diff --git a/httprunner/api/user_info/app_user_updatememberinfo.yml b/recycle/api/user_info/app_user_updatememberinfo.yml similarity index 100% rename from httprunner/api/user_info/app_user_updatememberinfo.yml rename to recycle/api/user_info/app_user_updatememberinfo.yml diff --git a/httprunner/cases/case.yml b/recycle/cases/case.yml similarity index 100% rename from httprunner/cases/case.yml rename to recycle/cases/case.yml diff --git a/httprunner/cases/consignment_process/admin_operation_audit.yml b/recycle/cases/consignment_process/admin_operation_audit.yml similarity index 100% rename from httprunner/cases/consignment_process/admin_operation_audit.yml rename to recycle/cases/consignment_process/admin_operation_audit.yml diff --git a/httprunner/cases/consignment_process/admin_proxysell_save_weightnote.yml b/recycle/cases/consignment_process/admin_proxysell_save_weightnote.yml similarity index 100% rename from httprunner/cases/consignment_process/admin_proxysell_save_weightnote.yml rename to recycle/cases/consignment_process/admin_proxysell_save_weightnote.yml diff --git a/httprunner/cases/consignment_process/admin_proxysell_update_reservation.yml b/recycle/cases/consignment_process/admin_proxysell_update_reservation.yml similarity index 100% rename from httprunner/cases/consignment_process/admin_proxysell_update_reservation.yml rename to recycle/cases/consignment_process/admin_proxysell_update_reservation.yml diff --git a/httprunner/cases/consignment_process/app_proxysell_create_order.yml b/recycle/cases/consignment_process/app_proxysell_create_order.yml similarity index 100% rename from httprunner/cases/consignment_process/app_proxysell_create_order.yml rename to recycle/cases/consignment_process/app_proxysell_create_order.yml diff --git a/httprunner/cases/consignment_process/consignment_process.yml b/recycle/cases/consignment_process/consignment_process.yml similarity index 100% rename from httprunner/cases/consignment_process/consignment_process.yml rename to recycle/cases/consignment_process/consignment_process.yml diff --git a/httprunner/cases/customer_and_business_relations/admin_customerbizrelation_save_relation.yml b/recycle/cases/customer_and_business_relations/admin_customerbizrelation_save_relation.yml similarity index 100% rename from httprunner/cases/customer_and_business_relations/admin_customerbizrelation_save_relation.yml rename to recycle/cases/customer_and_business_relations/admin_customerbizrelation_save_relation.yml diff --git a/httprunner/cases/login/admin_login_password.yml b/recycle/cases/login/admin_login_password.yml similarity index 100% rename from httprunner/cases/login/admin_login_password.yml rename to recycle/cases/login/admin_login_password.yml diff --git a/httprunner/cases/login/app_login_password.yml b/recycle/cases/login/app_login_password.yml similarity index 100% rename from httprunner/cases/login/app_login_password.yml rename to recycle/cases/login/app_login_password.yml diff --git a/httprunner/cases/login/ldap_login_password.yml b/recycle/cases/login/ldap_login_password.yml similarity index 100% rename from httprunner/cases/login/ldap_login_password.yml rename to recycle/cases/login/ldap_login_password.yml diff --git a/httprunner/cases/member/app_member.yml b/recycle/cases/member/app_member.yml similarity index 100% rename from httprunner/cases/member/app_member.yml rename to recycle/cases/member/app_member.yml diff --git a/httprunner/cases/mybalance/app_mybalance.yml b/recycle/cases/mybalance/app_mybalance.yml similarity index 100% rename from httprunner/cases/mybalance/app_mybalance.yml rename to recycle/cases/mybalance/app_mybalance.yml diff --git a/httprunner/cases/product/app_product.yml b/recycle/cases/product/app_product.yml similarity index 100% rename from httprunner/cases/product/app_product.yml rename to recycle/cases/product/app_product.yml diff --git a/httprunner/cases/product/app_product_create.yml b/recycle/cases/product/app_product_create.yml similarity index 100% rename from httprunner/cases/product/app_product_create.yml rename to recycle/cases/product/app_product_create.yml diff --git a/httprunner/cases/product/app_product_delete.yml b/recycle/cases/product/app_product_delete.yml similarity index 100% rename from httprunner/cases/product/app_product_delete.yml rename to recycle/cases/product/app_product_delete.yml diff --git a/httprunner/cases/product/app_product_update.yml b/recycle/cases/product/app_product_update.yml similarity index 100% rename from httprunner/cases/product/app_product_update.yml rename to recycle/cases/product/app_product_update.yml diff --git a/httprunner/cases/share/app_share.yml b/recycle/cases/share/app_share.yml similarity index 100% rename from httprunner/cases/share/app_share.yml rename to recycle/cases/share/app_share.yml diff --git a/httprunner/cases/shipping_address/app_create_shippingaddress.yml b/recycle/cases/shipping_address/app_create_shippingaddress.yml similarity index 100% rename from httprunner/cases/shipping_address/app_create_shippingaddress.yml rename to recycle/cases/shipping_address/app_create_shippingaddress.yml diff --git a/httprunner/cases/shipping_address/app_delete_shippingaddress.yml b/recycle/cases/shipping_address/app_delete_shippingaddress.yml similarity index 100% rename from httprunner/cases/shipping_address/app_delete_shippingaddress.yml rename to recycle/cases/shipping_address/app_delete_shippingaddress.yml diff --git a/httprunner/cases/shipping_address/app_shipping_address.yml b/recycle/cases/shipping_address/app_shipping_address.yml similarity index 100% rename from httprunner/cases/shipping_address/app_shipping_address.yml rename to recycle/cases/shipping_address/app_shipping_address.yml diff --git a/httprunner/cases/shipping_address/app_update_shippingaddress.yml b/recycle/cases/shipping_address/app_update_shippingaddress.yml similarity index 100% rename from httprunner/cases/shipping_address/app_update_shippingaddress.yml rename to recycle/cases/shipping_address/app_update_shippingaddress.yml diff --git a/httprunner/cases/shop/app_shop.yml b/recycle/cases/shop/app_shop.yml similarity index 100% rename from httprunner/cases/shop/app_shop.yml rename to recycle/cases/shop/app_shop.yml diff --git a/httprunner/cases/shop/app_shop_edit.yml b/recycle/cases/shop/app_shop_edit.yml similarity index 100% rename from httprunner/cases/shop/app_shop_edit.yml rename to recycle/cases/shop/app_shop_edit.yml diff --git a/httprunner/cases/shop/app_shop_perfect.yml b/recycle/cases/shop/app_shop_perfect.yml similarity index 100% rename from httprunner/cases/shop/app_shop_perfect.yml rename to recycle/cases/shop/app_shop_perfect.yml diff --git a/httprunner/cases/shop_settlement/app_shop_settlement.yml b/recycle/cases/shop_settlement/app_shop_settlement.yml similarity index 100% rename from httprunner/cases/shop_settlement/app_shop_settlement.yml rename to recycle/cases/shop_settlement/app_shop_settlement.yml diff --git a/httprunner/cases/statistics/admin_statistics.yml b/recycle/cases/statistics/admin_statistics.yml similarity index 100% rename from httprunner/cases/statistics/admin_statistics.yml rename to recycle/cases/statistics/admin_statistics.yml diff --git a/httprunner/cases/store_paper/admin_store_create_paper.yml b/recycle/cases/store_paper/admin_store_create_paper.yml similarity index 100% rename from httprunner/cases/store_paper/admin_store_create_paper.yml rename to recycle/cases/store_paper/admin_store_create_paper.yml diff --git a/httprunner/cases/store_paper/admin_store_paper.yml b/recycle/cases/store_paper/admin_store_paper.yml similarity index 100% rename from httprunner/cases/store_paper/admin_store_paper.yml rename to recycle/cases/store_paper/admin_store_paper.yml diff --git a/httprunner/cases/store_paper/admin_store_update_paper.yml b/recycle/cases/store_paper/admin_store_update_paper.yml similarity index 100% rename from httprunner/cases/store_paper/admin_store_update_paper.yml rename to recycle/cases/store_paper/admin_store_update_paper.yml diff --git a/httprunner/cases/store_paper/admin_store_update_paperstatus.yml b/recycle/cases/store_paper/admin_store_update_paperstatus.yml similarity index 100% rename from httprunner/cases/store_paper/admin_store_update_paperstatus.yml rename to recycle/cases/store_paper/admin_store_update_paperstatus.yml diff --git a/httprunner/cases/user_info/app_user_getbaseinfo.yml b/recycle/cases/user_info/app_user_getbaseinfo.yml similarity index 100% rename from httprunner/cases/user_info/app_user_getbaseinfo.yml rename to recycle/cases/user_info/app_user_getbaseinfo.yml diff --git a/httprunner/cases/user_info/app_user_getmemberinfo.yml b/recycle/cases/user_info/app_user_getmemberinfo.yml similarity index 100% rename from httprunner/cases/user_info/app_user_getmemberinfo.yml rename to recycle/cases/user_info/app_user_getmemberinfo.yml diff --git a/httprunner/cases/user_info/app_user_setsigninpassword.yml b/recycle/cases/user_info/app_user_setsigninpassword.yml similarity index 100% rename from httprunner/cases/user_info/app_user_setsigninpassword.yml rename to recycle/cases/user_info/app_user_setsigninpassword.yml diff --git a/httprunner/cases/user_info/app_user_updatememberinfo.yml b/recycle/cases/user_info/app_user_updatememberinfo.yml similarity index 100% rename from httprunner/cases/user_info/app_user_updatememberinfo.yml rename to recycle/cases/user_info/app_user_updatememberinfo.yml diff --git a/httprunner/debugtalk.py b/recycle/debugtalk.py similarity index 100% rename from httprunner/debugtalk.py rename to recycle/debugtalk.py diff --git a/httprunner/steps/consignment_process/admin_operation_audit.yml b/recycle/steps/consignment_process/admin_operation_audit.yml similarity index 100% rename from httprunner/steps/consignment_process/admin_operation_audit.yml rename to recycle/steps/consignment_process/admin_operation_audit.yml diff --git a/httprunner/steps/consignment_process/admin_proxysell_save_weightnote.yml b/recycle/steps/consignment_process/admin_proxysell_save_weightnote.yml similarity index 100% rename from httprunner/steps/consignment_process/admin_proxysell_save_weightnote.yml rename to recycle/steps/consignment_process/admin_proxysell_save_weightnote.yml diff --git a/httprunner/steps/consignment_process/admin_proxysell_update_reservation.yml b/recycle/steps/consignment_process/admin_proxysell_update_reservation.yml similarity index 100% rename from httprunner/steps/consignment_process/admin_proxysell_update_reservation.yml rename to recycle/steps/consignment_process/admin_proxysell_update_reservation.yml diff --git a/httprunner/steps/consignment_process/app_proxysell_create_order.yml b/recycle/steps/consignment_process/app_proxysell_create_order.yml similarity index 100% rename from httprunner/steps/consignment_process/app_proxysell_create_order.yml rename to recycle/steps/consignment_process/app_proxysell_create_order.yml diff --git a/httprunner/steps/consignment_process/consignment_process.yml b/recycle/steps/consignment_process/consignment_process.yml similarity index 95% rename from httprunner/steps/consignment_process/consignment_process.yml rename to recycle/steps/consignment_process/consignment_process.yml index c15eb5d..cc70d71 100644 --- a/httprunner/steps/consignment_process/consignment_process.yml +++ b/recycle/steps/consignment_process/consignment_process.yml @@ -14,11 +14,11 @@ teststeps: - name: app用户获取纸厂id - api: api/consignment_process/app_get_papermillpapercategorypricelist.yml + api: api/consignment_process/app_get_papermilllist.yml variables: apptoken: QNT $apptoken extract: - paperMillId: content.data.records.1.paperMillId + paperMillId: content.data.records.0.id - name: app用户获取纸厂品类id api: api/consignment_process/app_get_papercategory.yml diff --git a/httprunner/steps/customer_and_business_relations/admin_customerbizrelation_relation.yml b/recycle/steps/customer_and_business_relations/admin_customerbizrelation_relation.yml similarity index 79% rename from httprunner/steps/customer_and_business_relations/admin_customerbizrelation_relation.yml rename to recycle/steps/customer_and_business_relations/admin_customerbizrelation_relation.yml index 7977e87..38769aa 100644 --- a/httprunner/steps/customer_and_business_relations/admin_customerbizrelation_relation.yml +++ b/recycle/steps/customer_and_business_relations/admin_customerbizrelation_relation.yml @@ -15,8 +15,7 @@ teststeps: extract: - bizUserId: content.data.0.adminId - bizUserName: content.data.0.name - - bizUserId1: content.data.1.adminId - - bizUserName1: content.data.1.name + - name: app密码登录获取token @@ -26,7 +25,7 @@ teststeps: - name: 获取app用户基本信息的id和name - api: api/user_info/app_user_getinfo.yml + api: api/user_info/app_user_getbaseinfo.yml variables: apptoken: QNT $apptoken extract: @@ -34,13 +33,7 @@ teststeps: - customerName: content.data.realName - name: 后台新增客户与业务人员关系成功 - api: api/customer_and_business_relations/admin_customerbizrelation_save_relation.yml - variables: - token: $token - bizUserId: $bizUserId - bizUserName: $bizUserName - cusormerId: $cusormerId - customerName: $customerName + api: api/customer_and_business_relations/app_proxysell_bind_relation.yml extract: - id: content.data.id - @@ -55,8 +48,8 @@ teststeps: api: api/customer_and_business_relations/admin_customerbizrelation_update_relation.yml variables: token: $token - bizUserId: $bizUserId1 - bizUserName: $bizUserName1 + bizUserId: $bizUserId + bizUserName: $bizUserName id: $id - name: 后台删除客户与业务人员关系成功 diff --git a/httprunner/steps/customer_and_business_relations/admin_customerbizrelation_save_relation.yml b/recycle/steps/customer_and_business_relations/admin_customerbizrelation_save_relation.yml similarity index 100% rename from httprunner/steps/customer_and_business_relations/admin_customerbizrelation_save_relation.yml rename to recycle/steps/customer_and_business_relations/admin_customerbizrelation_save_relation.yml diff --git a/httprunner/steps/customer_and_business_relations/admin_customerbizrelation_update_relation.yml b/recycle/steps/customer_and_business_relations/admin_customerbizrelation_update_relation.yml similarity index 100% rename from httprunner/steps/customer_and_business_relations/admin_customerbizrelation_update_relation.yml rename to recycle/steps/customer_and_business_relations/admin_customerbizrelation_update_relation.yml diff --git a/httprunner/steps/login/admin_login_password.yml b/recycle/steps/login/admin_login_password.yml similarity index 100% rename from httprunner/steps/login/admin_login_password.yml rename to recycle/steps/login/admin_login_password.yml diff --git a/httprunner/steps/login/app_login_password.yml b/recycle/steps/login/app_login_password.yml similarity index 100% rename from httprunner/steps/login/app_login_password.yml rename to recycle/steps/login/app_login_password.yml diff --git a/httprunner/steps/login/ldap_login_password.yml b/recycle/steps/login/ldap_login_password.yml similarity index 100% rename from httprunner/steps/login/ldap_login_password.yml rename to recycle/steps/login/ldap_login_password.yml diff --git a/httprunner/steps/member/app_member.yml b/recycle/steps/member/app_member.yml similarity index 100% rename from httprunner/steps/member/app_member.yml rename to recycle/steps/member/app_member.yml diff --git a/httprunner/steps/mybalance/app_mybalance.yml b/recycle/steps/mybalance/app_mybalance.yml similarity index 100% rename from httprunner/steps/mybalance/app_mybalance.yml rename to recycle/steps/mybalance/app_mybalance.yml diff --git a/httprunner/steps/product/app_product.yml b/recycle/steps/product/app_product.yml similarity index 100% rename from httprunner/steps/product/app_product.yml rename to recycle/steps/product/app_product.yml diff --git a/httprunner/steps/product/app_product_create.yml b/recycle/steps/product/app_product_create.yml similarity index 100% rename from httprunner/steps/product/app_product_create.yml rename to recycle/steps/product/app_product_create.yml diff --git a/httprunner/steps/product/app_product_delete.yml b/recycle/steps/product/app_product_delete.yml similarity index 100% rename from httprunner/steps/product/app_product_delete.yml rename to recycle/steps/product/app_product_delete.yml diff --git a/httprunner/steps/product/app_product_update.yml b/recycle/steps/product/app_product_update.yml similarity index 100% rename from httprunner/steps/product/app_product_update.yml rename to recycle/steps/product/app_product_update.yml diff --git a/httprunner/steps/share/app_share.yml b/recycle/steps/share/app_share.yml similarity index 100% rename from httprunner/steps/share/app_share.yml rename to recycle/steps/share/app_share.yml diff --git a/httprunner/steps/shipping_address/app_create_shippingaddress.yml b/recycle/steps/shipping_address/app_create_shippingaddress.yml similarity index 100% rename from httprunner/steps/shipping_address/app_create_shippingaddress.yml rename to recycle/steps/shipping_address/app_create_shippingaddress.yml diff --git a/httprunner/steps/shipping_address/app_delete_shippingaddress.yml b/recycle/steps/shipping_address/app_delete_shippingaddress.yml similarity index 100% rename from httprunner/steps/shipping_address/app_delete_shippingaddress.yml rename to recycle/steps/shipping_address/app_delete_shippingaddress.yml diff --git a/httprunner/steps/shipping_address/app_get_shippingaddressdetails.yml b/recycle/steps/shipping_address/app_get_shippingaddressdetails.yml similarity index 100% rename from httprunner/steps/shipping_address/app_get_shippingaddressdetails.yml rename to recycle/steps/shipping_address/app_get_shippingaddressdetails.yml diff --git a/httprunner/steps/shipping_address/app_get_shippingaddresslist.yml b/recycle/steps/shipping_address/app_get_shippingaddresslist.yml similarity index 100% rename from httprunner/steps/shipping_address/app_get_shippingaddresslist.yml rename to recycle/steps/shipping_address/app_get_shippingaddresslist.yml diff --git a/httprunner/steps/shipping_address/app_shipping_address.yml b/recycle/steps/shipping_address/app_shipping_address.yml similarity index 100% rename from httprunner/steps/shipping_address/app_shipping_address.yml rename to recycle/steps/shipping_address/app_shipping_address.yml diff --git a/httprunner/steps/shipping_address/app_update_shippingaddress.yml b/recycle/steps/shipping_address/app_update_shippingaddress.yml similarity index 100% rename from httprunner/steps/shipping_address/app_update_shippingaddress.yml rename to recycle/steps/shipping_address/app_update_shippingaddress.yml diff --git a/httprunner/steps/shop/app_shop.yml b/recycle/steps/shop/app_shop.yml similarity index 100% rename from httprunner/steps/shop/app_shop.yml rename to recycle/steps/shop/app_shop.yml diff --git a/httprunner/steps/shop/app_shop_edit.yml b/recycle/steps/shop/app_shop_edit.yml similarity index 100% rename from httprunner/steps/shop/app_shop_edit.yml rename to recycle/steps/shop/app_shop_edit.yml diff --git a/httprunner/steps/shop/app_shop_perfect.yml b/recycle/steps/shop/app_shop_perfect.yml similarity index 100% rename from httprunner/steps/shop/app_shop_perfect.yml rename to recycle/steps/shop/app_shop_perfect.yml diff --git a/httprunner/steps/shop_settlement/app_shop_settlement.yml b/recycle/steps/shop_settlement/app_shop_settlement.yml similarity index 100% rename from httprunner/steps/shop_settlement/app_shop_settlement.yml rename to recycle/steps/shop_settlement/app_shop_settlement.yml diff --git a/httprunner/steps/statistics/admin_statistics.yml b/recycle/steps/statistics/admin_statistics.yml similarity index 100% rename from httprunner/steps/statistics/admin_statistics.yml rename to recycle/steps/statistics/admin_statistics.yml diff --git a/httprunner/steps/step.yml b/recycle/steps/step.yml similarity index 100% rename from httprunner/steps/step.yml rename to recycle/steps/step.yml diff --git a/httprunner/steps/store_paper/admin_store_create_paper.yml b/recycle/steps/store_paper/admin_store_create_paper.yml similarity index 100% rename from httprunner/steps/store_paper/admin_store_create_paper.yml rename to recycle/steps/store_paper/admin_store_create_paper.yml diff --git a/httprunner/steps/store_paper/admin_store_paper.yml b/recycle/steps/store_paper/admin_store_paper.yml similarity index 100% rename from httprunner/steps/store_paper/admin_store_paper.yml rename to recycle/steps/store_paper/admin_store_paper.yml diff --git a/httprunner/steps/store_paper/admin_store_update_paper.yml b/recycle/steps/store_paper/admin_store_update_paper.yml similarity index 100% rename from httprunner/steps/store_paper/admin_store_update_paper.yml rename to recycle/steps/store_paper/admin_store_update_paper.yml diff --git a/httprunner/steps/store_paper/admin_store_update_paperstatus.yml b/recycle/steps/store_paper/admin_store_update_paperstatus.yml similarity index 100% rename from httprunner/steps/store_paper/admin_store_update_paperstatus.yml rename to recycle/steps/store_paper/admin_store_update_paperstatus.yml diff --git a/httprunner/steps/user_info/app_user_getinfo.yml b/recycle/steps/user_info/app_user_getinfo.yml similarity index 84% rename from httprunner/steps/user_info/app_user_getinfo.yml rename to recycle/steps/user_info/app_user_getinfo.yml index a89eeba..c772f01 100644 --- a/httprunner/steps/user_info/app_user_getinfo.yml +++ b/recycle/steps/user_info/app_user_getinfo.yml @@ -8,6 +8,6 @@ teststeps: - apptoken: content.data.token - name: 获取app用户基本信息 - api: api/user_info/app_user_getinfo.yml + api: api/user_info/app_user_getbaseinfo.yml variables: apptoken: QNT $apptoken diff --git a/httprunner/steps/user_info/app_user_getmemberinfo.yml b/recycle/steps/user_info/app_user_getmemberinfo.yml similarity index 100% rename from httprunner/steps/user_info/app_user_getmemberinfo.yml rename to recycle/steps/user_info/app_user_getmemberinfo.yml diff --git a/httprunner/steps/user_info/app_user_setsigninpassword.yml b/recycle/steps/user_info/app_user_setsigninpassword.yml similarity index 100% rename from httprunner/steps/user_info/app_user_setsigninpassword.yml rename to recycle/steps/user_info/app_user_setsigninpassword.yml diff --git a/httprunner/steps/user_info/app_user_updatememberinfo.yml b/recycle/steps/user_info/app_user_updatememberinfo.yml similarity index 100% rename from httprunner/steps/user_info/app_user_updatememberinfo.yml rename to recycle/steps/user_info/app_user_updatememberinfo.yml