skybase 0.1.106 → 0.1.108

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/BestPractice.md CHANGED
@@ -201,7 +201,7 @@
201
201
  errSimple: {
202
202
  default: 'Parameter error, please check the input parameters',
203
203
  zh: '参数错误,请检查输入参数'
204
- },
204
+ },
205
205
  /*
206
206
  !有errSimple 看是否配置了语言参数_lang=en 或者 默认default,或者直接返回errSimple.
207
207
  !没有 errSimple 返回 ctx.checkedData.msg
package/CHANGELOG.md CHANGED
@@ -1,30 +1,39 @@
1
- ## [0.1.105](https://github.com/kongnet/skybase/compare/v0.1.104...v0.1.105) (2025-12-13)
1
+ ## [0.1.107](https://github.com/kongnet/skybase/compare/v0.1.101...v0.1.107) (2025-12-18)
2
2
 
3
3
 
4
4
 
5
5
 
6
- ## [0.1.104](https://github.com/kongnet/skybase/compare/v0.1.103...v0.1.104) (2025-12-13)
6
+ ## [0.1.101](https://github.com/kongnet/skybase/compare/v0.1.100...v0.1.101) (2025-12-18)
7
7
 
8
8
 
9
9
 
10
10
 
11
- ## [0.1.103](https://github.com/kongnet/skybase/compare/v0.1.102...v0.1.103) (2025-12-13)
11
+ ## [0.1.100](https://github.com/kongnet/skybase/compare/v0.1.99...v0.1.100) (2025-12-04)
12
12
 
13
13
 
14
14
 
15
15
 
16
- ## [0.1.102](https://github.com/kongnet/skybase/compare/v0.1.101...v0.1.102) (2025-12-13)
16
+ ## [0.1.99](https://github.com/kongnet/skybase/compare/v0.1.98...v0.1.99) (2025-10-15)
17
17
 
18
18
 
19
19
 
20
20
 
21
- ## [0.1.101](https://github.com/kongnet/skybase/compare/v0.1.95...v0.1.101) (2025-12-13)
21
+ ## [0.1.98](https://github.com/kongnet/skybase/compare/v0.1.97...v0.1.98) (2025-10-14)
22
+
23
+
24
+
25
+
26
+ ## [0.1.97](https://github.com/kongnet/skybase/compare/v0.1.96...v0.1.97) (2025-10-14)
27
+
28
+
29
+
30
+
31
+ ## [0.1.96](https://github.com/kongnet/skybase/compare/v0.1.95...v0.1.96) (2025-10-14)
22
32
 
23
33
 
24
34
  ### :sparkles:
25
35
 
26
36
  * (koa 版本升级) ([eb043e1](https://github.com/kongnet/skybase/commit/eb043e18851d6946c92de77940a8756dfe89b920))
27
- * 增加多语言前端自定义错误 ([107bea2](https://github.com/kongnet/skybase/commit/107bea25a2c4edcf6d59b46508f1efadd5d0d70c))
28
37
 
29
38
 
30
39
 
@@ -62,7 +62,7 @@ const routerLog = (result, name, apiPath, ms) => {
62
62
  }
63
63
  )
64
64
  resultKey = resultKey.slice(0, 1000)
65
- $.err(
65
+ $.log(
66
66
  '[router处理]=>',
67
67
  resultKey,
68
68
  `\n${$.c.dimc(name + apiPath)} => ${$.c.dimc(ms || '0')} ms\n`
@@ -91,7 +91,7 @@ const getApiFn = (apiPath, opt) => {
91
91
  let mockModel = 0
92
92
  if (!opt.controller) {
93
93
  if (opt.mock) {
94
- $.err(
94
+ $.log(
95
95
  $.c.g('✔'),
96
96
  apiPath.fillStr(' ', 30),
97
97
  $.c.r('controller未定义'),
@@ -335,7 +335,7 @@ const loadRunDict = () => {
335
335
 
336
336
  // $.dir($S)
337
337
 
338
- $.err(
338
+ $.log(
339
339
  n === 0 ? $.c.r('✘') : $.c.g('✔'),
340
340
  `[${$.c.y('frontApi/totlaApi')}] = [${$.c.y(
341
341
  `${n}/${m}`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skybase",
3
- "version": "0.1.106",
3
+ "version": "0.1.108",
4
4
  "description": "sky框架",
5
5
  "main": "index.js",
6
6
  "directories": {