2204A-cyj

1127/chengyingjie
成英杰 2024-12-01 15:22:16 +08:00
parent d1d9109b43
commit 517f694ec2
6 changed files with 14 additions and 14 deletions

View File

@ -87,6 +87,7 @@ public class ActivityTeamController {
return Result.success(ActivityTeamInfoResp.teamInfoFindByIdBuild(activityTeamInfoService.findDetailById(teamId))); return Result.success(ActivityTeamInfoResp.teamInfoFindByIdBuild(activityTeamInfoService.findDetailById(teamId)));
} }
/** 修改拼团活动*/ /** 修改拼团活动*/
@PutMapping @PutMapping
private Result<String> update(ActivityTeamProductSkuInfoUpdReq activityTeamProductSkuInfoUpdReq){ private Result<String> update(ActivityTeamProductSkuInfoUpdReq activityTeamProductSkuInfoUpdReq){

View File

@ -43,7 +43,7 @@ public class CommentInfoController extends BaseController {
* *
*/ */
@ApiOperation("获取商品评论列表") @ApiOperation("获取商品评论列表")
@RequiresPermissions("product:comment:list") // @RequiresPermissions("product:comment:list")
@GetMapping("/list") @GetMapping("/list")
public Result<TableDataInfo<CommentInfo>> list(CommentInfoQueryReq commentInfoQueryReq) { public Result<TableDataInfo<CommentInfo>> list(CommentInfoQueryReq commentInfoQueryReq) {
startPage(); startPage();
@ -68,7 +68,7 @@ public class CommentInfoController extends BaseController {
* *
*/ */
@ApiOperation("获取商品评论详细信息") @ApiOperation("获取商品评论详细信息")
@RequiresPermissions("product:comment:query") // @RequiresPermissions("product:comment:query")
@GetMapping(value = "/{id}") @GetMapping(value = "/{id}")
@ApiImplicitParam(name = "id", value = "id", required = true, dataType = "Long", paramType = "path", dataTypeClass = Long.class) @ApiImplicitParam(name = "id", value = "id", required = true, dataType = "Long", paramType = "path", dataTypeClass = Long.class)
public Result<CommentInfo> getInfo(@PathVariable("id") Long id) { public Result<CommentInfo> getInfo(@PathVariable("id") Long id) {

View File

@ -73,9 +73,8 @@ public class ProjectInfoController extends BaseController {
* *
*/ */
@ApiOperation("获取商品信息详细信息") @ApiOperation("获取商品信息详细信息")
@RequiresPermissions("product:info:query") // @RequiresPermissions("product:info:query")
@GetMapping(value = "/{id}") @GetMapping(value = "/{id}")
@ApiImplicitParam(name = "id", value = "id", required = true, dataType = "Long", paramType = "path", dataTypeClass = Long.class)
public Result<ProjectInfo> getInfo(@PathVariable("id") Long id) { public Result<ProjectInfo> getInfo(@PathVariable("id") Long id) {
return Result.success(projectInfoCache.get(id)); return Result.success(projectInfoCache.get(id));
} }
@ -84,7 +83,7 @@ public class ProjectInfoController extends BaseController {
* *
*/ */
@ApiOperation("获取商品信息详细信息") @ApiOperation("获取商品信息详细信息")
@RequiresPermissions("product:info:query") // @RequiresPermissions("product:info:query")
@GetMapping(value = "/cache/{id}") @GetMapping(value = "/cache/{id}")
@ApiImplicitParam(name = "id", value = "id", required = true, dataType = "Long", paramType = "path", dataTypeClass = Long.class) @ApiImplicitParam(name = "id", value = "id", required = true, dataType = "Long", paramType = "path", dataTypeClass = Long.class)
public Result<ProjectInfo> getCacheInfo(@PathVariable("id") Long id) { public Result<ProjectInfo> getCacheInfo(@PathVariable("id") Long id) {
@ -95,7 +94,7 @@ public class ProjectInfoController extends BaseController {
* *
*/ */
@ApiOperation("获取商品信息详细信息") @ApiOperation("获取商品信息详细信息")
@RequiresPermissions("product:info:query") // @RequiresPermissions("product:info:query")
@GetMapping(value = "/detail/{id}") @GetMapping(value = "/detail/{id}")
@ApiImplicitParam(name = "id", value = "id", required = true, dataType = "Long", paramType = "path", dataTypeClass = Long.class) @ApiImplicitParam(name = "id", value = "id", required = true, dataType = "Long", paramType = "path", dataTypeClass = Long.class)
public Result<ProjectDetailResp> getDetailInfo(@PathVariable("id") Long id) { public Result<ProjectDetailResp> getDetailInfo(@PathVariable("id") Long id) {

View File

@ -43,7 +43,7 @@ public class ProjectSkuInfoController extends BaseController {
* SKU * SKU
*/ */
@ApiOperation("获取商品SKU列表") @ApiOperation("获取商品SKU列表")
@RequiresPermissions("product:sku:list") // @RequiresPermissions("product:sku:list")
@GetMapping("/list") @GetMapping("/list")
public Result<TableDataInfo<ProjectSkuInfo>> list(ProjectSkuInfoQueryReq projectSkuInfoQueryReq) { public Result<TableDataInfo<ProjectSkuInfo>> list(ProjectSkuInfoQueryReq projectSkuInfoQueryReq) {
startPage(); startPage();
@ -65,7 +65,7 @@ public class ProjectSkuInfoController extends BaseController {
* SKU * SKU
*/ */
@ApiOperation("导出商品SKU列表") @ApiOperation("导出商品SKU列表")
@RequiresPermissions("product:sku:export") // @RequiresPermissions("product:sku:export")
@Log(title = "商品SKU", businessType = BusinessType.EXPORT) @Log(title = "商品SKU", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, ProjectSkuInfo projectSkuInfo) { public void export(HttpServletResponse response, ProjectSkuInfo projectSkuInfo) {
@ -78,7 +78,7 @@ public class ProjectSkuInfoController extends BaseController {
* SKU * SKU
*/ */
@ApiOperation("获取商品SKU详细信息") @ApiOperation("获取商品SKU详细信息")
@RequiresPermissions("product:sku:query") // @RequiresPermissions("product:sku:query")
@GetMapping(value = "/{id}") @GetMapping(value = "/{id}")
@ApiImplicitParam(name = "id", value = "id", required = true, dataType = "Long", paramType = "path", dataTypeClass = Long.class) @ApiImplicitParam(name = "id", value = "id", required = true, dataType = "Long", paramType = "path", dataTypeClass = Long.class)
public Result<ProjectSkuInfo> getInfo(@PathVariable("id") Long id) { public Result<ProjectSkuInfo> getInfo(@PathVariable("id") Long id) {

View File

@ -43,7 +43,7 @@ public class RuleAttrInfoController extends BaseController {
* *
*/ */
@ApiOperation("获取规格详情列表") @ApiOperation("获取规格详情列表")
@RequiresPermissions("product:ruleAttr:list") // @RequiresPermissions("product:ruleAttr:list")
@GetMapping("/list") @GetMapping("/list")
public Result<TableDataInfo<RuleAttrInfo>> list(RuleAttrInfoQueryReq ruleAttrInfoQueryReq) { public Result<TableDataInfo<RuleAttrInfo>> list(RuleAttrInfoQueryReq ruleAttrInfoQueryReq) {
startPage(); startPage();
@ -68,7 +68,7 @@ public class RuleAttrInfoController extends BaseController {
* *
*/ */
@ApiOperation("获取规格详情详细信息") @ApiOperation("获取规格详情详细信息")
@RequiresPermissions("product:ruleAttr:query") // @RequiresPermissions("product:ruleAttr:query")
@GetMapping(value = "/{id}") @GetMapping(value = "/{id}")
@ApiImplicitParam(name = "id", value = "id", required = true, dataType = "Long", paramType = "path", dataTypeClass = Long.class) @ApiImplicitParam(name = "id", value = "id", required = true, dataType = "Long", paramType = "path", dataTypeClass = Long.class)
public Result<RuleAttrInfo> getInfo(@PathVariable("id") Long id) { public Result<RuleAttrInfo> getInfo(@PathVariable("id") Long id) {

View File

@ -47,7 +47,7 @@ public class RuleInfoController extends BaseController {
* *
*/ */
@ApiOperation("获取商品规格列表") @ApiOperation("获取商品规格列表")
@RequiresPermissions("product:rule:list") // @RequiresPermissions("product:rule:list")
@GetMapping("/list") @GetMapping("/list")
public Result list(RuleInfoQueryReq ruleInfoQueryReq) { public Result list(RuleInfoQueryReq ruleInfoQueryReq) {
boolean isPage = ruleInfoQueryReq.getParams().get("isPage") == null || Convert.toBool(ruleInfoQueryReq.getParams().get("isPage"), true); boolean isPage = ruleInfoQueryReq.getParams().get("isPage") == null || Convert.toBool(ruleInfoQueryReq.getParams().get("isPage"), true);
@ -62,7 +62,7 @@ public class RuleInfoController extends BaseController {
* *
*/ */
@ApiOperation("导出商品规格列表") @ApiOperation("导出商品规格列表")
@RequiresPermissions("product:rule:export") // @RequiresPermissions("product:rule:export")
@Log(title = "商品规格", businessType = BusinessType.EXPORT) @Log(title = "商品规格", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, RuleInfo ruleInfo) { public void export(HttpServletResponse response, RuleInfo ruleInfo) {
@ -75,7 +75,7 @@ public class RuleInfoController extends BaseController {
* *
*/ */
@ApiOperation("获取商品规格详细信息") @ApiOperation("获取商品规格详细信息")
@RequiresPermissions("product:rule:query") // @RequiresPermissions("product:rule:query")
@GetMapping(value = "/{id}") @GetMapping(value = "/{id}")
@ApiImplicitParam(name = "id", value = "id", required = true, dataType = "Long", paramType = "path", dataTypeClass = Long.class) @ApiImplicitParam(name = "id", value = "id", required = true, dataType = "Long", paramType = "path", dataTypeClass = Long.class)
public Result<RuleInfoUpdResp> getInfo(@PathVariable("id") Long id) { public Result<RuleInfoUpdResp> getInfo(@PathVariable("id") Long id) {