|
@@ -4,6 +4,7 @@ import com.ruoyi.common.core.domain.AjaxResult;
|
|
|
import com.ruoyi.common.core.page.TableDataInfo;
|
|
|
import com.ruoyi.system.domain.UserInfo;
|
|
|
import com.ruoyi.system.service.IndexService;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
@@ -22,7 +23,7 @@ import java.util.Map;
|
|
|
@RequestMapping("/index/info")
|
|
|
public class IndexController {
|
|
|
|
|
|
- @Resource
|
|
|
+ @Autowired
|
|
|
private IndexService indexService;
|
|
|
|
|
|
/**
|