xingzai hace 1 año
padre
commit
97fa2a9ed6
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      controllers/wechat.go

+ 1 - 0
controllers/wechat.go

@@ -92,6 +92,7 @@ func (this *WechatCommonController) WechatLogin() {
 	resp.UserId = userId
 	resp.FirstLogin = firstLogin
 	resp.Authorization = token
+	resp.ProductName = fmt.Sprint(wxInfo)
 	br.Ret = 200
 	br.Success = true
 	br.Msg = "登录成功"