Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_ht
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pseer
gxpt_ht
Commits
4ccc0127
Commit
4ccc0127
authored
Nov 22, 2023
by
wuwenlong
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/main'
parents
7c60e97f
a13c960f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
ProtocolController.java
.../java/share/web/controller/system/ProtocolController.java
+4
-0
No files found.
share-front/src/main/java/share/web/controller/system/ProtocolController.java
View file @
4ccc0127
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
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment