muchinfo 1 mese fa
parent
commit
c9c5f55925

+ 26 - 26
controllers/digital/queryDigital.go

@@ -12,9 +12,9 @@ import (
 // @Produce  json
 // @accept   application/json
 // @Security ApiKeyAuth
-// @Param    userid                                       query  int   true  "用户ID"
-// @Param    currencyids                            query string false      "币种ID(多个逗号分隔)"
-// @Param    digitalaccountid          query string false        "数字账户ID"
+// @Param    userid           query    int    true  "用户ID"
+// @Param    currencyids      query    string false "币种ID(多个逗号分隔)"
+// @Param    digitalaccountid query    string false "数字账户ID"
 // @Success  200              {array}  models.Taaccountdigital
 // @Failure  500              {object} app.Response
 // @Router   /Digital/QueryTaaccountDigitals [post]
@@ -31,11 +31,11 @@ func QueryTaaccountDigitals(c *gin.Context) {
 // @Produce  json
 // @accept   application/json
 // @Security ApiKeyAuth
-// @Param    digitalaccountid          query string true          "数字账户ID"
-// @Param    applydate                              query  string false  "申请日期(yyyyMMdd)"
-// @Param    transfertypes                   query  string        false  "划转类型(多个逗号分隔) - 枚举digitaltransfertype(1:充值 2:提现 3:转入 4:转出)"
-// @Param    page             query    int   false  "页码"
-// @Param    pagesize         query    int   false  "每页条数"
+// @Param    digitalaccountid query    string true  "数字账户ID"
+// @Param    applydate        query    string false "申请日期(yyyyMMdd)"
+// @Param    transfertypes    query    string false "划转类型(多个逗号分隔) - 枚举digitaltransfertype(1:充值 2:提现 3:转入 4:转出)"
+// @Param    page             query    int    false "页码"
+// @Param    pagesize         query    int    false "每页条数"
 // @Success  200              {array}  models.Taaccountdigitalchangeapply
 // @Failure  500              {object} app.Response
 // @Router   /Digital/QueryTaaccountDigitalChangeApplys [post]
@@ -52,11 +52,11 @@ func QueryTaaccountDigitalChangeApplys(c *gin.Context) {
 // @Produce  json
 // @accept   application/json
 // @Security ApiKeyAuth
-// @Param    digitalaccountid          query string true          "数字账户ID"
-// @Param    tradedate                              query  string false  "交易日(yyyyMMdd)"
-// @Param    businesscodes                   query  string false        "业务类型(多个逗号分隔) - 枚举digitalbusinesscode(1:充值 2:提现 3:转入 4:转出 5:现货交易 6:现货交易手续费 7:提现手续费...)"
-// @Param    page             query    int   false  "页码"
-// @Param    pagesize         query    int   false  "每页条数"
+// @Param    digitalaccountid query    string true  "数字账户ID"
+// @Param    tradedate        query    string false "交易日(yyyyMMdd)"
+// @Param    businesscodes    query    string false "业务类型(多个逗号分隔) - 枚举digitalbusinesscode(1:充值 2:提现 3:转入 4:转出 5:现货交易 6:现货交易手续费 7:提现手续费...)"
+// @Param    page             query    int    false "页码"
+// @Param    pagesize         query    int    false "每页条数"
 // @Success  200              {array}  models.Taaccountdigitallog
 // @Failure  500              {object} app.Response
 // @Router   /Digital/QueryTaaccountDigitalLogs [post]
@@ -73,13 +73,13 @@ func QueryTaaccountDigitalLogs(c *gin.Context) {
 // @Produce  json
 // @accept   application/json
 // @Security ApiKeyAuth
-// @Param    userid                                        query  string true  "用户ID"
-// @Param    digitalaccountid          query string false         "数字账户ID"
-// @Param    goodsid                                query  int    false  "商品ID"
-// @Param    tradedate                              query  string false  "交易日(yyyyMMdd)"
-// @Param    orderstatuses                   query  string false        "委托状态(多个逗号分隔) 参考枚举orderstatus"
-// @Param    page             query    int   false  "页码"
-// @Param    pagesize         query    int   false  "每页条数"
+// @Param    userid           query    string true  "用户ID"
+// @Param    digitalaccountid query    string false "数字账户ID"
+// @Param    goodsid          query    int    false "商品ID"
+// @Param    tradedate        query    string false "交易日(yyyyMMdd)"
+// @Param    orderstatuses    query    string false "委托状态(多个逗号分隔) 参考枚举orderstatus"
+// @Param    page             query    int    false "页码"
+// @Param    pagesize         query    int    false "每页条数"
 // @Success  200              {array}  models.DigitaltradeOrderdetail
 // @Failure  500              {object} app.Response
 // @Router   /Digital/QueryDigitalTradeOrderDetails [post]
@@ -96,12 +96,12 @@ func QueryDigitalTradeOrderDetails(c *gin.Context) {
 // @Produce  json
 // @accept   application/json
 // @Security ApiKeyAuth
-// @Param    userid                                       query  string true  "用户ID"
-// @Param    digitalaccountid          query string false        "数字账户ID"
-// @Param    goodsid                                query int    false  "商品ID"
-// @Param    tradedate                              query string false  "交易日(yyyyMMdd)"
-// @Param    page             query    int   false  "页码"
-// @Param    pagesize         query    int   false  "每页条数"
+// @Param    userid           query    string true  "用户ID"
+// @Param    digitalaccountid query    string false "数字账户ID"
+// @Param    goodsid          query    int    false "商品ID"
+// @Param    tradedate        query    string false "交易日(yyyyMMdd)"
+// @Param    page             query    int    false "页码"
+// @Param    pagesize         query    int    false "每页条数"
 // @Success  200              {array}  models.DigitaltradeTradedetail
 // @Failure  500              {object} app.Response
 // @Router   /Digital/QueryDigitalTradeTradeDetails [post]

+ 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]

+ 2 - 2
controllers/wallet/address.go

@@ -7,8 +7,8 @@ import (
 	"github.com/gin-gonic/gin"
 )
 
-// QueryMyRefer
-// @Summary  查询我的推荐列表
+// QueryWalletAddress
+// @Summary  查询钱包地址
 // @Produce  json
 // @Security ApiKeyAuth
 // @Param    digitalaccountid query    int true "数字账户ID"

+ 1 - 1
docs/docs.go

@@ -21238,7 +21238,7 @@ const docTemplate = `{
                 "tags": [
                     "钱包"
                 ],
-                "summary": "查询我的推荐列表",
+                "summary": "查询钱包地址",
                 "parameters": [
                     {
                         "type": "integer",

+ 1 - 1
docs/swagger.json

@@ -21229,7 +21229,7 @@
                 "tags": [
                     "钱包"
                 ],
-                "summary": "查询我的推荐列表",
+                "summary": "查询钱包地址",
                 "parameters": [
                     {
                         "type": "integer",

+ 1 - 1
docs/swagger.yaml

@@ -46157,7 +46157,7 @@ paths:
             $ref: '#/definitions/app.Response'
       security:
       - ApiKeyAuth: []
-      summary: 查询我的推荐列表
+      summary: 查询钱包地址
       tags:
       - 钱包
   /WrTrade2/InsertXhcpSellBackApply: