瀏覽代碼

wip:参数接收处理

wangkaiyue 1 年之前
父節點
當前提交
0dbca80d84
共有 3 個文件被更改,包括 10 次插入10 次删除
  1. 4 4
      src/order/orderManageController.go
  2. 3 3
      src/order/orderManageStruct.go
  3. 3 3
      src/order/otherOrderController.go

+ 4 - 4
src/order/orderManageController.go

@@ -93,10 +93,10 @@ type Params struct {
 	Contract_userB_contacts_name    string   `form:"e_contract_userB_contacts_name"`    // 协议乙方联系人
 	Contract_remark                 string   `form:"e_contract_remark"`                 // 协议备注
 	Contract_nature                 int      `form:"contract_nature"`                   //合同性质   1新增合同  2 续签合同
-	PaybackWorkDayNum               int      `from:"paybackWorkDayNum"`                 // 回款所需工作日
-	PaybackExpectDate               string   `from:"paybackExpectDate"`                 // 回款预计时间 例如"2024-03-15"
-	PaybackOpenServer               bool     `from:"paybackOpenServer"`                 // 回款后开通服务
-	OldSerName                      []string `from:"oldSerName"`                        // 回款预计时间 例如"2024-03-15"
+	PaybackWorkDayNum               int      `form:"paybackWorkDayNum"`                 // 回款所需工作日
+	PaybackExpectDate               string   `form:"paybackExpectDate"`                 // 回款预计时间 例如"2024-03-15"
+	PaybackOpenServer               bool     `form:"paybackOpenServer"`                 // 回款后开通服务
+	OldSerName                      []string `form:"oldSerName"`                        // 回款预计时间 例如"2024-03-15"
 }
 
 // 订单列表

+ 3 - 3
src/order/orderManageStruct.go

@@ -29,9 +29,9 @@ type VipSimpleMsg struct {
 	AuditType         string                   `json:"audit_Type"`        // 审核类型
 	NewArea           string                   `form:"newArea"`           //vip订阅升级省份
 	OldArea           string                   `form:"oldArea"`           //vip订阅升级省份
-	PaybackWorkDayNum int                      `from:"paybackWorkDayNum"` // 回款所需工作日
-	PaybackExpectDate string                   `from:"paybackExpectDate"` // 回款预计时间
-	PaybackOpenServer bool                     `from:"paybackOpenServer"` // 回款后开通服务
+	PaybackWorkDayNum int                      `form:"paybackWorkDayNum"` // 回款所需工作日
+	PaybackExpectDate string                   `form:"paybackExpectDate"` // 回款预计时间
+	PaybackOpenServer bool                     `form:"paybackOpenServer"` // 回款后开通服务
 }
 
 // 购买内容

+ 3 - 3
src/order/otherOrderController.go

@@ -103,9 +103,9 @@ type CreateOtherOrderParams struct {
 	Contract_userB_contacts_name    string `form:"e_contract_userB_contacts_name"`    // 协议乙方联系人
 	Contract_remark                 string `form:"e_contract_remark"`                 // 协议备注
 	Contract_nature                 int    `form:"contract_nature"`                   //合同性质   1新增合同  2 续签合同
-	PaybackWorkDayNum               int    `from:"paybackWorkDayNum"`                 // 回款所需工作日
-	PaybackExpectDate               string `from:"paybackExpectDate"`                 // 回款预计时间 例如"2024-03-15"
-	PaybackOpenServer               bool   `from:"paybackOpenServer"`                 // 回款后开通服务
+	PaybackWorkDayNum               int    `form:"paybackWorkDayNum"`                 // 回款所需工作日
+	PaybackExpectDate               string `form:"paybackExpectDate"`                 // 回款预计时间 例如"2024-03-15"
+	PaybackOpenServer               bool   `form:"paybackOpenServer"`                 // 回款后开通服务
 	NewArea                         string `form:"newArea"`                           //vip订阅升级本次够没省份
 }