diff --git a/skyeye-shop/shop-member/src/main/java/com/skyeye/store/controller/ShopStoreController.java b/skyeye-shop/shop-member/src/main/java/com/skyeye/store/controller/ShopStoreController.java index b3ba4c6a..10f0c1c0 100644 --- a/skyeye-shop/shop-member/src/main/java/com/skyeye/store/controller/ShopStoreController.java +++ b/skyeye-shop/shop-member/src/main/java/com/skyeye/store/controller/ShopStoreController.java @@ -40,7 +40,8 @@ public class ShopStoreController { } @ApiOperation(id = "queryStoreListFoServer", value = "其他微服务调用,获取门店信息", method = "POST", allUse = "0") - @ApiImplicitParams(classBean = CommonPageInfo.class) + @ApiImplicitParams(classBean = CommonPageInfo.class, value = { + @ApiImplicitParam(id = "enabled", name = "enabled", value = "状态", required = "required,num", defaultValue = "1")}) @RequestMapping("/post/ShopStoreController/queryStoreListFoServer") public void queryStoreListFoServer(InputObject inputObject, OutputObject outputObject) { shopStoreService.queryPageList(inputObject, outputObject); @@ -53,7 +54,7 @@ public class ShopStoreController { shopStoreService.saveOrUpdateEntity(inputObject, outputObject); } - @ApiOperation(id = "queryStoreById", value = "据ID查询门店信息", method = "GET", allUse = "2") + @ApiOperation(id = "queryStoreById", value = "据ID查询门店信息", method = "GET", allUse = "0") @ApiImplicitParams({ @ApiImplicitParam(id = "id", name = "id", value = "主键id", required = "required")}) @RequestMapping("/post/ShopStoreController/queryStoreById") @@ -86,14 +87,6 @@ public class ShopStoreController { shopStoreService.queryStoreListByParams(inputObject, outputObject); } - @ApiOperation(id = "queryStorePageListByParams", value = "商城分页获取门店列表信息", method = "POST", allUse = "0") - @ApiImplicitParams(classBean = CommonPageInfo.class, value = { - @ApiImplicitParam(id = "enabled", name = "enabled", value = "状态", required = "required,num", defaultValue = "1")}) - @RequestMapping("/post/ShopStoreController/queryStorePageListByParams") - public void queryStorePageListByParams(InputObject inputObject, OutputObject outputObject) { - shopStoreService.queryPageList(inputObject, outputObject); - } - @ApiOperation(id = "queryStoreOnlineById", value = "根据门店ID获取门店设置的线上预约信息(已结合当前登陆用户)", method = "GET", allUse = "2") @ApiImplicitParams({ @ApiImplicitParam(id = "id", name = "id", value = "主键id", required = "required")}) diff --git a/skyeye-shop/shop-store/src/main/java/com/skyeye/coupon/controller/CouponController.java b/skyeye-shop/shop-store/src/main/java/com/skyeye/coupon/controller/CouponController.java index 8ddc7ef3..22f11a4c 100644 --- a/skyeye-shop/shop-store/src/main/java/com/skyeye/coupon/controller/CouponController.java +++ b/skyeye-shop/shop-store/src/main/java/com/skyeye/coupon/controller/CouponController.java @@ -46,7 +46,7 @@ public class CouponController { couponService.queryPageList(inputObject, outputObject); } - @ApiOperation(id = "queryCouponListByState", value = "根据类型获取已启用的优惠券/模版信息", method = "POST", allUse = "2") + @ApiOperation(id = "queryCouponListByState", value = "根据类型获取已启用的优惠券/模版信息", method = "POST", allUse = "0") @ApiImplicitParams({ @ApiImplicitParam(id = "storeId", name = "storeId", value = "门店id"), @ApiImplicitParam(id = "type", name = "type", value = "类型:优惠券:0,优惠券模板:1,全部:为空")})