refactor: reorganize modules and add Linux build tooling

This commit is contained in:
2026-08-09 12:41:08 +08:00
parent 86024fa81d
commit 5cc5fd92ed
1461 changed files with 4054 additions and 4724 deletions

View File

@@ -0,0 +1,14 @@
POST http://127.0.0.1:12419/mall.Product/CommentCreate
content-type: application/json
Authorization: {{BSM_TOKEN}}
{
"product_identity":"01965b81-9869-766d-ba8a-01af33d135bc",
"spec_identity": "0196754c-bb82-7b10-9e6d-4163a4ba35b2",
"store_identity":"01965b51-5344-7218-a9b9-bc71031f6f10",
"nick_name": "用户F",
"score": 4,
"comment": "这款烤箱非常适合大家庭使用,容量大,功能也很齐全,非常满意。",
"reply": "感谢您的好评,我们会继续努力提供更好的产品和服务!",
"enabled": 1
}

View File

@@ -0,0 +1,7 @@
POST http://127.0.0.1:12419/mall.Product/CommentDelete
content-type: application/json
Authorization: {{BSM_TOKEN}}
{
"id":1
}

View File

@@ -0,0 +1,11 @@
POST http://127.0.0.1:12419/mall.Product/CommentFetch
content-type: application/json
Authorization: {{BSM_TOKEN}}
{
"store_identity":"01965b51-5344-7218-a9b9-bc71031f6f10"
}

View File

@@ -0,0 +1,15 @@
POST http://127.0.0.1:12419/mall.Product/CommentModify
content-type: application/json
Authorization: {{BSM_TOKEN}}
{
"identity":"019660a2-4947-7144-9bfa-7e1dfdc709dd",
"product_identity":"01965b81-9869-766d-ba8a-01af33d135bc",
"nickname": "用户F",
"score": 5,
"comment": "这款商用款智能烤箱非常适合我的烘焙店,容量大,功能强大,预热速度快,烤出来的面包和蛋糕都非常完美!",
"reply": "非常感谢您的支持和认可!我们会继续努力,为您提供更优质的产品和服务。",
"enabled": 1
}

View File

@@ -0,0 +1,10 @@
POST http://127.0.0.1:12419/mall.Product/ItemBatchOp
content-type: application/json
Authorization: {{BSM_TOKEN}}
{
"identity":["019657cb-fc23-7497-8325-44a5f679f63f","019657cc-2a3c-7435-b617-9f792889e37a"],
"status":3
}

View File

@@ -0,0 +1,85 @@
POST http://127.0.0.1:12419/mall.Product/ItemCreate
content-type: application/json
Authorization: {{BSM_TOKEN}}
{
"id": "136",
"identity": "01975d01-9469-7abb-a453-81a6a53920bd",
"category_id": [
15
],
"title": "HESP Serie Hybrid Inverters",
"measuring_name": "台",
"sell_max": "10",
"sell_min": "1",
"wastage": "0",
"standard_number": "",
"brand": "",
"stock_type": "1",
"status": 1,
"cover_image": "http://files.slcor.com/123/2025-05/01/01JWJNE1E9CDXFENQ2M3AEVAP8.webp",
"content": "<p>• Model:HESP4840S100-H</p><p><br></p><p>• Rated Output Power:4000W</p><p><br></p><p>• Max.Peak Power:8000VA</p><p><br></p><p>• Rated Output Voltage:230Vac</p><p><br></p><p>• Rated AC Frequency:50Hz/60Hz</p><p><br></p><p>• Numero parallelo consentito:16(single/three phase)</p><p><br></p><p>• Num.of MPPT Trackers:2</p><p><br></p><p>• Max.Voltage of Open Circuit:500Vdc</p>",
"store_id": "0",
"store_identity": "",
"template_id": 0,
"note": "",
"images": [
],
"specification": [
{
"id": "134",
"identity": "0197353a-955d-79f1-9606-35706b74a845",
"supply_id": "0",
"product_identity": "",
"store_identity": "",
"title": "HESP Serie Hybrid Inverters",
"stock_type": 2,
"stock": "1",
"price": "200000",
"direct_sales": "0",
"tp_type": 0,
"ds_tp_type": 0,
"img": "http://files.slcor.com/123/2025-05/01/01JWJNDK3J8V5SQ7J7XZ8QNPQV.webp",
"spec_no": "",
"keyword": "",
"purchasing_price": "120000",
"wholesale": "0"
}
],
"recent_number": "0",
"sale_total": "0",
"limitation": "0",
"liTemplate_id": "0",
"price": "0",
"stock": "0",
"category": "",
"serial_id": "",
"gas_types": "1",
"spec_id": [
134
],
"categories": [
{
"id": "15",
"identity": "0197353a-955d-79d9-92ea-5773553b23d0",
"title": "Solar Power Inverter",
"en_title": "",
"parent_id": "33",
"paths": "",
"intro": "",
"icon": "",
"sort": 0,
"status": 0,
"created_at": "",
"categories": [
],
"keys": ""
}
],
"supply_name": "",
"categoryIdentityArray": [
"15"
]
}

View File

@@ -0,0 +1,7 @@
POST http://127.0.0.1:12419/mall.Product/ItemDelete
content-type: application/json
Authorization: {{BSM_TOKEN}}
{
"id": 2
}

View File

@@ -0,0 +1,8 @@
POST http://127.0.0.1:12419/mall.Product/ItemDetailBySerial
content-type: application/json
Authorization: {{BSM_TOKEN}}
{
"store_identity":"c8e0800713504caf9cec826f31c836cf",
"serial_id":["PROD1011","5465465"]
}

View File

@@ -0,0 +1,5 @@
POST http://127.0.0.1:12419/mall.Product/ItemDetail
content-type: application/json
Authorization: {{BSM_TOKEN}}
{"identity":"0197077c-7d8b-74d9-b4a4-e824974b93d8"}

View File

@@ -0,0 +1,10 @@
POST http://127.0.0.1:12419/mall.Product/ItemFetch
content-type: application/json
Authorization: {{BSM_TOKEN}}
{
"store_identity":"01965b51-5344-7218-a9b9-bc71031f6f10",
"page_no":1,
"page_size":10
}

View File

@@ -0,0 +1,9 @@
POST http://127.0.0.1:12419/mall.Product/PhotoCreate
content-type: application/json
Authorization: {{BSM_TOKEN}}
{
"product_identity": "01965b81-9869-766d-ba8a-01af33d135bc",
"name": "智能烤箱 - 家庭款整体图",
"url": "https://example.com/images/smart-oven-family-full.jpg"
}

View File

@@ -0,0 +1,8 @@
POST http://127.0.0.1:12419/mall.Product/PhotoDelete
content-type: application/json
Authorization: {{BSM_TOKEN}}
{
"id":5
}

View File

@@ -0,0 +1,8 @@
POST http://127.0.0.1:12419/mall.Product/PhotoList
content-type: application/json
Authorization: {{BSM_TOKEN}}
{
"product_identity": "01965b81-9869-766d-ba8a-01af33d135bc"
}

View 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"
}

View File

@@ -0,0 +1,8 @@
POST http://127.0.0.1:12419/mall.Product/SpecDelete
content-type: application/json
Authorization: {{BSM_TOKEN}}
{
"id":8
}

View 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"
}

View 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"
}

View 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"}]}

View File

@@ -0,0 +1,11 @@
POST http://127.0.0.1:12419/mall.Product/ItemCreate
content-type: application/json
Authorization: {{BSM_TOKEN}}
{
"identity":"01967710-f538-723d-a3b3-7c9508c1ac98",
"status": 1
}