feat:askbot 门店获取方式变更
This commit is contained in:
@@ -80,7 +80,7 @@ public class OpenApiValidateFilter implements Filter {
|
|||||||
try {
|
try {
|
||||||
if (timeDiff > 600) {
|
if (timeDiff > 600) {
|
||||||
log.info("OpenApiValidateFilter==>{}","请求已过期,服务器时间:" + currentTime + " 请求时间:" + timestamp);
|
log.info("OpenApiValidateFilter==>{}","请求已过期,服务器时间:" + currentTime + " 请求时间:" + timestamp);
|
||||||
throw new ServiceException(ErrorCodeEnum.THIRD_API_ERROR,"请求已过期,请保证timestamp时间在10分钟之内");
|
throw new ServiceException(ErrorCodeEnum.SIGN_FAIL,"请求已过期,请保证timestamp时间在10分钟之内");
|
||||||
}
|
}
|
||||||
} catch (NumberFormatException e) {
|
} catch (NumberFormatException e) {
|
||||||
log.info("OpenApiValidateFilter==>{}","非法timestamp格式");
|
log.info("OpenApiValidateFilter==>{}","非法timestamp格式");
|
||||||
|
|||||||
Reference in New Issue
Block a user