Commit c19ef8e7 by YG8999

小程序使用协议

parent 3648e7a6
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.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
......@@ -21,6 +23,7 @@ import java.util.List;
* @author wuwenlong
* @date 2023-11-22
*/
@Api(tags = "小程序协议管理")
@RestController
@RequestMapping("/protocol")
public class ProtocolController extends BaseController
......@@ -33,6 +36,7 @@ public class ProtocolController extends BaseController
* key 标识key
* 获取小程序协议管理详细信息
*/
@ApiOperation(value = "通过key获取协议内容")
@GetMapping(value = "/{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