add mysql config option wait timeout

This commit is contained in:
Yan
2018-04-23 11:49:36 +06:30
parent 268cae09f5
commit 509d3a2b18
2 changed files with 4 additions and 3 deletions

View File

@@ -62,8 +62,9 @@ class MyAesCrypt
shop_json = JSON.parse(shop_data)
shop_json["data"].each do |j|
if j["lookup"] == from
if(j["value"]["key"] == token)
if j["lookup"] == from
# add [0...44] for production cloud for remove \n
if(j["value"]["key"][0...44] == token)
return true
end
end