去除小票打印二维码
This commit is contained in:
parent
d86463155d
commit
bdf9a2c89f
|
|
@ -144,6 +144,11 @@ public class PayService {
|
|||
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public Result payOrder(String openId,String orderId,String ip) throws Exception {
|
||||
|
||||
if(ObjectUtil.isEmpty(openId)||Objects.isNull(openId)){
|
||||
return Result.fail("付款用户[userId]参数不能为空");
|
||||
}
|
||||
|
||||
TbOrderInfo orderInfo= tbOrderInfoMapper.selectByPrimaryKey(Integer.valueOf(orderId));
|
||||
|
||||
if(!"unpaid".equals(orderInfo.getStatus())&&!"paying".equals(orderInfo.getStatus())){
|
||||
|
|
@ -836,8 +841,6 @@ public class PayService {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return Result.fail("失败");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue