Commit 45dbf5ab by zhangjingdong

更新小管家

parent 66a702c1
{
{
......@@ -315,367 +315,6 @@
"url": "{{gateway-user}}/msgrecord/menu/{{menuId}}/readed"
},
"response": []
},
{
"name": "APP端二维码获取活动详情",
"event": [
{
"listen": "test",
"script": {
"id": "75189d4e-ceaa-4f82-9239-28d031c3e472",
"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}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": "{{gateway-user}}/app/new/activity/get/info/{{id}}"
},
"response": []
},
{
"name": "APP端获取活动评论列表",
"event": [
{
"listen": "test",
"script": {
"id": "698218d6-d3d6-4146-9d6f-510588491d51",
"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}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{gateway-user}}/app/new/activity/list/comment/{{activityId}}?p=1&c=10",
"host": [
"{{gateway-user}}"
],
"path": [
"app",
"new",
"activity",
"list",
"comment",
"{{activityId}}"
],
"query": [
{
"key": "p",
"value": "1"
},
{
"key": "c",
"value": "10"
}
]
}
},
"response": []
},
{
"name": "活动优惠券",
"event": [
{
"listen": "test",
"script": {
"id": "18c720cd-8ab2-4e89-b9ce-44b6105955f7",
"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}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{gateway-user}}/app/new/activity/card/{{activityId}}?p=1&c=10",
"host": [
"{{gateway-user}}"
],
"path": [
"app",
"new",
"activity",
"card",
"{{activityId}}"
],
"query": [
{
"key": "p",
"value": "1"
},
{
"key": "c",
"value": "10"
}
]
}
},
"response": []
},
{
"name": "条形码查询",
"event": [
{
"listen": "test",
"script": {
"id": "6334c8f5-ead1-4545-aba1-2a1cd51f1cb8",
"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}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": "{{gateway-user}}/pay/user/getcardstockmarket/voucherid/{{voucherid}}"
},
"response": []
},
{
"name": "已领取卡券列表",
"event": [
{
"listen": "test",
"script": {
"id": "ec959f65-f2cc-4488-930b-f8ba62ecd8ef",
"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}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{gateway-user}}/pay/user/alreadyreceived/voucherid/{{voucherid}}?p=1&c=10",
"host": [
"{{gateway-user}}"
],
"path": [
"pay",
"user",
"alreadyreceived",
"voucherid",
"{{voucherid}}"
],
"query": [
{
"key": "p",
"value": "1"
},
{
"key": "c",
"value": "10"
}
]
}
},
"response": []
},
{
"name": "APP端活动评论",
"event": [
{
"listen": "test",
"script": {
"id": "f40a6f40-c974-435d-90e0-028838615007",
"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": "POST",
"header": [
{
"key": "access-token",
"value": "{{access-Token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\"activityId\":378,\"commentType\":\"ACTIVITY\",\"comment\":\"1\",\"commentStatus\":\"COMMENT\",\"commentImg\":[]}"
},
"url": "{{gateway-user}}/app/new/activity/comment"
},
"response": []
},
{
"name": "APP端活动点赞",
"event": [
{
"listen": "test",
"script": {
"id": "ffd831ff-2bb2-48ae-8f75-531c458194e9",
"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": "POST",
"header": [
{
"key": "access-token",
"value": "{{access-Token}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\"activityId\":378,\"status\":\"ENABLE\",\"thumbsUpType\":\"ACTIVITY\"}"
},
"url": "{{gateway-user}}/app/new/activity/thumbs/up"
},
"response": []
}
]
}
\ No newline at end of file
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