Commit 59fbedf2 by zhangjingdong

添加优化活动脚本

parent 17683e04
No preview for this file type
{ {
{ {
"info": { "info": {
"_postman_id": "74f78d95-8179-4955-8690-8d377ebf87d2", "_postman_id": "e2b28eb5-603b-4c4e-91f9-0bfbc49df168",
"name": "公告", "name": "公告",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
}, },
...@@ -49,8 +49,7 @@ ...@@ -49,8 +49,7 @@
"header": [ "header": [
{ {
"key": "Content-Type", "key": "Content-Type",
"value": "application/json", "value": "application/json"
"disabled": false
} }
], ],
"body": { "body": {
...@@ -67,10 +66,18 @@ ...@@ -67,10 +66,18 @@
{ {
"listen": "test", "listen": "test",
"script": { "script": {
"id": "e4fc5315-c305-4584-ad3d-af98a2344dd3", "id": "19108a03-3979-42b4-ad24-3b129ea8f4e9",
"type": "text/javascript", "type": "text/javascript",
"exec": [ "exec": [
"" "var jsonData = JSON.parse(responseBody);",
"if(jsonData.code === \"0\")",
"{",
" tests[\"code\"] = true;",
"}",
"else{",
" console.log(\"接口返回错误:\"+jsonData.msg);",
" tests[\"code\"+jsonData.msg]=false;",
"}"
] ]
} }
} }
...@@ -97,6 +104,26 @@ ...@@ -97,6 +104,26 @@
}, },
{ {
"name": "app获取公告列表,根据小镇", "name": "app获取公告列表,根据小镇",
"event": [
{
"listen": "test",
"script": {
"id": "6547ca92-2273-499d-b7bd-dd5551fb02f3",
"type": "text/javascript",
"exec": [
"var jsonData = JSON.parse(responseBody);",
"if(jsonData.code === \"0\")",
"{",
" tests[\"code\"] = true;",
"}",
"else{",
" console.log(\"接口返回错误:\"+jsonData.msg);",
" tests[\"code\"+jsonData.msg]=false;",
"}"
]
}
}
],
"request": { "request": {
"method": "GET", "method": "GET",
"header": [ "header": [
......
{ {
{ {
"variables": [],
"info": { "info": {
"_postman_id": "80821847-e55a-4729-836f-77eff184865c",
"name": "推荐位", "name": "推荐位",
"_postman_id": "a922a9c2-c0d4-8c50-45d4-2a54947151d8",
"description": "",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
}, },
"item": [ "item": [
...@@ -36,20 +34,18 @@ ...@@ -36,20 +34,18 @@
} }
], ],
"request": { "request": {
"url": "{{gateway-user}}/app/login",
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
"key": "Content-Type", "key": "Content-Type",
"value": "application/json", "value": "application/json"
"description": ""
} }
], ],
"body": { "body": {
"mode": "raw", "mode": "raw",
"raw": "{\n \"userPhone\": {{user_phone}},\n \"userPassword\": \"ywb123\",\n \"equipment\": \"32bba7423e5f3feca\",\n \"channelId\": 1\n}" "raw": "{\n \"userPhone\": {{user_phone}},\n \"userPassword\": \"ywb123\",\n \"equipment\": \"32bba7423e5f3feca\",\n \"channelId\": 1\n}"
}, },
"description": "" "url": "{{gateway-user}}/app/login"
}, },
"response": [] "response": []
}, },
...@@ -59,6 +55,7 @@ ...@@ -59,6 +55,7 @@
{ {
"listen": "test", "listen": "test",
"script": { "script": {
"id": "359ff52c-2a24-49a2-b485-de8b802f66f0",
"type": "text/javascript", "type": "text/javascript",
"exec": [ "exec": [
"var jsonData = JSON.parse(responseBody);", "var jsonData = JSON.parse(responseBody);",
...@@ -67,17 +64,22 @@ ...@@ -67,17 +64,22 @@
" tests[\"accountId\"] = true;", " tests[\"accountId\"] = true;",
" postman.setEnvironmentVariable(\"account_Id\",jsonData.data.accountId);", " postman.setEnvironmentVariable(\"account_Id\",jsonData.data.accountId);",
" ", " ",
"}",
"else{",
" tests[\"accountId\"+jsonData.msg]=false;",
"}" "}"
] ]
} }
} }
], ],
"request": { "request": {
"url": " {{gateway-user}}/user/userinfo/phone/{{user_phone}}",
"method": "GET", "method": "GET",
"header": [], "header": [],
"body": {}, "body": {
"description": "" "mode": "raw",
"raw": ""
},
"url": "{{gateway-user}}/user/userinfo/phone/{{user_phone}}"
}, },
"response": [] "response": []
}, },
...@@ -104,25 +106,46 @@ ...@@ -104,25 +106,46 @@
} }
], ],
"request": { "request": {
"url": "{{gateway-user}}/recommendation/town/app/list/by/condition/?p=1&c=20",
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
"key": "access-token", "key": "access-token",
"value": "{{access-Token}}", "value": "{{access-Token}}"
"description": ""
}, },
{ {
"key": "Content-Type", "key": "Content-Type",
"value": "application/json", "value": "application/json"
"description": ""
} }
], ],
"body": { "body": {
"mode": "raw", "mode": "raw",
"raw": "{\r\n \"townId\": 58,\r\n \"accountId\": {{account_Id}},\r\n \"blockType\": \"ENTERPRISE\",\r\n \"range\": \"PAGE\",\r\n \"status\": \"ENABLE\"\r\n}" "raw": "{\r\n \"townId\": 58,\r\n \"accountId\": {{account_Id}},\r\n \"blockType\": \"ENTERPRISE\",\r\n \"range\": \"PAGE\",\r\n \"status\": \"ENABLE\"\r\n}"
}, },
"description": "" "url": {
"raw": "{{gateway-user}}/recommendation/town/app/list/by/condition/?p=1&c=20",
"host": [
"{{gateway-user}}"
],
"path": [
"recommendation",
"town",
"app",
"list",
"by",
"condition",
""
],
"query": [
{
"key": "p",
"value": "1"
},
{
"key": "c",
"value": "20"
}
]
}
}, },
"response": [] "response": []
}, },
...@@ -148,25 +171,46 @@ ...@@ -148,25 +171,46 @@
} }
], ],
"request": { "request": {
"url": "{{gateway-user}}/recommendation/town/app/list/by/condition/?p=1&c=20",
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
"key": "access-token", "key": "access-token",
"value": "{{access-Token}}", "value": "{{access-Token}}"
"description": ""
}, },
{ {
"key": "Content-Type", "key": "Content-Type",
"value": "application/json", "value": "application/json"
"description": ""
} }
], ],
"body": { "body": {
"mode": "raw", "mode": "raw",
"raw": "{\r\n \"townId\": 58,\r\n \"accountId\": 90483,\r\n \"blockType\": \"ENTERPRISE\",\r\n \"range\": \"PAGE\",\r\n \"status\": \"ENABLE\"\r\n}" "raw": "{\r\n \"townId\": 58,\r\n \"accountId\": 90483,\r\n \"blockType\": \"ENTERPRISE\",\r\n \"range\": \"PAGE\",\r\n \"status\": \"ENABLE\"\r\n}"
}, },
"description": "" "url": {
"raw": "{{gateway-user}}/recommendation/town/app/list/by/condition/?p=1&c=20",
"host": [
"{{gateway-user}}"
],
"path": [
"recommendation",
"town",
"app",
"list",
"by",
"condition",
""
],
"query": [
{
"key": "p",
"value": "1"
},
{
"key": "c",
"value": "20"
}
]
}
}, },
"response": [] "response": []
}, },
...@@ -193,25 +237,46 @@ ...@@ -193,25 +237,46 @@
} }
], ],
"request": { "request": {
"url": "{{gateway-user}}/recommendation/town/app/list/by/condition/?p=1&c=20",
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
"key": "access-token", "key": "access-token",
"value": "{{access-Token}}", "value": "{{access-Token}}"
"description": ""
}, },
{ {
"key": "Content-Type", "key": "Content-Type",
"value": "application/json", "value": "application/json"
"description": ""
} }
], ],
"body": { "body": {
"mode": "raw", "mode": "raw",
"raw": "{\r\n \"townId\": 58,\r\n \"accountId\": 90483,\r\n \"blockType\": \"EXIST\",\r\n \"range\": \"PAGE\",\r\n \"status\": \"ENABLE\"\r\n}" "raw": "{\r\n \"townId\": 58,\r\n \"accountId\": 90483,\r\n \"blockType\": \"EXIST\",\r\n \"range\": \"PAGE\",\r\n \"status\": \"ENABLE\"\r\n}"
}, },
"description": "" "url": {
"raw": "{{gateway-user}}/recommendation/town/app/list/by/condition/?p=1&c=20",
"host": [
"{{gateway-user}}"
],
"path": [
"recommendation",
"town",
"app",
"list",
"by",
"condition",
""
],
"query": [
{
"key": "p",
"value": "1"
},
{
"key": "c",
"value": "20"
}
]
}
}, },
"response": [] "response": []
} }
......
{ {
{ {
"info": { "info": {
"_postman_id": "a02d4b69-e0ad-4bd2-b06b-0d83e9ea1035", "_postman_id": "87fbf2f8-a2b2-49a5-9d1b-de38862e6a45",
"name": "活动", "name": "活动",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
}, },
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
], ],
"body": { "body": {
"mode": "raw", "mode": "raw",
"raw": "{\n \"userPhone\": 18670340158,\n \"userPassword\": \"123456\",\n \"equipment\": \"c5d93c486a95d658\",\n \"channelId\": 1\n}" "raw": "{\n \"userPhone\": {{user_phone}},\n \"userPassword\": \"ywb123\",\n \"equipment\": \"c5d93c486a95d658\",\n \"channelId\": 1\n}"
}, },
"url": "{{gateway-user}}/app/login" "url": "{{gateway-user}}/app/login"
}, },
...@@ -66,13 +66,15 @@ ...@@ -66,13 +66,15 @@
{ {
"listen": "test", "listen": "test",
"script": { "script": {
"id": "3c9905dc-9e88-48dc-81d6-52361e995629", "id": "60ac0f6d-71ad-4812-b388-0c21a9d99029",
"type": "text/javascript", "type": "text/javascript",
"exec": [ "exec": [
"var jsonData = JSON.parse(responseBody);", "var jsonData = JSON.parse(responseBody);",
"if(jsonData.code === \"0\")", "if(jsonData.code === \"0\")",
"{", "{",
" tests[\"code\"] = true;", " tests[\"code\"] = true;",
" tests[\"data\"] = true;",
" postman.setEnvironmentVariable(\"activityID\",jsonData.data.list[0].id);",
"}", "}",
"else{", "else{",
" console.log(\"接口返回错误:\"+jsonData.msg);", " console.log(\"接口返回错误:\"+jsonData.msg);",
...@@ -84,7 +86,7 @@ ...@@ -84,7 +86,7 @@
} }
], ],
"request": { "request": {
"method": "POST", "method": "GET",
"header": [ "header": [
{ {
"key": "access-token", "key": "access-token",
...@@ -97,9 +99,37 @@ ...@@ -97,9 +99,37 @@
], ],
"body": { "body": {
"mode": "raw", "mode": "raw",
"raw": "{\n \"blockType\": \"ENTERPRISE\",\n \"townId\": 1\n}" "raw": "{\n \"blockType\": \"ENTERPRISE\",\n \"townId\": {{townID}}\n}"
}, },
"url": "{{gateway-user}}/app/activity/town/user" "url": {
"raw": "https://usergwtest.bgycc.com/app/new/activity/list/by/class/{{townId}}/ENTERPRISE?p=1&c=10",
"protocol": "https",
"host": [
"usergwtest",
"bgycc",
"com"
],
"path": [
"app",
"new",
"activity",
"list",
"by",
"class",
"{{townId}}",
"ENTERPRISE"
],
"query": [
{
"key": "p",
"value": "1"
},
{
"key": "c",
"value": "10"
}
]
}
}, },
"response": [] "response": []
}, },
...@@ -204,25 +234,65 @@ ...@@ -204,25 +234,65 @@
], ],
"body": { "body": {
"mode": "raw", "mode": "raw",
"raw": "{\n \"activityId\":196,\n \"enrollStatus\": \"CONFIRM\",\n \"townId\": 1\n}" "raw": "{\n \"activityId\":{{activityId}},\n \"enrollStatus\": \"CONFIRM\",\n \"townId\":{{townId}}\n}"
}, },
"url": "{{gateway-user}}/app/new/activity/enroll" "url": "{{gateway-user}}/app/new/activity/enroll"
}, },
"response": [] "response": []
}, },
{ {
"name": "app端获取活动详情",
"event": [
{
"listen": "test",
"script": {
"id": "2fd3ff6b-1da2-4b16-bf00-480169689fe1",
"type": "text/javascript",
"exec": [
"var jsonData = JSON.parse(responseBody);",
"if(jsonData.code === \"0\")",
"{",
" tests[\"code\"] = true;",
"}",
"else{",
" console.log(\"接口返回错误:\"+jsonData.msg);",
" tests[\"code\"+jsonData.msg]=false;",
"}",
""
]
}
}
],
"request": {
"method": "GET",
"header": [
{
"key": "access-Token",
"value": "{{access-Token}}"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": "{{gateway-user}}/app/new/activity/get/comment/info/{{activityId}}"
},
"response": []
},
{
"name": "app活动评论", "name": "app活动评论",
"event": [ "event": [
{ {
"listen": "test", "listen": "test",
"script": { "script": {
"id": "192ef5c4-1ad4-45ff-86ad-a86b560df9a5", "id": "800a6f30-7c25-481e-9dfe-b17eac02eebc",
"type": "text/javascript", "type": "text/javascript",
"exec": [ "exec": [
"var jsonData = JSON.parse(responseBody);", "var jsonData = JSON.parse(responseBody);",
"if(jsonData.code === \"0\")", "if(jsonData.code === \"0\")",
"{", "{",
" tests[\"code\"] = true;", " tests[\"code\"] = true;",
" postman.setEnvironmentVariable(\"data\",jsonData.data);",
"}", "}",
"else{", "else{",
" console.log(\"接口返回错误:\"+jsonData.msg);", " console.log(\"接口返回错误:\"+jsonData.msg);",
...@@ -247,19 +317,19 @@ ...@@ -247,19 +317,19 @@
], ],
"body": { "body": {
"mode": "raw", "mode": "raw",
"raw": "{\n \"activityId\": {{activityId}},\n \"commentType\": \"ACTIVITY\",\n \"commentStatus\": \"COMMENT\",\n \"comment\": \"hahhaahhahahahahahahh\",\n \"commentImg\": [\n \"string\"\n ]\n}" "raw": "{\n \"activityId\": {{activityId}},\n \"commentType\": \"ACTIVITY\",\n \"commentStatus\": \"COMMENT\",\n \"comment\": \"哇塞\"\n}"
}, },
"url": "{{gateway-user}}/app/new/activity/comment" "url": "{{gateway-user}}/app/new/activity/comment"
}, },
"response": [] "response": []
}, },
{ {
"name": "app二维码获取活动详情", "name": "app活动回复评论内容",
"event": [ "event": [
{ {
"listen": "test", "listen": "test",
"script": { "script": {
"id": "8ff40371-ba44-4c89-85ed-3f9def78095b", "id": "0b197b97-786e-4eeb-8893-e801ae20b5ff",
"type": "text/javascript", "type": "text/javascript",
"exec": [ "exec": [
"var jsonData = JSON.parse(responseBody);", "var jsonData = JSON.parse(responseBody);",
...@@ -277,20 +347,32 @@ ...@@ -277,20 +347,32 @@
} }
], ],
"request": { "request": {
"method": "GET", "method": "POST",
"header": [], "header": [
"body": {}, {
"url": "{{gateway-user}}/app/new/activity/get/code/info/{{activityId}}" "key": "access-Token",
"value": "{{access-Token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"activityId\": {{activityId}},\n \"commentType\": \"COMMENT\",\n \"commentStatus\": \"REPLY\",\n \"newActivityCommentId\": {{data}},\n \"comment\": \"随便评论一下\"\n}"
},
"url": "{{gateway-user}}/app/new/activity/comment"
}, },
"response": [] "response": []
}, },
{ {
"name": "app端获取活动详情", "name": "app活动点赞",
"event": [ "event": [
{ {
"listen": "test", "listen": "test",
"script": { "script": {
"id": "2fd3ff6b-1da2-4b16-bf00-480169689fe1", "id": "0b197b97-786e-4eeb-8893-e801ae20b5ff",
"type": "text/javascript", "type": "text/javascript",
"exec": [ "exec": [
"var jsonData = JSON.parse(responseBody);", "var jsonData = JSON.parse(responseBody);",
...@@ -308,25 +390,32 @@ ...@@ -308,25 +390,32 @@
} }
], ],
"request": { "request": {
"method": "GET", "method": "POST",
"header": [ "header": [
{ {
"key": "access-Token", "key": "access-Token",
"value": "{{access-Token}}" "value": "{{access-Token}}"
},
{
"key": "Content-Type",
"value": "application/json"
} }
], ],
"body": {}, "body": {
"url": "{{gateway-user}}/app/new/activity/get/comment/info/{{activityId}}" "mode": "raw",
"raw": "{\n \"activityId\": {{activityId}},\n \"thumbsUpType\": \"ACTIVITY\",\n \"status\": \"ENABLE\"\n}"
},
"url": "{{gateway-user}}/app/new/activity/thumbs/up"
}, },
"response": [] "response": []
}, },
{ {
"name": "app获取某一个活动详情", "name": "app活动评论点赞",
"event": [ "event": [
{ {
"listen": "test", "listen": "test",
"script": { "script": {
"id": "93f6cff3-ef65-40e9-ba2b-716185de2860", "id": "0b197b97-786e-4eeb-8893-e801ae20b5ff",
"type": "text/javascript", "type": "text/javascript",
"exec": [ "exec": [
"var jsonData = JSON.parse(responseBody);", "var jsonData = JSON.parse(responseBody);",
...@@ -344,15 +433,56 @@ ...@@ -344,15 +433,56 @@
} }
], ],
"request": { "request": {
"method": "GET", "method": "POST",
"header": [ "header": [
{ {
"key": "access-token", "key": "access-Token",
"value": "{{access-Token}}" "value": "{{access-Token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"activityId\": {{activityId}},\n \"thumbsUpType\": \"COMMENT\",\n \"status\": \"ENABLE\",\n \"newActivityCommentId\":{{data}}\n}"
},
"url": "{{gateway-user}}/app/new/activity/thumbs/up"
},
"response": []
},
{
"name": "app二维码获取活动详情",
"event": [
{
"listen": "test",
"script": {
"id": "8ff40371-ba44-4c89-85ed-3f9def78095b",
"type": "text/javascript",
"exec": [
"var jsonData = JSON.parse(responseBody);",
"if(jsonData.code === \"0\")",
"{",
" tests[\"code\"] = true;",
"}",
"else{",
" console.log(\"接口返回错误:\"+jsonData.msg);",
" tests[\"code\"+jsonData.msg]=false;",
"}",
""
]
}
} }
], ],
"body": {}, "request": {
"url": "{{gateway-user}}/app/activity/{{activityId}}" "method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": "{{gateway-user}}/app/new/activity/get/code/info/{{activityId}}"
}, },
"response": [] "response": []
}, },
...@@ -387,7 +517,10 @@ ...@@ -387,7 +517,10 @@
"value": "{{access-Token}}" "value": "{{access-Token}}"
} }
], ],
"body": {}, "body": {
"mode": "raw",
"raw": ""
},
"url": "{{gateway-user}}/app/new/activity/get/top/one/1/ENTERPRISE" "url": "{{gateway-user}}/app/new/activity/get/top/one/1/ENTERPRISE"
}, },
"response": [] "response": []
......
{ {
{ {
"variables": [],
"info": { "info": {
"_postman_id": "d179a4f7-a7c0-488b-a9f4-b2344874f608",
"name": "资讯", "name": "资讯",
"_postman_id": "0b136222-ee66-0a10-9241-df880eea79e8",
"description": "",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
}, },
"item": [ "item": [
...@@ -23,20 +21,18 @@ ...@@ -23,20 +21,18 @@
} }
], ],
"request": { "request": {
"url": "https://usergwtest.bgycc.com/app/login",
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
"key": "Content-Type", "key": "Content-Type",
"value": "application/json", "value": "application/json"
"description": ""
} }
], ],
"body": { "body": {
"mode": "raw", "mode": "raw",
"raw": "{\r\n \"channelId\":4,\r\n \"equipment\": \"9999\",\r\n \"userPassword\": \"123456\",\r\n \"userPhone\": \"18027365045\"\r\n}" "raw": "{\r\n \"channelId\":4,\r\n \"equipment\": \"9999\",\r\n \"userPassword\": \"123456\",\r\n \"userPhone\": \"18027365045\"\r\n}"
}, },
"description": "" "url": "https://usergwtest.bgycc.com/app/login"
}, },
"response": [] "response": []
}, },
...@@ -65,22 +61,45 @@ ...@@ -65,22 +61,45 @@
} }
], ],
"request": { "request": {
"url": "{{user_url}}manager/news/list/order/by/time/{{townId}}?p=1&c=10",
"method": "GET", "method": "GET",
"header": [ "header": [
{ {
"key": "Content-Type", "key": "Content-Type",
"value": "application/x-www-form-urlencoded", "value": "application/x-www-form-urlencoded"
"description": ""
}, },
{ {
"key": "access-Token", "key": "access-Token",
"value": "{{access-Token}}", "value": "{{access-Token}}"
"description": ""
} }
], ],
"body": {}, "body": {
"description": "" "mode": "raw",
"raw": ""
},
"url": {
"raw": "{{user_url}}manager/news/list/order/by/time/{{townId}}?p=1&c=10",
"host": [
"{{user_url}}manager"
],
"path": [
"news",
"list",
"order",
"by",
"time",
"{{townId}}"
],
"query": [
{
"key": "p",
"value": "1"
},
{
"key": "c",
"value": "10"
}
]
}
}, },
"response": [] "response": []
}, },
...@@ -108,22 +127,22 @@ ...@@ -108,22 +127,22 @@
} }
], ],
"request": { "request": {
"url": "{{user_url}}manager/news/getstartnewsclassifylist/townid/1",
"method": "GET", "method": "GET",
"header": [ "header": [
{ {
"key": "Content-Type", "key": "Content-Type",
"value": "application/x-www-form-urlencoded", "value": "application/x-www-form-urlencoded"
"description": ""
}, },
{ {
"key": "townid", "key": "townid",
"value": "{{townid}}", "value": "{{townid}}"
"description": ""
} }
], ],
"body": {}, "body": {
"description": "" "mode": "raw",
"raw": ""
},
"url": "{{user_url}}manager/news/getstartnewsclassifylist/townid/1"
}, },
"response": [] "response": []
}, },
...@@ -150,30 +169,26 @@ ...@@ -150,30 +169,26 @@
} }
], ],
"request": { "request": {
"url": "{{user_url}}manager/news/get/{{newid}}",
"method": "GET", "method": "GET",
"header": [ "header": [
{ {
"key": "Content-Type", "key": "Content-Type",
"value": "application/json", "value": "application/json"
"description": ""
}, },
{ {
"key": "access-Token", "key": "access-Token",
"value": "{{access-Token}}", "value": "{{access-Token}}"
"description": ""
}, },
{ {
"key": "newid", "key": "newid",
"value": "{{newid}}", "value": "{{newid}}"
"description": ""
} }
], ],
"body": { "body": {
"mode": "raw", "mode": "raw",
"raw": "" "raw": ""
}, },
"description": "" "url": "{{user_url}}manager/news/get/{{newid}}"
}, },
"response": [] "response": []
}, },
...@@ -200,22 +215,22 @@ ...@@ -200,22 +215,22 @@
} }
], ],
"request": { "request": {
"url": "{{user_url}}town/news/access/get/12",
"method": "GET", "method": "GET",
"header": [ "header": [
{ {
"key": "Content-Type", "key": "Content-Type",
"value": "application/x-www-form-urlencoded", "value": "application/x-www-form-urlencoded"
"description": ""
}, },
{ {
"key": "access-Token", "key": "access-Token",
"value": "{{access-Token}}", "value": "{{access-Token}}"
"description": ""
} }
], ],
"body": {}, "body": {
"description": "" "mode": "raw",
"raw": ""
},
"url": "{{user_url}}town/news/access/get/12"
}, },
"response": [] "response": []
}, },
...@@ -242,22 +257,22 @@ ...@@ -242,22 +257,22 @@
} }
], ],
"request": { "request": {
"url": "{{user_url}}app/news/commend",
"method": "GET", "method": "GET",
"header": [ "header": [
{ {
"key": "Content-Type", "key": "Content-Type",
"value": "application/x-www-form-urlencoded", "value": "application/x-www-form-urlencoded"
"description": ""
}, },
{ {
"key": "access-Token", "key": "access-Token",
"value": "{{access-Token}}", "value": "{{access-Token}}"
"description": ""
} }
], ],
"body": {}, "body": {
"description": "" "mode": "raw",
"raw": ""
},
"url": "{{user_url}}app/news/commend"
}, },
"response": [] "response": []
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment