Browse Source

修改BUG

zhou.xiaoning 2 years ago
parent
commit
5b78380231
5 changed files with 8 additions and 8 deletions
  1. 4 4
      controllers/guangzuan/tradeService.go
  2. 1 1
      docs/docs.go
  3. 1 1
      docs/swagger.json
  4. 1 1
      docs/swagger.yaml
  5. 1 1
      models/ferroalloy.go

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

+ 1 - 1
docs/docs.go

@@ -7937,7 +7937,7 @@ const docTemplate = `{
                 "tags": [
                     "铁合金"
                 ],
-                "summary": "定金比例个性化查询",
+                "summary": "比例变更流水查询",
                 "parameters": [
                     {
                         "type": "integer",

+ 1 - 1
docs/swagger.json

@@ -7928,7 +7928,7 @@
                 "tags": [
                     "铁合金"
                 ],
-                "summary": "定金比例个性化查询",
+                "summary": "比例变更流水查询",
                 "parameters": [
                     {
                         "type": "integer",

+ 1 - 1
docs/swagger.yaml

@@ -31165,7 +31165,7 @@ paths:
             $ref: '#/definitions/app.Response'
       security:
       - ApiKeyAuth: []
-      summary: 定金比例个性化查询
+      summary: 比例变更流水查询
       tags:
       - 铁合金
   /Ferroalloy/QueryTHJListing:

+ 1 - 1
models/ferroalloy.go

@@ -2084,7 +2084,7 @@ func (r *GThjinvesotrdeposit) GetDataByPage() (interface{}, error, int, int, int
 }
 
 type QueryMyDepositReq struct {
-	UserId int64 `form:"userId" binding:"required"` // 用户ID
+	UserId int64 `form:"userid" binding:"required"` // 用户ID
 }
 
 func (r *Thjinvesotrdeposit) GetAll(req QueryMyDepositReq) (rsp []Thjinvesotrdeposit, err error) {