Skip to content

Commit

Permalink
add GetSupportStrategy
Browse files Browse the repository at this point in the history
  • Loading branch information
cherry-yl-sh committed Mar 7, 2024
1 parent 2e58ace commit 9bb3951
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,14 @@ const docTemplate = `{
"tags": [
"Sponsor"
],
"parameters": [
{
"type": "string",
"description": "network",
"name": "network",
"in": "query"
}
],
"responses": {
"200": {
"description": "OK"
Expand Down
8 changes: 8 additions & 0 deletions docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,14 @@
"tags": [
"Sponsor"
],
"parameters": [
{
"type": "string",
"description": "network",
"name": "network",
"in": "query"
}
],
"responses": {
"200": {
"description": "OK"
Expand Down
5 changes: 5 additions & 0 deletions docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,11 @@ paths:
consumes:
- application/json
description: get the support strategy
parameters:
- description: network
in: query
name: network
type: string
produces:
- application/json
responses:
Expand Down
1 change: 1 addition & 0 deletions rpc_server/api/v1/get_support_strategy.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import (
// @Accept json
// @Produce json
// @Success 200
// @Param network query string false "network"
// @Router /api/v1/get-support-strategy [GET]
// @Security JWT
func GetSupportStrategy(c *gin.Context) {
Expand Down

0 comments on commit 9bb3951

Please sign in to comment.