平台管理端基本完成
This commit is contained in:
@@ -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
|
||||
|
@@ -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;
|
||||
|
@@ -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
|
||||
|
@@ -7,3 +7,5 @@ spring:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: 82.157.68.223:8848
|
||||
username: nacos
|
||||
password: nacos
|
||||
|
Reference in New Issue
Block a user