feat: import services and standardize Go 1.26.5
This commit is contained in:
13
apps/base/cms/test/category/category_add.http
Normal file
13
apps/base/cms/test/category/category_add.http
Normal file
@@ -0,0 +1,13 @@
|
||||
POST http://127.0.0.1:12409/Cms.Category/Create
|
||||
Cms-Type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"title": " Find A Disruibutor" ,
|
||||
"coverPath": "iii.jpg" ,
|
||||
"intro": "Find A Disruibutor介绍",
|
||||
"category_key":"Find A Disruibutor",
|
||||
"parent_id":1
|
||||
}
|
||||
|
||||
|
||||
7
apps/base/cms/test/category/category_del.http
Normal file
7
apps/base/cms/test/category/category_del.http
Normal file
@@ -0,0 +1,7 @@
|
||||
POST http://127.0.0.1:12409/Cms.Category/Delete
|
||||
Cms-Type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"identity": "01JRFGK8D1NC1Y1SPRDPK9H7SH"
|
||||
}
|
||||
7
apps/base/cms/test/category/category_list.http
Normal file
7
apps/base/cms/test/category/category_list.http
Normal file
@@ -0,0 +1,7 @@
|
||||
POST http://api.apinb.com/Cms.Category/Fetch
|
||||
Cms-Type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"keyword":"Business"
|
||||
}
|
||||
12
apps/base/cms/test/category/category_modify.http
Normal file
12
apps/base/cms/test/category/category_modify.http
Normal file
@@ -0,0 +1,12 @@
|
||||
POST http://127.0.0.1:12409/Cms.Category/ModifyCategory
|
||||
Cms-Type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"identity": "01JRFGJRETHSJMBDY9PPTKMQ9K",
|
||||
|
||||
"parent_identity": "1",
|
||||
"title": "健康和健身" ,
|
||||
"coverPath": "hhh.jpg" ,
|
||||
"intro": "健康和健身介绍"
|
||||
}
|
||||
Reference in New Issue
Block a user