@k3000/s1 0.3.2 → 0.3.4

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/README.md CHANGED
@@ -1,10 +1,20 @@
1
1
  以UDP微服务的形式构建的平台
2
2
 
3
3
  1、全局安装 npm i -g @k3000/s1
4
+
4
5
  2、项目预览需要启动的服务:
6
+
5
7
  npm run admin #管理后台服务
8
+
6
9
  npm run jwt #用户身份校验
10
+
7
11
  npm run store1 #存储服务
12
+
8
13
  npm run proxy #转发服务
14
+
9
15
  3、发布 npm run build,打包后存入bin文件夹
10
- 4、部署 node pm2.mjs
16
+
17
+ 4、部署 node pm2.mjs
18
+
19
+ 测试账号:admin
20
+ 测试秒喵:admin123
package/common/config.mjs CHANGED
@@ -32,9 +32,9 @@ export const serverDir = rootPath
32
32
  export const staticDir = rootPath + '/static'
33
33
 
34
34
  export const mysql = {
35
- host: 'qshfu.com',
35
+ host: 'localhost',
36
36
  port: '3306',
37
- user: 'admin',
38
- database: 'wms',
39
- password: 'QSF0099++mysql',
37
+ user: 'user',
38
+ database: 'name',
39
+ password: '******',
40
40
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k3000/s1",
3
- "version": "0.3.2",
3
+ "version": "0.3.4",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "sync": "npm link",