mirror of
https://github.com/weizhiqiang1995/erp-pro.git
synced 2024-12-27 18:34:28 +08:00
feat: 接口权限修改
This commit is contained in:
parent
68764d9a8e
commit
5dfb5e2da7
2 changed files with 4 additions and 11 deletions
|
@ -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")})
|
||||
|
|
|
@ -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,全部:为空")})
|
||||
|
|
Loading…
Reference in a new issue