支付状态 取消时
This commit is contained in:
@@ -111,6 +111,14 @@ public class CzgControllerAdvice {
|
||||
return CzgResult.success();
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单超时 取消
|
||||
*/
|
||||
@ExceptionHandler(OrderCancelException.class)
|
||||
public CzgResult<Object> handleOrderCancelException() {
|
||||
return CzgResult.failure(701,"订单已过期,请重新下单");
|
||||
}
|
||||
|
||||
/**
|
||||
* 处理Hutool的断言抛出异常
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user