|
@@ -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"` // 回款后开通服务
|
|
|
}
|
|
|
|
|
|
type UpdateReturnParams struct {
|
|
@@ -183,6 +183,7 @@ func CreateOtherOrder(context *admin.Context) (interface{}, error) {
|
|
|
if param.BuySubject == "" {
|
|
|
return nil, errors.New("缺少购买主体")
|
|
|
}
|
|
|
+ fmt.Println(param.PaybackWorkDayNum, param.PaybackExpectDate)
|
|
|
if param.PaybackWorkDayNum == 0 || param.PaybackExpectDate == "" {
|
|
|
return nil, errors.New("缺少回款预计时间字段")
|
|
|
}
|