feat: import services and standardize Go 1.26.5
This commit is contained in:
9
apps/base/cms/test/post/desc_post_like.http
Normal file
9
apps/base/cms/test/post/desc_post_like.http
Normal file
@@ -0,0 +1,9 @@
|
||||
POST http://127.0.0.1:12409/Cms.Post/DescPostLike
|
||||
Cms-Type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"op_identity":"01JRW112WRTAF6730NGSF0JFDA",
|
||||
"post_identity":"01JRSSMHCRVWCJSEXN045M4TVV"
|
||||
|
||||
}
|
||||
9
apps/base/cms/test/post/desc_post_unlike.http
Normal file
9
apps/base/cms/test/post/desc_post_unlike.http
Normal file
@@ -0,0 +1,9 @@
|
||||
POST http://127.0.0.1:12409/Cms.Post/DescPostUnlike
|
||||
Cms-Type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"op_identity":"01JRW112WRTAF6730NGSF0JFDA",
|
||||
"post_identity":"01JRSSMHCRVWCJSEXN045M4TVV"
|
||||
|
||||
}
|
||||
9
apps/base/cms/test/post/incr_post_like.http
Normal file
9
apps/base/cms/test/post/incr_post_like.http
Normal file
@@ -0,0 +1,9 @@
|
||||
POST http://127.0.0.1:12409/Cms.Post/IncrPostLike
|
||||
Cms-Type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"op_identity":"01JRW112WRTAF6730NGSF0JFDA",
|
||||
"post_identity":"01JRSSMHCRVWCJSEXN045M4TVV"
|
||||
|
||||
}
|
||||
9
apps/base/cms/test/post/incr_post_unlike.http
Normal file
9
apps/base/cms/test/post/incr_post_unlike.http
Normal file
@@ -0,0 +1,9 @@
|
||||
POST http://127.0.0.1:12409/Cms.Post/IncrPostUnlike
|
||||
Cms-Type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"op_identity":"01JRW112WRTAF6730NGSF0JFDA",
|
||||
"post_identity":"01JRSSMHCRVWCJSEXN045M4TVV"
|
||||
|
||||
}
|
||||
33
apps/base/cms/test/post/post_add.http
Normal file
33
apps/base/cms/test/post/post_add.http
Normal file
@@ -0,0 +1,33 @@
|
||||
POST http://127.0.0.1:12409/Cms.Post/Create
|
||||
Cms-Type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
|
||||
"category_identity_array": [
|
||||
"0196d1a7-4cc9-776c-a01a-ee154b43ffb7"
|
||||
],
|
||||
"tags_identity_array": [
|
||||
"0196d1a7-4cc9-776c-a01a-ee154b43ffb7"
|
||||
],
|
||||
"accessory_data": [
|
||||
{
|
||||
"title": "GoodWe",
|
||||
"file_path": "https://cbu01.alicdn.com/img/ibank/O1CN01yPvMqB1ChLCbapHcQ_!!2213030850112-0-cib.jpg",
|
||||
}
|
||||
],
|
||||
"title": " Enhancing Your GoodWe System with New Firmware",
|
||||
"cover_path": "https://cbu01.alicdn.com/img/ibank/O1CN01yPvMqB1ChLCbapHcQ_!!2213030850112-0-cib.jpg",
|
||||
"author": "漫画爱好者",
|
||||
"author_identity": "",
|
||||
"Cms": " Enhancing Your GoodWe System with New FirmwareCms:Just a quick reminder to check for the latest firmware updates for your GoodWe inverter. These updates can significantly improve the performance and features of your monitoring platform. With new firmware, you can enjoy better data accuracy, faster processing, and additional functionalities like remote control and dynamic electricity price monitoring. Don't miss out on these improvements!Support Link: GoodWe Support",
|
||||
"targetUrl": "https://example.com/comic-adventure-island",
|
||||
"sourceUrl": "https://example.com/comic-adventure-island",
|
||||
"hits": "0",
|
||||
"accessory_identity_array": [
|
||||
"0196619c-d5ae-7832-a6f3-78cef4fb1c14"
|
||||
],
|
||||
"hasAccessory": true,
|
||||
"description": " Enhancing Your GoodWe System with New Firmware",
|
||||
"key": "47"
|
||||
}
|
||||
7
apps/base/cms/test/post/post_del.http
Normal file
7
apps/base/cms/test/post/post_del.http
Normal file
@@ -0,0 +1,7 @@
|
||||
POST http://127.0.0.1:12409/Cms.Post/DeletePost
|
||||
Cms-Type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"identity": "01JRVQ1GJVHMNH81HJV2PEHVPP"
|
||||
}
|
||||
7
apps/base/cms/test/post/post_get.http
Normal file
7
apps/base/cms/test/post/post_get.http
Normal file
@@ -0,0 +1,7 @@
|
||||
POST http://127.0.0.1:12409/Cms.Post/GetByIdentity
|
||||
Cms-Type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"identity": "0196d1e6-6067-730c-8f36-96cc8ba9f07c"
|
||||
}
|
||||
8
apps/base/cms/test/post/post_list.http
Normal file
8
apps/base/cms/test/post/post_list.http
Normal file
@@ -0,0 +1,8 @@
|
||||
POST http://127.0.0.1:12409/Cms.Post/Fetch
|
||||
Cms-Type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
83
apps/base/cms/test/post/post_modify.http
Normal file
83
apps/base/cms/test/post/post_modify.http
Normal file
@@ -0,0 +1,83 @@
|
||||
POST http://127.0.0.1:12409/Cms.Post/Modify
|
||||
Cms-Type: application/json
|
||||
Authorization: {{BSM_TOKEN}}
|
||||
|
||||
{
|
||||
"identity": "0196609e-c6a6-70aa-a53d-937fc6c37a1c",
|
||||
"ownerId": "0",
|
||||
"ownerIdentity": "",
|
||||
"categoryIdentityArray": [
|
||||
"0196615b-b773-72a8-a00c-37683d0e501a",
|
||||
"019642d5-2e29-7032-b09c-5e6e521e7449"
|
||||
],
|
||||
"tagsIdentityArray": [
|
||||
|
||||
],
|
||||
"title": "热门漫画《冒险岛》更新",
|
||||
"coverPath": "/images/comic_adventure_island_cover.jpg",
|
||||
"author": "漫画爱好者",
|
||||
"authorIdentity": "",
|
||||
"Cms": "<p>这是漫画更新的主要内容,包括新章节介绍和角色分析...</p >",
|
||||
"targetUrl": "https://example.com/comic-adventure-island",
|
||||
"sourceUrl": "https://example.com/comic-adventure-island",
|
||||
"hits": "0",
|
||||
"accessoryIdentityArray": [
|
||||
"0196619c-d5ae-7832-a6f3-78cef4fb1c14"
|
||||
],
|
||||
"hasAccessory": true,
|
||||
"createdAt": "2025-04-23 11:09:00.471257 +0800 CST",
|
||||
"updatedAt": "2025-04-23 15:44:24.365008 +0800 CST",
|
||||
"description": "介绍热门漫画《冒险岛》的最新章节和剧情发展。",
|
||||
"likeHits": "0",
|
||||
"unlikeHits": "0",
|
||||
"commentHits": "0",
|
||||
"type": 10,
|
||||
"rights": "",
|
||||
"key": "221",
|
||||
"categoryData": [
|
||||
{
|
||||
"id": "53",
|
||||
"identity": "0196615b-b773-72a8-a00c-37683d0e501a",
|
||||
"parentId": "0",
|
||||
"title": "11",
|
||||
"coverPath": "",
|
||||
"intro": "11111",
|
||||
"createdAt": "",
|
||||
"updatedAt": "",
|
||||
"child": [
|
||||
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "38",
|
||||
"identity": "019642d5-2e29-7032-b09c-5e6e521e7449",
|
||||
"parentId": "0",
|
||||
"title": "adf阿道夫",
|
||||
"coverPath": "",
|
||||
"intro": "",
|
||||
"createdAt": "",
|
||||
"updatedAt": "",
|
||||
"child": [
|
||||
|
||||
]
|
||||
}
|
||||
],
|
||||
"tagsData": [
|
||||
|
||||
],
|
||||
"accessoryData": [
|
||||
|
||||
],
|
||||
"fileList": [
|
||||
{
|
||||
"url": "/images/comic_adventure_island_cover.jpg"
|
||||
}
|
||||
],
|
||||
"attachment": [
|
||||
{
|
||||
"identity": "0196619c-d5ae-7832-a6f3-78cef4fb1c14",
|
||||
"url": "http://files.apinb.com/123/2025-04/01/01JSGSSNDEWJVBCKNGEP66C1Q4.png",
|
||||
"name": "【哲风壁纸】更科瑠夏-租借女友 (1).png"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user