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

import com.kxs.common.core.util.R;
import com.kxs.user.biz.service.KxsTotalDebtService;
import lombok.RequiredArgsConstructor;
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;

/**
 * 用户相关(TotalDebt)控制层
 *
 * @author 系统
 * @since 2024-03-22 11:05:44
 */
@RestController
@RequiredArgsConstructor
@RequestMapping("totalDebt")
public class TotalDebtController {

    /**
     * 服务对象
     */
    private final KxsTotalDebtService kxsTotalDebtService;



    /**
     * 盟主中心-盟主提现-欠款金额
     *
     * @return 盟主中心-盟主提现-欠款金额
     */
    @GetMapping("/detail")
    public R detail() {
        return R.ok(kxsTotalDebtService.detail());
    }





}

