fix(miniapp): persist session token for WeChat login

Return sessionToken from login endpoints and store it client-side because
wx.request cannot rely on Set-Cookie. Also fix multi-cookie parsing,
start on login page, and guard chat rendering fields.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-07-11 13:05:44 +08:00
parent 3163445a9d
commit 57a60d41d7
7 changed files with 101 additions and 16 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{
"pages": [
"pages/chat/index",
"pages/login/index",
"pages/chat/index",
"pages/sessions/index",
"pages/space/index",
"pages/webview/index"