refactor: reorganize modules and add Linux build tooling
This commit is contained in:
8
module/ec/mall/test/ads/ads_by_pos.http
Normal file
8
module/ec/mall/test/ads/ads_by_pos.http
Normal file
@@ -0,0 +1,8 @@
|
||||
POST http://127.0.0.1:12419/mall.Ads/ByPos
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"store_identity":"c8e0800713504caf9cec826f31c836cf",
|
||||
"pos_key":["gift_banner"]
|
||||
}
|
||||
15
module/ec/mall/test/ads/ads_create.http
Normal file
15
module/ec/mall/test/ads/ads_create.http
Normal file
@@ -0,0 +1,15 @@
|
||||
POST http://127.0.0.1:12419/mall.Ads/Create
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
|
||||
{
|
||||
"title": "243",
|
||||
"content": "2345234",
|
||||
"posKey": "2345236",
|
||||
"toUrl": "",
|
||||
"type": 1,
|
||||
"fileList": [
|
||||
|
||||
]
|
||||
}
|
||||
7
module/ec/mall/test/ads/ads_del.http
Normal file
7
module/ec/mall/test/ads/ads_del.http
Normal file
@@ -0,0 +1,7 @@
|
||||
POST http://127.0.0.1:12419/mall.Ads/Delete
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"id":7
|
||||
}
|
||||
12
module/ec/mall/test/ads/ads_fetch.http
Normal file
12
module/ec/mall/test/ads/ads_fetch.http
Normal file
@@ -0,0 +1,12 @@
|
||||
POST http://127.0.0.1:12419/mall.Ads/Fetch
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"params": {
|
||||
|
||||
},
|
||||
"pageNo": 1,
|
||||
"pageSize": 10,
|
||||
"storeIdentity": "01965b51-5344-7218-a9b9-bc71031f6f10"
|
||||
}
|
||||
12
module/ec/mall/test/ads/ads_modify.http
Normal file
12
module/ec/mall/test/ads/ads_modify.http
Normal file
@@ -0,0 +1,12 @@
|
||||
POST http://127.0.0.1:12419/mall.Ads/Modify
|
||||
content-type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"id": 4,
|
||||
"title": "关注我们:赢取大奖",
|
||||
"pos_key": "social_media_section",
|
||||
"content": "关注我们的社交媒体账号,参与抽奖,赢取大奖!",
|
||||
"type": 5,
|
||||
"toUrl": "https://example.com/social"
|
||||
}
|
||||
Reference in New Issue
Block a user