作者 yangfu

Merge branch 'dev' into test

@@ -20,10 +20,6 @@ func MiniUserInfoHandler(svcCtx *svc.ServiceContext) http.HandlerFunc { @@ -20,10 +20,6 @@ func MiniUserInfoHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
20 20
21 l := user.NewMiniUserInfoLogic(r.Context(), svcCtx) 21 l := user.NewMiniUserInfoLogic(r.Context(), svcCtx)
22 resp, err := l.MiniUserInfo(&req) 22 resp, err := l.MiniUserInfo(&req)
23 - if len(resp.Accounts) == 0 { // 无账号时登出  
24 - httpx.WriteJson(w, http.StatusUnauthorized, nil)  
25 - return  
26 - }  
27 result.HttpResult(r, w, resp, err) 23 result.HttpResult(r, w, resp, err)
28 } 24 }
29 } 25 }