更新时间:2022-11-04 11:00:48
如果您可以更改方法签名,请将其设置为返回void
而不是int
。
另一方面,如果你不能更改方法签名然后替换
If you can change the method signature the make it returnvoid
instead ofint
.
On the other hand, if you can't change the method signature then replace
返回objBGServices.DispatcherTimerSetup(httpClient,lati,longi,UserId);
return objBGServices.DispatcherTimerSetup(httpClient, lati, longi, UserId);
with
with
objBGServices.DispatcherTimerSetup(httpClient, lati, longi, UserId);
return 0; // or whatever int value that makes sense