neo пре 1 година
родитељ
комит
9c074afc4f
2 измењених фајлова са 0 додато и 8 уклоњено
  1. 0 3
      dev/base/baseModule.lua
  2. 0 5
      nodes/login/controllers/usr.lua

+ 0 - 3
dev/base/baseModule.lua

@@ -117,9 +117,6 @@ function root:backup_to_db()
117 117
     local sql =
118 118
         string.format("replace into %s (%s) value (%s);", tbName, table.concat(colums, ","), table.concat(values, ","))
119 119
     local ret = lib_game_mysql:query(sql)
120
-    if not is_empty(ret) then
121
-        log.info("backup_to_db sql[%s] ret[%s]", tostring(sql), tostring(ret))
122
-    end
123 120
     return ret
124 121
 end
125 122
 -- 删除模块热数据

+ 0 - 5
nodes/login/controllers/usr.lua

@@ -153,16 +153,11 @@ function root.usr_register_by_phone(msg)
153 153
         return root.usr_login_by_phone(msg)
154 154
     end
155 155
     local uid = util_global:gen_user_id()
156
-    log.info("usr_register_by_phone account[%s] uid[%s]", tostring(account), tostring(uid))
157 156
     -- 注册账号
158 157
     local err = moduleData:hset(account, "account", "account", account)
159
-    log.info("usr_register_by_phone account[%s] err[%s]", tostring(account), tostring(err))
160 158
     err = moduleData:hset(account, "account", "password", password)
161
-    log.info("usr_register_by_phone password[%s] err[%s]", tostring(password), tostring(err))
162 159
     err = moduleData:hset(account, "account", "uid", uid)
163
-    log.info("usr_register_by_phone uid[%s] err[%s]", tostring(uid), tostring(err))
164 160
     err = accountObj:backup_to_db()
165
-    log.info("usr_register_by_phone backup_to_db err[%s]", tostring(err))
166 161
 
167 162
     -- 正常注册
168 163
     userData:user_init_register_info(uid, msg)