提交 88a932fa 编写于 作者: ibiz4j's avatar ibiz4j

tj

上级 e1e2a16f
......@@ -2,6 +2,7 @@
package {{packageName}}.api.{{apps}}.rest;
import cn.ibizlab.edge.api.link.annotation.G1;
import cn.ibizlab.edge.core.extensions.annotation.LsbData;
import cn.ibizlab.edge.api.link.dto.TyywKgXfjsdj.SubDfUpdateDto;
import cn.ibizlab.edge.api.link.dto.ex.*;
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
......@@ -49,6 +50,7 @@ public class G1ResResource {
@ApiOperationSupport(order = 1{{@index}})
@ApiOperation(value = "{{item}}", tags = {"资源目录" }, notes = "topic主题:TOPIC_WSXF_RESOURCE_{{upperCase @key}}")
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','TOPIC_WSXF_RESOURCE_{{upperCase @key}}')")
@LsbData("TOPIC_WSXF_RESOURCE_{{upperCase @key}}")
@RequestMapping(method = RequestMethod.GET, value = "/mq/topic/TOPIC_WSXF_RESOURCE_{{upperCase @key}}/pullconsumer")
public ResponseEntity<List<{{@key}}Dto>> pull{{@key}}(@ApiParam("oauth2第三方接入token") @RequestHeader("Access-Token") String accessToken,
@ApiParam(value = "偏移量,不提供或0时默认计算",example = "0") @RequestParam(value = "offset",required = false,defaultValue = "0") Long offset,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册