refactor: reorganize modules and add Linux build tooling
This commit is contained in:
5
module/ec/market/test/agency/approve.http
Normal file
5
module/ec/market/test/agency/approve.http
Normal file
@@ -0,0 +1,5 @@
|
||||
POST http://api.apinb.com/market.Agency/Approve
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{"approve":2,"identity":"01JXVPACA7S8PANZVVHNGFAHSD"}
|
||||
14
module/ec/market/test/agency/create.http
Normal file
14
module/ec/market/test/agency/create.http
Normal file
@@ -0,0 +1,14 @@
|
||||
POST http://127.0.0.1:12423/market.Agency/Create
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
|
||||
"account": "aaaa",
|
||||
"name": "aaaa",
|
||||
"org_name": "aa",
|
||||
|
||||
"contact": "aaaaaa",
|
||||
"phone": "13246589952",
|
||||
"store_identity": "01970749-c258-7cfe-a7b8-b24062d01269"
|
||||
}
|
||||
7
module/ec/market/test/agency/delete.http
Normal file
7
module/ec/market/test/agency/delete.http
Normal file
@@ -0,0 +1,7 @@
|
||||
POST http://127.0.0.1:12423/market.Agency/Delete
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"identity":"01JTMX3YFE4PSKPZA0T09AVSB1"
|
||||
}
|
||||
3
module/ec/market/test/agency/fetch.http
Normal file
3
module/ec/market/test/agency/fetch.http
Normal file
@@ -0,0 +1,3 @@
|
||||
POST http://127.0.0.1:12423/market.Agency/Fetch
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
7
module/ec/market/test/agency/get.http
Normal file
7
module/ec/market/test/agency/get.http
Normal file
@@ -0,0 +1,7 @@
|
||||
POST http://127.0.0.1:12423/market.Agency/Get
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"identity":"01JXVPACA7S8PANZVVHNGFAHSD"
|
||||
}
|
||||
7
module/ec/market/test/agency/login.http
Normal file
7
module/ec/market/test/agency/login.http
Normal file
@@ -0,0 +1,7 @@
|
||||
POST http://127.0.0.1:12423/market.Agency/Login
|
||||
content-type: application/json
|
||||
|
||||
{
|
||||
"account":"root",
|
||||
"password":"123456"
|
||||
}
|
||||
19
module/ec/market/test/agency/modify.http
Normal file
19
module/ec/market/test/agency/modify.http
Normal file
@@ -0,0 +1,19 @@
|
||||
POST http://127.0.0.1:12423/market.Agency/Modify
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"identity":"01JTMX4Y8JEGYN2VA9KS31713V",
|
||||
|
||||
"name": "周七",
|
||||
"avatar": "https://example.com/avatars/avatar5.jpg",
|
||||
"account": "zhouqi",
|
||||
"phone": "13500135000",
|
||||
"orgName": "七彩鲜花店",
|
||||
"orgPhoto": "https://example.com/photos/org5.jpg",
|
||||
"id_name": "周七",
|
||||
"id_before": "https://example.com/id_cards/id5_before.jpg",
|
||||
"id_after": "https://example.com/id_cards/id5_after.jpg",
|
||||
"remark": "提供新鲜的鲜花和花束,适合各种场合。",
|
||||
"commission_rate": 1
|
||||
}
|
||||
5
module/ec/market/test/agency/pending.http
Normal file
5
module/ec/market/test/agency/pending.http
Normal file
@@ -0,0 +1,5 @@
|
||||
POST http://api.apinb.com/market.Agency/Pending
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{"page_no":1,"page_size":10}
|
||||
8
module/ec/market/test/agency/set_password.http
Normal file
8
module/ec/market/test/agency/set_password.http
Normal file
@@ -0,0 +1,8 @@
|
||||
POST http://127.0.0.1:12423/market.Agency/SetPassword
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"old_password": "123456",
|
||||
"new_password": "654321"
|
||||
}
|
||||
6
module/ec/market/test/supply/fetch.http
Normal file
6
module/ec/market/test/supply/fetch.http
Normal file
@@ -0,0 +1,6 @@
|
||||
POST http://127.0.0.1:12423/market.Supply/Fetch
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user