package com.dsh.account.controller;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
import com.dsh.account.entity.CoachType;
|
import com.dsh.account.model.query.RechargeRecordsQuery;
|
import com.dsh.account.model.query.coachQuery.CoachQuery;
|
import com.dsh.account.model.vo.CoachSerchVO;
|
import com.dsh.account.model.vo.RechargeRecordsVO;
|
import com.dsh.account.service.CoachService;
|
import com.dsh.account.service.CoachTypeService;
|
import com.dsh.account.service.RechargeRecordsService;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.web.bind.annotation.*;
|
|
import java.util.List;
|
|
/**
|
* 充值记录控制器
|
*/
|
@RestController
|
@RequestMapping("")
|
public class FinanceController {
|
@Autowired
|
private RechargeRecordsService rechargeRecordsService;
|
|
|
/**
|
* 充值记录列表数据
|
*/
|
@ResponseBody
|
@RequestMapping("/finance/rechargeList")
|
public List<RechargeRecordsVO> rechargeList(@RequestBody RechargeRecordsQuery query){
|
List<RechargeRecordsVO> list = rechargeRecordsService.rechargeList(query);
|
return list;
|
}
|
}
|