【登录】容错处理添加
parent
a7c947d8b4
commit
9f69b1ba8f
|
@ -302,7 +302,7 @@ function this.RequestServerVersion(func)
|
|||
LogPink(url)
|
||||
networkMgr:SendGetHttp(url, function (str)
|
||||
LogPink(str)
|
||||
if str == "null" or string.find(str, "<html>") then
|
||||
if str == "null" or string.find(str, "html") then
|
||||
LogWarn("获取到的ServerVersion数据是空值,请检查!")
|
||||
else
|
||||
local json = require 'cjson'
|
||||
|
|
Loading…
Reference in New Issue