【登录】容错处理添加

dev_chengFeng
gaoxin 2021-06-25 16:02:22 +08:00
parent c3cf51d2fb
commit 757ec35f44
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,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'