From 76225a9357c0cd4f40101c7767d28e86a7303614 Mon Sep 17 00:00:00 2001 From: liuhuapiaoyuan <278780765@qq.com> Date: Fri, 24 May 2024 18:57:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=B0=83=E6=95=B4=E9=83=A8=E5=88=86?= =?UTF-8?q?=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend-api/me.go | 2 +- frontend/stats.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend-api/me.go b/backend-api/me.go index 8b54e18..895106e 100644 --- a/backend-api/me.go +++ b/backend-api/me.go @@ -25,7 +25,7 @@ func Me(r *ghttp.Request) { return } resJson := gjson.New(resStr) - resJson.Set("email", "admin@closeai.com") + resJson.Set("email", record["user_username"].String()+"@closeai.com") resJson.Set("name", record["user_username"].String()+expireTime) resJson.Set("picture", "/avatars.png") resJson.Set("phone_number", "+1911011") diff --git a/frontend/stats.html b/frontend/stats.html index 5638b5c..1afb71b 100644 --- a/frontend/stats.html +++ b/frontend/stats.html @@ -6157,7 +6157,7 @@