【网络】http请求添加错误lua回调

dev_chengFeng
gaoxin 2021-03-20 15:01:55 +08:00
parent fccfeedba0
commit cd87dff0a7
1 changed files with 4 additions and 0 deletions

View File

@ -125,6 +125,10 @@ namespace GameLogic
if (errorAction != null)
errorAction();
if (errorLuaFunc != null)
{
errorLuaFunc.Call(request.responseCode, request.error);
}
yield break;
}
else