- GetStores中转换至百度坐标OK

This commit is contained in:
gazebo
2019-08-26 18:53:12 +08:00
parent b1d7cb8f18
commit 0eaa99bb62
4 changed files with 33 additions and 25 deletions

View File

@@ -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 {