fix: SQL语句错误修复 + 版本号更新
This commit is contained in:
@@ -185,7 +185,7 @@ def init_db():
|
|||||||
# 初始化管理员账户
|
# 初始化管理员账户
|
||||||
cursor.execute('SELECT COUNT(*) FROM admin_users')
|
cursor.execute('SELECT COUNT(*) FROM admin_users')
|
||||||
if cursor.fetchone()[0] == 0:
|
if cursor.fetchone()[0] == 0:
|
||||||
cursor.execute('INSERT INTO admin_users (username, password_hash) VALUES (?, ?',
|
cursor.execute('INSERT INTO admin_users (username, password_hash) VALUES (?, ?)',
|
||||||
(ADMIN_USERNAME, ADMIN_PASSWORD_HASH))
|
(ADMIN_USERNAME, ADMIN_PASSWORD_HASH))
|
||||||
|
|
||||||
conn.commit()
|
conn.commit()
|
||||||
|
|||||||
@@ -1445,7 +1445,7 @@ function renderProfilePage() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="profile-footer">
|
<div class="profile-footer">
|
||||||
<p>AI助手 v3.5.1</p>
|
<p>AI助手 v3.6.0</p>
|
||||||
<p>基于智谱 GLM-4.5-Air</p>
|
<p>基于智谱 GLM-4.5-Air</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user