|
@@ -144,6 +144,7 @@ func WechatLogin(c *gin.Context) { |
|
|
e.OutErr(c, err1.Code, err1.Error()) |
|
|
e.OutErr(c, err1.Code, err1.Error()) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
|
|
|
utils.FilePutContents("WechatLogin", utils.SerializeStr(req)) |
|
|
if req.WechatCode == "" { |
|
|
if req.WechatCode == "" { |
|
|
e.OutErr(c, 400, e.NewErr(400, "获取微信信息失败")) |
|
|
e.OutErr(c, 400, e.NewErr(400, "获取微信信息失败")) |
|
|
return |
|
|
return |
|
|