package com.usky.backend.controller.web;


import com.usky.backend.service.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 用户信息表 前端控制器
 * </p>
 *
 * @author ya
 * @since 2022-04-21
 */
@RestController
@RequestMapping("/sysUser")
public class SysUserController {


    @Autowired
    private SysUserService sysUserService;


//    @Autowired
//    private RemoteUserService remoteUserService;
//
//    public ApiResult<List<SysUser>> list(){
//        return ApiResult.success(sysUserService.list());
//    }
//
//
//    @GetMapping("feginTest")
//    public ApiResult<List<SysUserVO>> feginTest() {
//        ApiResult<List<SysUserVO>> test = remoteUserService.getByUserName("test");
//        List<SysUserVO> data = test.getData();
//        return test;
//    }
}

