diff --git a/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/controller/admin/OrderController.java b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/controller/admin/OrderController.java index d36e2993c..8fbaf90e4 100644 --- a/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/controller/admin/OrderController.java +++ b/mall-oms/oms-boot/src/main/java/com/youlai/mall/oms/controller/admin/OrderController.java @@ -20,7 +20,7 @@ import lombok.extern.slf4j.Slf4j; import org.springframework.web.bind.annotation.*; @Api(tags = "【系统管理】订单服务") -@RestController("") +@RestController("AdminOrderController") @RequestMapping("/api.admin/v1/orders") @Slf4j @AllArgsConstructor diff --git a/mall-sms/sms-boot/src/main/java/com/youlai/mall/sms/controller/admin/AdvertController.java b/mall-sms/sms-boot/src/main/java/com/youlai/mall/sms/controller/admin/AdvertController.java index 8a84239af..368eb2ff8 100644 --- a/mall-sms/sms-boot/src/main/java/com/youlai/mall/sms/controller/admin/AdvertController.java +++ b/mall-sms/sms-boot/src/main/java/com/youlai/mall/sms/controller/admin/AdvertController.java @@ -21,7 +21,7 @@ import java.util.Date; import java.util.List; @Api(tags = "【系统管理】营销广告") -@RestController +@RestController("AdminAdvertController") @RequestMapping("/api.admin/v1/adverts") @Slf4j @AllArgsConstructor diff --git a/mall-sms/sms-boot/src/main/java/com/youlai/mall/sms/controller/app/AdvertController.java b/mall-sms/sms-boot/src/main/java/com/youlai/mall/sms/controller/app/AdvertController.java index 71c0b7470..f79ec2b61 100644 --- a/mall-sms/sms-boot/src/main/java/com/youlai/mall/sms/controller/app/AdvertController.java +++ b/mall-sms/sms-boot/src/main/java/com/youlai/mall/sms/controller/app/AdvertController.java @@ -15,7 +15,7 @@ import org.springframework.web.bind.annotation.RestController; import java.util.List; @Api(tags = "【移动端】营销广告") -@RestController("AppAdvertController") +@RestController @RequestMapping("/api.app/v1/adverts") @Slf4j @AllArgsConstructor diff --git a/mall-ums/ums-boot/src/main/java/com/youlai/mall/ums/controller/admin/AdminRechargeController.java b/mall-ums/ums-boot/src/main/java/com/youlai/mall/ums/controller/admin/RechargeController.java similarity index 97% rename from mall-ums/ums-boot/src/main/java/com/youlai/mall/ums/controller/admin/AdminRechargeController.java rename to mall-ums/ums-boot/src/main/java/com/youlai/mall/ums/controller/admin/RechargeController.java index d6669e6fe..d783c7a69 100644 --- a/mall-ums/ums-boot/src/main/java/com/youlai/mall/ums/controller/admin/AdminRechargeController.java +++ b/mall-ums/ums-boot/src/main/java/com/youlai/mall/ums/controller/admin/RechargeController.java @@ -24,11 +24,11 @@ import java.util.HashMap; import java.util.Map; -@Api(tags = "会员充值接口") -@RestController +@Api(tags = "【系统管理】会员充值") +@RestController("AdminAdminRechargeController") @RequestMapping("/api.admin/v1/recharge_orders") @Slf4j -public class AdminRechargeController { +public class RechargeController { @Autowired private RestTemplate restTemplate; diff --git a/mall-ums/ums-boot/src/main/java/com/youlai/mall/ums/controller/admin/AdminUserController.java b/mall-ums/ums-boot/src/main/java/com/youlai/mall/ums/controller/admin/UserController.java similarity index 97% rename from mall-ums/ums-boot/src/main/java/com/youlai/mall/ums/controller/admin/AdminUserController.java rename to mall-ums/ums-boot/src/main/java/com/youlai/mall/ums/controller/admin/UserController.java index 3ddb6a060..5c26290de 100644 --- a/mall-ums/ums-boot/src/main/java/com/youlai/mall/ums/controller/admin/AdminUserController.java +++ b/mall-ums/ums-boot/src/main/java/com/youlai/mall/ums/controller/admin/UserController.java @@ -20,11 +20,11 @@ import org.springframework.web.bind.annotation.*; import java.util.Arrays; -@Api(tags = "会员接口") -@RestController +@Api(tags = "【系统管理】会员管理") +@RestController("AdminUserController") @RequestMapping("/api.admin/v1/users") @Slf4j -public class AdminUserController { +public class UserController { @Autowired private IUmsUserService iUmsUserService; diff --git a/mall-ums/ums-boot/src/main/java/com/youlai/mall/ums/controller/app/AppAddressController.java b/mall-ums/ums-boot/src/main/java/com/youlai/mall/ums/controller/app/AddressController.java similarity index 98% rename from mall-ums/ums-boot/src/main/java/com/youlai/mall/ums/controller/app/AppAddressController.java rename to mall-ums/ums-boot/src/main/java/com/youlai/mall/ums/controller/app/AddressController.java index 1bad4e27f..a40fc4502 100644 --- a/mall-ums/ums-boot/src/main/java/com/youlai/mall/ums/controller/app/AppAddressController.java +++ b/mall-ums/ums-boot/src/main/java/com/youlai/mall/ums/controller/app/AddressController.java @@ -17,12 +17,12 @@ import org.springframework.web.bind.annotation.*; import java.util.Arrays; import java.util.List; -@Api(tags = "会员接口") +@Api(tags = "【移动端】会员地址") @RestController @RequestMapping("/api.app/v1/addresses") @Slf4j @AllArgsConstructor -public class AppAddressController { +public class AddressController { private IUmsAddressService iUmsAddressService; diff --git a/mall-ums/ums-boot/src/main/java/com/youlai/mall/ums/controller/app/AppUserController.java b/mall-ums/ums-boot/src/main/java/com/youlai/mall/ums/controller/app/UserController.java similarity index 98% rename from mall-ums/ums-boot/src/main/java/com/youlai/mall/ums/controller/app/AppUserController.java rename to mall-ums/ums-boot/src/main/java/com/youlai/mall/ums/controller/app/UserController.java index 285c8940f..68a820a5e 100644 --- a/mall-ums/ums-boot/src/main/java/com/youlai/mall/ums/controller/app/AppUserController.java +++ b/mall-ums/ums-boot/src/main/java/com/youlai/mall/ums/controller/app/UserController.java @@ -18,12 +18,12 @@ import lombok.AllArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.web.bind.annotation.*; -@Api(tags = "会员接口") +@Api(tags = "【移动端】会员服务") @RestController @RequestMapping("/api.app/v1/users") @Slf4j @AllArgsConstructor -public class AppUserController { +public class UserController { private IUmsUserService iUmsUserService;