From 62c454c42517bb6d6a6ef8dcb0b761e3612e2d28 Mon Sep 17 00:00:00 2001 From: dengbiao Date: Mon, 16 Dec 2024 20:25:59 +0800 Subject: [PATCH] 1 --- app/hdl/hdl_login.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/hdl/hdl_login.go b/app/hdl/hdl_login.go index 5d36e18..1e5771d 100644 --- a/app/hdl/hdl_login.go +++ b/app/hdl/hdl_login.go @@ -157,6 +157,7 @@ func WechatLogin(c *gin.Context) { e.OutErr(c, 400, e.NewErr(400, "获取微信信息失败")) return } + utils.FilePutContents("WechatLogin", utils.SerializeStr(wechatResp)) req.OpenID = gjson.Get(string(wechatResp), "openid").String() req.UnionId = gjson.Get(string(wechatResp), "unionid").String() wechatToken := gjson.Get(string(wechatResp), "access_token").String()