guanwei 1.2.1 → 1.2.3
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/dist/assets/{index-CQjUFsty.js → index-CjLUvkh9.js} +22 -22
- package/dist/assets/index-CjLUvkh9.js.map +1 -0
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/scripts/guanwei +5 -2
- package/server/src/data/db.json +5325 -7771
- package/server/src/data/guanwei.db +0 -0
- package/server/src/routes/users.ts +38 -11
- package/server/src/services/divineStore.ts +1 -1
- package/shared/core/data/duanyu.ts +9 -10
- package/src/utils/userStore.ts +52 -5
- package/dist/assets/index-CQjUFsty.js.map +0 -1
package/dist/index.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<title>观微 · 玄学问道 —— 九术参详,观微知著</title>
|
|
8
8
|
<meta name="description" content="以纸墨留白为骨,融四柱八字、紫微斗数、奇门遁甲、梅花易数、六爻、大六壬、小六壬、星盘、塔罗九术于一体。观微知著,以术问道。" />
|
|
9
|
-
<script type="module" crossorigin src="/assets/index-
|
|
9
|
+
<script type="module" crossorigin src="/assets/index-CjLUvkh9.js"></script>
|
|
10
10
|
<link rel="stylesheet" crossorigin href="/assets/index-hLV3S-Cj.css">
|
|
11
11
|
</head>
|
|
12
12
|
<body>
|
package/package.json
CHANGED
package/scripts/guanwei
CHANGED
|
@@ -119,9 +119,12 @@ cmd_start() {
|
|
|
119
119
|
esac
|
|
120
120
|
done
|
|
121
121
|
if [[ ! -f "${ENV_FILE}" ]]; then
|
|
122
|
-
echo "
|
|
122
|
+
echo "ℹ️ 尚未配置模型 Key——排盘/演示等功能不受影响,仅 AI 解读不可用"
|
|
123
|
+
echo " 配置:guanwei setup --key 你的APIKey(DeepSeek 等 5 家任选)"
|
|
124
|
+
echo ""
|
|
125
|
+
else
|
|
126
|
+
set -a; source "${ENV_FILE}"; set +a
|
|
123
127
|
fi
|
|
124
|
-
set -a; source "${ENV_FILE}"; set +a
|
|
125
128
|
export PORT="${api_port}" # 后端实际监听端口
|
|
126
129
|
|
|
127
130
|
local mode_label="生产"
|