muchinfo 3 týždňov pred
rodič
commit
d37ec5d08f

+ 4 - 4
controllers/guangzuan/tradeService.go

@@ -18,8 +18,8 @@ import (
 // @Security Group
 // @Param    userid   query    int    true  "用户ID"
 // @Param    executestatus query    int false "执行状态 - 1:未生效 2:进行中 3:已结束"
-// @Param    page     query    int    false "页码"
-// @Param    pagesize query    int    false "每页条数"
+// @Param    page          query    int false "页码"
+// @Param    pagesize      query    int false "每页条数"
 // @Success  200           {array}  models.GzcjjcorderM
 // @Failure  500     {object} app.Response
 // @Router   /Guangzuan/QueryGZCJJCOrder [get]
@@ -39,8 +39,8 @@ func QueryGZCJJCOrder(c *gin.Context) {
 // @Security Group
 // @Param    userid        query    int true  "用户ID"
 // @Param    orderid  query    string false "单据ID"
-// @Param    page          query    int false "页码"
-// @Param    pagesize      query    int false "每页条数"
+// @Param    page     query    int    false "页码"
+// @Param    pagesize query    int    false "每页条数"
 // @Success  200      {array}  models.GzcjjcorderdetailM
 // @Failure  500           {object} app.Response
 // @Router   /Guangzuan/QueryGZCJJCOrderDetail [get]

+ 9 - 8
controllers/wallet/chain.go

@@ -16,13 +16,13 @@ type QueryWalletChainsReq struct {
 
 // QueryWalletChains
 // @Summary  查询钱包链
-// @Produce  json
-// @Security ApiKeyAuth
+// @Produce     json
+// @Security    ApiKeyAuth
 // @Param    channelCode query    string true "渠道代码"
 // @Success  200         {array}  models.WalletChainRsp
-// @Failure  500      {object} app.Response
+// @Failure     500      {object} app.Response
 // @Router   /Wallet/QueryWalletChains [get]
-// @Tags     钱包
+// @Tags        钱包
 func QueryWalletChains(c *gin.Context) {
 	appG := app.Gin{C: c}
 
@@ -46,13 +46,14 @@ type QueryWalletTokensReq struct {
 }
 
 // QueryWalletTokens
-// @Summary  查询代币信息
+// @Summary     查询代币信息
+// @description /Wallet/QueryWalletTokens 查询代币信息
 // @Produce  json
 // @Security ApiKeyAuth
-// @Param    currency query    string true "币种代码"
-// @Success  200      {array}  models.Wallettokens
+// @Param       currency query    string true "币种代码"
+// @Success     200      {array}  models.Wallettokens
 // @Failure  500         {object} app.Response
-// @Router   /Wallet/QueryWalletTokens [get]
+// @Router      /Wallet/QueryWalletTokens [get]
 // @Tags     钱包
 func QueryWalletTokens(c *gin.Context) {
 	appG := app.Gin{C: c}

+ 1 - 0
docs/docs.go

@@ -21389,6 +21389,7 @@ const docTemplate = `{
                         "ApiKeyAuth": []
                     }
                 ],
+                "description": "/Wallet/QueryWalletTokens 查询代币信息",
                 "produces": [
                     "application/json"
                 ],

+ 1 - 0
docs/swagger.json

@@ -21380,6 +21380,7 @@
                         "ApiKeyAuth": []
                     }
                 ],
+                "description": "/Wallet/QueryWalletTokens 查询代币信息",
                 "produces": [
                     "application/json"
                 ],

+ 1 - 0
docs/swagger.yaml

@@ -46403,6 +46403,7 @@ paths:
       - 钱包
   /Wallet/QueryWalletTokens:
     get:
+      description: /Wallet/QueryWalletTokens 查询代币信息
       parameters:
       - description: 币种代码
         in: query