123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- ### 认领
- POST http://{{host}}:8888/domain/claim
- Content-Type: application/json
- #Cookie:
- newUserId:22
- appId:10000
- {
- "ent_id": "1057165a5d1556510256475a470a554c030255534557480d0645065555004658",
- "type": 1
- }
- > {%
- client.test("Request executed successfully", function() {
- client.assert(response.status === 200, "Response status is not 200");
- });
- %}
- ### 取消认领
- POST http://{{host}}:8888/domain/unclaimed
- Content-Type: application/json
- #Cookie:
- newUserId:22
- appId:10000
- {
- "id":"4d5f405e5c" ,
- "type": 1
- }
- > {%
- client.test("Request executed successfully", function() {
- client.assert(response.status === 200, "Response status is not 200");
- });
- %}
- ### 是否认领过
- POST http://{{host}}:8888/domain/isClaimed
- Content-Type: application/json
- #Cookie:
- newUserId:22
- appId:10000
- {
- "company_id": "1057165a5d1556510256475a470a554c030255534557480d0645065555004658",
- "type": 1
- }
- > {%
- client.test("Request executed successfully", function() {
- client.assert(response.status === 200, "Response status is not 200");
- });
- %}
- ### 我认领的经销商
- POST http://{{host}}:8888/domain/claim/distributor
- Content-Type: application/json
- #Cookie:
- newUserId:22
- appId:10000
- > {%
- client.test("Request executed successfully", function() {
- client.assert(response.status === 200, "Response status is not 200");
- });
- %}
- ### 我认领的医疗机构
- POST http://{{host}}:8888/domain/claim/institution
- Content-Type: application/json
- #Cookie:
- newUserId:22
- appId:10000
- > {%
- client.test("Request executed successfully", function() {
- client.assert(response.status === 200, "Response status is not 200");
- });
- %}
|