|
@@ -1,6 +1,7 @@
|
|
|
package com.zanxiang.manage.controller;
|
|
|
|
|
|
import com.zanxiang.common.domain.ResultVo;
|
|
|
+import com.zanxiang.erp.security.annotation.PreAuthorize;
|
|
|
import com.zanxiang.manage.domain.vo.ChannelChoiceVO;
|
|
|
import com.zanxiang.manage.service.ChannelService;
|
|
|
import io.swagger.annotations.Api;
|
|
@@ -31,6 +32,7 @@ public class ChannelController {
|
|
|
|
|
|
@ApiOperation(value = "渠道选择列表查询")
|
|
|
@GetMapping(value = "/choice/list")
|
|
|
+ @PreAuthorize(permissionKey = "sdk:channelChoice:list")
|
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = ChannelChoiceVO.class, responseContainer = "list")})
|
|
|
public ResultVo<List<ChannelChoiceVO>> choiceList() {
|
|
|
return new ResultVo<>(channelService.choiceList());
|