平台管理端基本完成

This commit is contained in:
2023-09-20 17:07:28 +08:00
parent 39d662fce3
commit 967bddd2de
27 changed files with 189 additions and 20 deletions

View File

@@ -7,7 +7,10 @@ import com.atguigu.ssyx.sys.service.RegionService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;
@@ -22,7 +25,7 @@ import java.util.List;
@Api(value = "地区接口", tags = "地区接口")
@RestController
@RequestMapping("/admin/sys/region")
@CrossOrigin
public class RegionController {
@Autowired

View File

@@ -24,7 +24,6 @@ import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping(value = "/admin/sys/regionWare")
@Api(value = "开通区域接口", tags = "开通区域接口")
@CrossOrigin
public class RegionWareController {
@Autowired
private RegionWareService regionWareService;

View File

@@ -7,7 +7,6 @@ import com.atguigu.ssyx.sys.service.WareService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@@ -25,7 +24,7 @@ import java.util.List;
@Api(value = "仓库接口", tags = "仓库接口")
@RestController
@RequestMapping("/admin/sys/ware")
@CrossOrigin
public class WareController {
@Autowired

View File

@@ -7,3 +7,5 @@ spring:
nacos:
discovery:
server-addr: 82.157.68.223:8848
username: nacos
password: nacos