订单折扣问题
付款金额0的问题
This commit is contained in:
@@ -95,6 +95,15 @@ public class CzgControllerAdvice {
|
||||
return CzgResult.failure(ex.getCode(), ex.getMsg());
|
||||
}
|
||||
|
||||
/**
|
||||
* 支付成功
|
||||
* 支付金额为零的统一处理
|
||||
*/
|
||||
@ExceptionHandler(PaySuccessException.class)
|
||||
public CzgResult<Object> handlePaySuccessException() {
|
||||
return CzgResult.success();
|
||||
}
|
||||
|
||||
/**
|
||||
* 处理Hutool的断言抛出异常
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user