Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
zhangjingdong
/
bihe_interface_test
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
45dbf5ab
authored
Jan 07, 2019
by
zhangjingdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新小管家
parent
66a702c1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
363 deletions
+1
-363
.idea/workspace.xml
+0
-0
碧合app/小管家/小管家.postman_collection.json
+1
-363
No files found.
.idea/workspace.xml
View file @
45dbf5ab
This diff is collapsed.
Click to expand it.
碧合app/小管家/小管家.postman_collection.json
View file @
45dbf5ab
{
{
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment