package com.guwan.controller.login;

import com.guwan.RBAC.TempVo;
import com.guwan.common.R;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/demo")
public class DemoController {

    @Resource
    private service.SystemUsersService systemUsersService;

    @GetMapping("1")
    public R test(){
        systemUsersService.getRouterAsync();

        return R.ok().put("data", new TempVo().setName("1111"));
    }

}
