refactor: reorganize modules and add Linux build tooling
This commit is contained in:
24
module/ec/mall/test/item/spec/spec_create.http
Normal file
24
module/ec/mall/test/item/spec/spec_create.http
Normal file
@@ -0,0 +1,24 @@
|
||||
POST http://127.0.0.1:12419/mall.Product/SpecCreate
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"direct_sales": 0,
|
||||
"ds_tp_type": 2,
|
||||
"img": "http://files.slcor.com/123/2025-05/01/01JWDQET1H403X8YJ870T9506N.jpg",
|
||||
"price": 50000,
|
||||
"spec_no": "1",
|
||||
"stock": 1,
|
||||
"stock_type": 1,
|
||||
"title": "GB-L (EU)",
|
||||
"tp_type": 2,
|
||||
"wholesale_price": 350,
|
||||
"purchasing_price": 23000,
|
||||
"fileList": [
|
||||
{
|
||||
"name": "GB-L.jpg",
|
||||
"url": "http://files.slcor.com/123/2025-05/01/01JWDQET1H403X8YJ870T9506N.jpg"
|
||||
}
|
||||
],
|
||||
"store_identity": "01970749-c258-7cfe-a7b8-b24062d01269"
|
||||
}
|
||||
8
module/ec/mall/test/item/spec/spec_del.http
Normal file
8
module/ec/mall/test/item/spec/spec_del.http
Normal file
@@ -0,0 +1,8 @@
|
||||
POST http://127.0.0.1:12419/mall.Product/SpecDelete
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"id":8
|
||||
|
||||
}
|
||||
7
module/ec/mall/test/item/spec/spec_detail.http
Normal file
7
module/ec/mall/test/item/spec/spec_detail.http
Normal file
@@ -0,0 +1,7 @@
|
||||
POST http://127.0.0.1:12419/mall.Product/SpecDetail
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"identity":"01965cc8-4657-7408-83d4-be98000ff90e"
|
||||
}
|
||||
10
module/ec/mall/test/item/spec/spec_fetch.http
Normal file
10
module/ec/mall/test/item/spec/spec_fetch.http
Normal file
@@ -0,0 +1,10 @@
|
||||
POST http://127.0.0.1:12419/mall.Product/SpecFetch
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
|
||||
"store_identity":"01965b51-5344-7218-a9b9-bc71031f6f10",
|
||||
"keyword":"3"
|
||||
|
||||
}
|
||||
6
module/ec/mall/test/item/spec/spec_modify.http
Normal file
6
module/ec/mall/test/item/spec/spec_modify.http
Normal file
@@ -0,0 +1,6 @@
|
||||
POST http://127.0.0.1:12419/mall.Product/SpecModify
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
|
||||
{"id":"33","identity":"019723ff-e9d2-7960-8244-5d8e259c56a3","supply_id":"0","product_identity":"","store_identity":"01970749-c258-7cfe-a7b8-b24062d01269","title":"MC-L430-2H3","stock_type":2,"stock":2,"price":200000,"direct_sales":0,"tp_type":2,"ds_tp_type":2,"img":"http://files.slcor.com/123/2025-05/01/01JWJ0KVZKSDA33PNDFAYTZYCJ.jpg","spec_no":"33","keyword":"","purchasing_price":160000,"wholesale":"0","fileList":[{"name":"MC-L430-2H3正面.jpg","url":"http://files.slcor.com/123/2025-05/01/01JWJ0KVZKSDA33PNDFAYTZYCJ.jpg"}]}
|
||||
Reference in New Issue
Block a user