This commit is contained in:
suyl
2021-04-25 16:37:11 +08:00
parent 0343b77b1e
commit 7c1c1b0045

View File

@@ -310,8 +310,8 @@ type UserInfoWithWeixin struct {
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetUserByMiniInfo [post]
func (c *Auth2Controller) GetUserByMiniInfo() {
c.callGetUserByMiniInfo(func(params *tAuth2GetUserByMiniInfoParams) (retVal interface{}, errCode string, err error) {
func (c *User2Controller) GetUserByMiniInfo() {
c.callGetUserByMiniInfo(func(params *tUser2GetUserByMiniInfoParams) (retVal interface{}, errCode string, err error) {
authInfo := &auth2.AuthInfo{}
if params.JsCode == "" {
result := api.Cacher.Get(params.Token)