【http】接口添加失败回调事件
parent
63dc0dc0c2
commit
11f72d4e73
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue