修改
This commit is contained in:
@@ -749,6 +749,10 @@ public class MemberService {
|
||||
return Result.fail(CodeEnum.USERSHOPFLOWNOEXIST);
|
||||
}
|
||||
|
||||
if(!"0".equals(flow.getIsReturn())){
|
||||
return Result.fail(CodeEnum.ORDERRETURN);
|
||||
}
|
||||
|
||||
|
||||
TbShopUser user=tbShopUserMapper.selectByPrimaryKey(flow.getShopUserId());
|
||||
|
||||
@@ -776,7 +780,7 @@ public class MemberService {
|
||||
|
||||
String no=DateUtils.getSsdfTimes();
|
||||
|
||||
PublicResp<OrderReturnResp> publicResp = thirdPayService.returnOrder(url, thirdApply.getAppId(),no , flow.getRemark(), null, "充值退款", flow.getAmount().setScale(2, RoundingMode.DOWN).multiply(new BigDecimal(100)).longValue(), callBack, null, thirdApply.getAppToken());
|
||||
PublicResp<OrderReturnResp> publicResp = thirdPayService.returnOrder(url, thirdApply.getAppId(),no , null, flow.getRemark(), "充值退款", flow.getAmount().setScale(2, RoundingMode.DOWN).multiply(new BigDecimal(100)).longValue(), callBack, null, thirdApply.getAppToken());
|
||||
if (ObjectUtil.isNotNull(publicResp) && ObjectUtil.isNotEmpty(publicResp)) {
|
||||
if ("000000".equals(publicResp.getCode())) {
|
||||
if (!"SUCCESS".equals(publicResp.getObjData().getState()) && !publicResp.getObjData().getState().equals("ING")) {
|
||||
|
||||
Reference in New Issue
Block a user