This commit is contained in:
matepad
2026-01-15 15:17:05 +00:00
parent 74c07dd83f
commit 94768cf5b0
7 changed files with 41 additions and 743 deletions
@@ -1,12 +1,12 @@
package cn.lailab.toolbox;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
@SpringBootApplication
//@MapperScan("cn.lailab.toolbox.mapper") // 扫描这个包下的所有Mapper接口
@EnableScheduling
public class LailabToolboxApplication {
@@ -8,7 +8,6 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
@@ -1,10 +1,9 @@
package cn.lailab.toolbox.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@Controller
@RestController
public class ToolController {
@RequestMapping("/JiSuanQi")
@@ -6,7 +6,6 @@ import cn.lailab.toolbox.beans.domain.User;
import cn.lailab.toolbox.mapper.AuthMapper;
import cn.lailab.toolbox.service.AuthService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
@Service
@@ -5,8 +5,6 @@ import cn.lailab.toolbox.beans.message.Result;
import cn.lailab.toolbox.service.ResultService;
import org.springframework.stereotype.Service;
import java.util.Objects;
@Service
public class ResultServiceImpl implements ResultService {
@Override