Commit e4ff71cd6f054ed0cae4a50a73328a2e6c11da25

Authored by liuzujun
1 parent 1cbe35d8

去除sql语句日志

1   -Subproject commit 9ab88a62f1c2ff1121be7547f02668db43dc1f75
  1 +Subproject commit 5963ca5e80ac32e27cadf4c2553f1f24af8d9435
... ...
src/models/RolePlugin.lua
... ... @@ -1756,7 +1756,7 @@ function RolePlugin.bind(Role)
1756 1756 rechargeId = rechargeId,
1757 1757 createTime = skynet.timex(),
1758 1758 transactionId = transactionId,
1759   - sid = role:getProperty("sid"),
  1759 + sid = self:getProperty("sid"),
1760 1760 })
1761 1761 order:create()
1762 1762 -- 正在进行中的订单 缓存
... ...
src/shared/ModelBaseMysql.lua
... ... @@ -111,7 +111,6 @@ function ModelBaseMysql:load(properties)
111 111 end
112 112  
113 113 if not properties then
114   - print(string_format("SELECT * from %s where `%s` = %s;", self.class.__cname, self.pri_key, self:getKey()))
115 114 properties = mysqlproxy:query(string_format("SELECT * from %s where `%s` = %s;", self.class.__cname, self.pri_key, self:getKey()))
116 115 end
117 116 if not next(properties) then return false end
... ...