package com.kxs.user.biz.controller.kxsapp;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kxs.common.core.util.R;
import com.kxs.user.api.model.KxsUserAdvance;
import com.kxs.user.api.vo.kxsapp.userPresetLevel.UserPresetLogVO;
import com.kxs.user.biz.service.KxsUserEquityService;
import com.kxs.user.biz.service.KxsUserPresetLogService;
import com.kxs.user.biz.service.KxsUserService;
import com.kxs.user.biz.service.TradeDaySummaryService;
import lombok.RequiredArgsConstructor;
import org.springdoc.core.annotations.ParameterObject;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * 用户相关(UserLevel)控制层
 *
 * @author 系统
 * @since 2024-02-26 17:19:48
 */
@RestController
@RequiredArgsConstructor
@RequestMapping("userPresetLevel")
public class UserPresetLevelController {

    /**
     * 服务对象
     */
    private final KxsUserPresetLogService kxsUserPresetLogService;



    /**
     * 预设职级-预设记录
     *
     * @return 预设职级-预设记录
     */
    @GetMapping("/list")
    public R list(@ParameterObject Page<UserPresetLogVO> page, @RequestParam("keyword") String keyword) {
        return R.ok(kxsUserPresetLogService.logList(page, keyword));
    }





}

