更新 CallerController.java
parent
fd740dbc52
commit
36402c784e
|
|
@ -25,7 +25,7 @@ public class CallerController {
|
||||||
}
|
}
|
||||||
if (callInfo == null || isNullOrEmptyOrLiteralNull(callInfo.getPhoneNumber()) ||
|
if (callInfo == null || isNullOrEmptyOrLiteralNull(callInfo.getPhoneNumber()) ||
|
||||||
isNullOrEmptyOrLiteralNull(callInfo.getCallTime())) {
|
isNullOrEmptyOrLiteralNull(callInfo.getCallTime())) {
|
||||||
logger.info("CallInfo has invalid fields.");
|
logger.debug("CallInfo has invalid fields.");
|
||||||
return ServerResponseEntity.fail("json body value error.");
|
return ServerResponseEntity.fail("json body value error.");
|
||||||
}
|
}
|
||||||
return callService.getPhoneNumber(accessToken,callInfo);
|
return callService.getPhoneNumber(accessToken,callInfo);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue