更新 CallerController.java
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user