Commit 4ccc0127 by wuwenlong

Merge remote-tracking branch 'origin/main'

parents 7c60e97f a13c960f
package share.web.controller.system; package share.web.controller.system;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
...@@ -21,6 +23,7 @@ import java.util.List; ...@@ -21,6 +23,7 @@ import java.util.List;
* @author wuwenlong * @author wuwenlong
* @date 2023-11-22 * @date 2023-11-22
*/ */
@Api(tags = "小程序协议管理")
@RestController @RestController
@RequestMapping("/protocol") @RequestMapping("/protocol")
public class ProtocolController extends BaseController public class ProtocolController extends BaseController
...@@ -33,6 +36,7 @@ public class ProtocolController extends BaseController ...@@ -33,6 +36,7 @@ public class ProtocolController extends BaseController
* key 标识key * key 标识key
* 获取小程序协议管理详细信息 * 获取小程序协议管理详细信息
*/ */
@ApiOperation(value = "通过key获取协议内容")
@GetMapping(value = "/{key}") @GetMapping(value = "/{key}")
public AjaxResult getInfo(@PathVariable("id") String key) public AjaxResult getInfo(@PathVariable("id") String key)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment