@cnbcool/cnb-cli 1.0.8 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/skills/cnb-api/scripts/core/help.json +704 -704
- package/skills/cnb-api/scripts/core/index.js +16 -19
- package/skills/cnb-api/scripts/core/modules.help.js +11 -4
- package/skills/cnb-api/scripts/core/shortcuts.js +197 -63
- package/skills/cnb-api/scripts/core/utils/upload.js +233 -0
- package/skills/cnb-api/scripts/modules/knowledge-base/search-npc.js +5 -5
|
@@ -16,7 +16,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
16
16
|
* ## AUTHOR: bapelin ##
|
|
17
17
|
* ## SOURCE: https://cnb.cool/cnb/skills/cnb-api-generate ##
|
|
18
18
|
* -------------------------------------------------------------------------
|
|
19
|
-
* @Source /npc
|
|
19
|
+
* @Source /search/npc
|
|
20
20
|
*/
|
|
21
21
|
|
|
22
22
|
/**
|
|
@@ -41,7 +41,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
41
41
|
* @tags KnowledgeBase
|
|
42
42
|
* @name searchNpc
|
|
43
43
|
* @summary 全局语义搜索 NPC 角色
|
|
44
|
-
* @request get:/npc
|
|
44
|
+
* @request get:/search/npc
|
|
45
45
|
|
|
46
46
|
----------------------------------
|
|
47
47
|
* @param {SearchNpcParams} arg0 - searchNpc request params
|
|
@@ -58,13 +58,13 @@ async function _default({
|
|
|
58
58
|
...axiosConfig,
|
|
59
59
|
_next_req: req,
|
|
60
60
|
options: options,
|
|
61
|
-
url: "/npc
|
|
62
|
-
_apiTag: "/npc
|
|
61
|
+
url: "/search/npc",
|
|
62
|
+
_apiTag: "/search/npc",
|
|
63
63
|
method: "get",
|
|
64
64
|
params: query,
|
|
65
65
|
_originParams: {
|
|
66
66
|
method: "get",
|
|
67
|
-
_apiTag: "/npc
|
|
67
|
+
_apiTag: "/search/npc",
|
|
68
68
|
query: query
|
|
69
69
|
}
|
|
70
70
|
});
|