zj
2025-04-17 0d0e4ad058dc96a70dea06fcb2120ca79e8a57b5
src/main/java/com/nq/controller/backend/AdminWithDrawController.java
@@ -4,6 +4,7 @@
import cn.afterturn.easypoi.excel.entity.ExportParams;
import com.github.pagehelper.PageInfo;
import com.nq.common.ServerResponse;
import com.nq.pojo.TradeResultVO;
import com.nq.pojo.UserWithdraw;
import com.nq.service.IUserWithdrawService;
@@ -55,21 +56,31 @@
        }
    }
    /**
     *
     * @param withId
     * @param state 1.审核通过(走代付) 2.审核(不走代付) 3.驳回
     * @param authMsg
     * @return
     */
    //修改资金管理 提现列表 提现状态
    @RequestMapping({"updateState.do"})
    @ResponseBody
    public ServerResponse updateState(@RequestParam(value = "withId", required = false) Integer withId,
                                      @RequestParam(value = "state", required = false) Integer state,
                                      @RequestParam(value = "authMsg", required = false) String authMsg) {
                                      @RequestParam(value = "authMsg", required = false) String authMsg,
                                      HttpServletRequest request, HttpServletResponse response) {
        ServerResponse serverResponse = null;
        try {
            serverResponse = this.iUserWithdrawService.updateState(withId, state, authMsg);
            serverResponse = this.iUserWithdrawService.updateState(withId, state, authMsg,request,response);
        } catch (Exception e) {
            log.error("admin修改充值订单状态出错 ,异常 = {}", e);
            return ServerResponse.createByErrorMsg("操作失败");
        }
        return serverResponse;
    }
    //删除资金记录
    @RequestMapping({"deleteWithdraw.do"})
    @ResponseBody
    public ServerResponse deleteWithdraw(Integer withdrawId) {