- GetStores中转换至百度坐标OK
This commit is contained in:
@@ -34,7 +34,7 @@ func GetStoreUsers(ctx *jxcontext.Context, storeID int) (storeUserInfos []*dao.S
|
||||
WHERE t1.parentid = -1 AND t1.jxstoreid = ?
|
||||
GROUP BY 1,2,3,4,5,6,7;
|
||||
`
|
||||
globals.SugarLogger.Debug(sql)
|
||||
// globals.SugarLogger.Debug(sql)
|
||||
if err = dao.GetRows(nil, &storeUserInfos, sql, storeID); err == nil {
|
||||
for _, storeUserInfo := range storeUserInfos {
|
||||
if storeUserInfo.MembersStr != "" {
|
||||
@@ -111,7 +111,7 @@ func BindMobile2Store(ctx *jxcontext.Context, mobile string, storeID int) (num i
|
||||
dao.Commit(db)
|
||||
}
|
||||
} else {
|
||||
globals.SugarLogger.Debug(utils.Format4Output(user, false))
|
||||
// globals.SugarLogger.Debug(utils.Format4Output(user, false))
|
||||
dao.WrapAddIDCULEntity(user, ctx.GetUserName())
|
||||
user.ParentID = -1
|
||||
if err = dao.CreateWeiXins(db, user); err == nil {
|
||||
|
||||
Reference in New Issue
Block a user