package com.izouma.nineth.web;

import com.izouma.nineth.domain.*;
import com.izouma.nineth.dto.PageQuery;
import com.izouma.nineth.service.*;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.data.domain.Page;
import org.springframework.web.bind.annotation.*;


/**
 * 用户资金变动记录
 */
@RestController
@RequestMapping("/userFundChangeLog")
@AllArgsConstructor
@Slf4j
public class UserFundChangeLogController extends BaseController{

    private UserFundChangeLogService userFundChangeLogService;


    @PostMapping("/all")
    public Page<UserFundChangeLog> all(@RequestBody PageQuery pageQuery) {
        //资金变动
        return userFundChangeLogService.all(pageQuery);
    }


}
