904118851 8 tháng trước cách đây
mục cha
commit
fe941dabf0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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