modify
This commit is contained in:
parent
c93ff88e0e
commit
1aeb2ba020
@ -4,6 +4,7 @@ import lombok.extern.slf4j.Slf4j;
|
||||
import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
|
||||
/**
|
||||
@ -13,6 +14,7 @@ import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
@EnableScheduling
|
||||
@SpringBootApplication(scanBasePackages = "top.baogutang.*")
|
||||
@MapperScan(basePackages = {"top.baogutang.admin.dao.mapper", "top.baogutang.common.dao.mapper"})
|
||||
@EnableDiscoveryClient
|
||||
public class BaoGuTangAdminApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
@ -17,7 +17,7 @@ import javax.annotation.Resource;
|
||||
*/
|
||||
@Slf4j
|
||||
@RestController
|
||||
@RequestMapping("/api/v1/common")
|
||||
@RequestMapping("/api/v1/admin/common")
|
||||
public class CommonController {
|
||||
|
||||
@Resource
|
||||
|
||||
@ -17,7 +17,7 @@ import javax.annotation.Resource;
|
||||
* @author: nikooh
|
||||
* @date: 2024/02/22 : 11:49
|
||||
*/
|
||||
@RequestMapping("api/v1/notice")
|
||||
@RequestMapping("/api/v1/admin/notice")
|
||||
@RestController
|
||||
public class NoticeController {
|
||||
|
||||
|
||||
@ -17,7 +17,7 @@ import javax.annotation.Resource;
|
||||
*/
|
||||
@Slf4j
|
||||
@RestController
|
||||
@RequestMapping("/api/v1/script")
|
||||
@RequestMapping("/api/v1/admin/script")
|
||||
public class ScriptController {
|
||||
|
||||
@Resource
|
||||
|
||||
@ -24,7 +24,7 @@ import javax.annotation.Resource;
|
||||
*/
|
||||
@Slf4j
|
||||
@RestController
|
||||
@RequestMapping("api/v1/sysUser")
|
||||
@RequestMapping("/api/v1/admin/sysUser")
|
||||
public class SysUserController {
|
||||
|
||||
@Resource
|
||||
|
||||
Loading…
Reference in New Issue
Block a user