//package com.lutao.cloud.auth.sso.controller;
//
//import com.lutao.cloud.auth.sso.service.SSOServiceImpl;
//import com.lutao.cloud.common.core.util.MessageInfo;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//@RestController
//@RequestMapping("sso")
//@Slf4j
//public class SSOController {
//    @Autowired
//    private SSOServiceImpl ssoService;
//
//    @RequestMapping("sync/dept")
//    public MessageInfo<Boolean> syncDept() {
//        ssoService.syncDept();
//        return MessageInfo.ok(true);
//    }
//
//    @RequestMapping("sync/user")
//    public MessageInfo<Boolean> syncUser() {
//        ssoService.syncUser();
//        return MessageInfo.ok(true);
//    }
//}