提现回调,已驳回的 返回内容
This commit is contained in:
@@ -32,6 +32,7 @@ import com.sqx.modules.utils.AliPayOrderUtil;
|
|||||||
import io.swagger.annotations.Api;
|
import io.swagger.annotations.Api;
|
||||||
import io.swagger.annotations.ApiOperation;
|
import io.swagger.annotations.ApiOperation;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
@@ -184,6 +185,9 @@ public class WuyouController {
|
|||||||
} else if(!cashOut.getState().equals(2)){
|
} else if(!cashOut.getState().equals(2)){
|
||||||
cashOut.setState(2);
|
cashOut.setState(2);
|
||||||
cashOut.setRefund(notifyDto.getMsg());
|
cashOut.setRefund(notifyDto.getMsg());
|
||||||
|
if(StringUtils.isNotBlank(notifyDto.getMsg()) && notifyDto.getMsg().contains("已驳回")){
|
||||||
|
cashOut.setRefund("提现失败,请检查支付宝账号与收款人姓名后,重试。");
|
||||||
|
}
|
||||||
|
|
||||||
UserMoneyDetails userMoneyDetails = new UserMoneyDetails(
|
UserMoneyDetails userMoneyDetails = new UserMoneyDetails(
|
||||||
cashOut.getUserId(), null, null, "提现失败", 4, 1, 1,
|
cashOut.getUserId(), null, null, "提现失败", 4, 1, 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user