refactor: reorganize modules and add Linux build tooling
This commit is contained in:
5
module/ec/order/test/cart/cart_create.http
Normal file
5
module/ec/order/test/cart/cart_create.http
Normal file
@@ -0,0 +1,5 @@
|
||||
POST http://127.0.0.1:12441/order.Cart/Create
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{"product_identity":"0197077c-7d8b-74d9-b4a4-e824974b93d8","number":1}
|
||||
7
module/ec/order/test/cart/cart_del.http
Normal file
7
module/ec/order/test/cart/cart_del.http
Normal file
@@ -0,0 +1,7 @@
|
||||
POST http://127.0.0.1:12441/order.Cart/Delete
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"id": ["3"]
|
||||
}
|
||||
8
module/ec/order/test/cart/cart_fetch.http
Normal file
8
module/ec/order/test/cart/cart_fetch.http
Normal file
@@ -0,0 +1,8 @@
|
||||
POST http://127.0.0.1:12441/order.Cart/Fetch
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"passport":"1",
|
||||
"passport_identity":"0197e8dc-8711-75f5-851f-0dcd63f81d5c"
|
||||
}
|
||||
5
module/ec/order/test/cart/cart_modify.http
Normal file
5
module/ec/order/test/cart/cart_modify.http
Normal file
@@ -0,0 +1,5 @@
|
||||
POST http://127.0.0.1:12441/order.Cart/Modify
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{"updates":[{"id":5,"number":1},{"id":6,"number":1},{"id":7,"number":1},{"id":8,"number":4},{"id":9,"number":4}]}
|
||||
Reference in New Issue
Block a user