From 032945bed6d4b1652a0bb72aa7b8a2cd63421292 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Sat, 26 Sep 2020 09:37:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/cms/user2.go | 2 -- business/model/dao/dao_user.go | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/business/jxstore/cms/user2.go b/business/jxstore/cms/user2.go index 47a642eab..37e823bc4 100644 --- a/business/jxstore/cms/user2.go +++ b/business/jxstore/cms/user2.go @@ -782,9 +782,7 @@ func GetSelfInfo(ctx *jxcontext.Context) (getSelfInfoResult *dao.GetSelfInfoResu tokenInfo, err := auth2.GetTokenInfo(ctx.GetToken()) if err == nil { if getSelfInfoResult, err = dao.GetUserByIDWithMembers(dao.GetDB(), "user_id", tokenInfo.GetID()); err == nil { - fmt.Println("test11111111111111111111", utils.Format4Output(getSelfInfoResult, false)) if userMembers, err3 := dao.GetUserMember(dao.GetDB(), getSelfInfoResult.UserID, "", 0, model.YES); err3 == nil { - fmt.Println("test222222222222222222222222", utils.Format4Output(userMembers, false)) getSelfInfoResult.UserMembers = userMembers } else { err = err3 diff --git a/business/model/dao/dao_user.go b/business/model/dao/dao_user.go index 0a72ceffb..94724564a 100644 --- a/business/model/dao/dao_user.go +++ b/business/model/dao/dao_user.go @@ -303,5 +303,7 @@ func GetUserMember(db *DaoDB, userID, vendorOrderID string, memberType, isPay in sql += " AND is_pay = ?" sqlParams = append(sqlParams, isPay) } + fmt.Println(sql) + fmt.Println(sqlParams) return userMembers, err }