【网络】http请求添加错误lua回调
parent
fccfeedba0
commit
cd87dff0a7
|
|
@ -125,6 +125,10 @@ namespace GameLogic
|
|||
if (errorAction != null)
|
||||
errorAction();
|
||||
|
||||
if (errorLuaFunc != null)
|
||||
{
|
||||
errorLuaFunc.Call(request.responseCode, request.error);
|
||||
}
|
||||
yield break;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue