【http】接口添加失败回调事件

dev_chengFeng
JLIOSM1 2021-07-13 18:56:21 +08:00
parent 63dc0dc0c2
commit 11f72d4e73
1 changed files with 2 additions and 2 deletions

View File

@ -181,7 +181,7 @@ end
require("Base.HttpCrypt")
local CRYPT_KEY = "d53b3e8ef74bf72d8aafce3a1c8671a0"
function this:SendGetHttp(url, callback)
function this:SendGetHttp(url, callback, _, _, failCB)
local request = url
LogGreen("Http请求"..request)
if AppConst.Platform == "IOS" then
@ -199,7 +199,7 @@ function this:SendGetHttp(url, callback)
if callback then
callback(msg)
end
end, nil, nil, nil)
end, nil, nil, failCB)
end