904118851 8 月之前
父節點
當前提交
fe941dabf0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      common/dbproxy/tg_zhanghu.lua

+ 1 - 1
common/dbproxy/tg_zhanghu.lua

@@ -143,7 +143,7 @@ function M.search_info_by_id(msg_body)
         local sql = string.format("SELECT * FROM advertiser WHERE advertiser_id = '%s' LIMIT 1",zhang_hu_id)
         local res = mysqldbx.query(sql)
         if #res >0 then
-            table.insert(temp,#temp,res[1])
+            table.insert(temp,#temp+1,res[1])
         end
     end
     return true,temp