支付根据状态查询
This commit is contained in:
@@ -1488,7 +1488,8 @@ public class TbShopTableServiceImpl implements TbShopTableService {
|
||||
throw new BadRequestException("订单不存在");
|
||||
}
|
||||
|
||||
if (!"unpaid".equals(orderInfo.getStatus()) && !"pending".equals(orderInfo.getStatus())) {
|
||||
if (!"paying".equals(orderInfo.getStatus()) &&
|
||||
!"unpaid".equals(orderInfo.getStatus()) && !"pending".equals(orderInfo.getStatus())) {
|
||||
throw new BadRequestException("订单非未支付状态");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user