feat:完善信息
This commit is contained in:
@ -23,37 +23,37 @@ type (
|
||||
}
|
||||
// patentForm 专利参数
|
||||
patentForm struct {
|
||||
Title string `json:"title" form:"title"`
|
||||
IPCCode string `json:"ipc_code" form:"ipc_code"`
|
||||
CPCCode string `json:"cpc_code" form:"cpc_code"`
|
||||
ApplyCode string `json:"apply_code" form:"apply_code"`
|
||||
ApplyName string `json:"apply_name" form:"apply_name"`
|
||||
ApplyAddress string `json:"apply_address" form:"apply_address"`
|
||||
ApplyZipCode string `json:"apply_zip_code" form:"apply_zip_code"`
|
||||
Inventor string `json:"inventor" form:"inventor"`
|
||||
PriorityCode string `json:"priority_code" form:"priority_code"`
|
||||
OpenCode string `json:"open_code" form:"open_code"`
|
||||
ApplyAt string `json:"apply_at" form:"apply_at"`
|
||||
PriorityAt string `json:"priority_at" form:"priority_at"`
|
||||
OpenAt string `json:"open_at" form:"open_at"`
|
||||
Title string `json:"title" form:"title" binding:"required"`
|
||||
IPCCode string `json:"ipc_code" form:"ipc_code" binding:"required"`
|
||||
CPCCode string `json:"cpc_code" form:"cpc_code" binding:"required"`
|
||||
ApplyCode string `json:"apply_code" form:"apply_code" binding:"required"`
|
||||
ApplyName string `json:"apply_name" form:"apply_name" binding:"required"`
|
||||
ApplyAddress string `json:"apply_address" form:"apply_address" binding:"required"`
|
||||
ApplyZipCode string `json:"apply_zip_code" form:"apply_zip_code" binding:"required"`
|
||||
Inventor string `json:"inventor" form:"inventor" binding:"required"`
|
||||
PriorityCode string `json:"priority_code" form:"priority_code" binding:"required"`
|
||||
OpenCode string `json:"open_code" form:"open_code" binding:"required"`
|
||||
ApplyAt string `json:"apply_at" form:"apply_at" binding:"required"`
|
||||
PriorityAt string `json:"priority_at" form:"priority_at" binding:"required"`
|
||||
OpenAt string `json:"open_at" form:"open_at" binding:"required"`
|
||||
}
|
||||
// demandForm 需求参数
|
||||
demandForm struct {
|
||||
Title string `json:"title"`
|
||||
Introduce string `json:"introduce"`
|
||||
Name string `json:"name"`
|
||||
Mobile string `json:"mobile"`
|
||||
Deadline string `json:"deadline"`
|
||||
Industry []string `json:"industry"`
|
||||
Kinds []string `json:"kinds"`
|
||||
Title string `json:"title" form:"title" binding:"required"`
|
||||
Introduce string `json:"introduce" form:"introduce" binding:"required"`
|
||||
Name string `json:"name" form:"name" binding:"required"`
|
||||
Mobile string `json:"mobile" form:"mobile" binding:"required"`
|
||||
Deadline string `json:"deadline" form:"deadline" binding:"required"`
|
||||
Industry []string `json:"industry" form:"industry" binding:"required"`
|
||||
Kinds []string `json:"kinds" form:"kinds" binding:"required"`
|
||||
config.Area
|
||||
Budget float64 `json:"budget"`
|
||||
BudgetMode int `json:"budget_mode"`
|
||||
Expect []string `json:"expect"` // 期望合作的企业及模式
|
||||
DemandBasic string `json:"demand_basic"` // 基础
|
||||
DemandExpect string `json:"demand_expect"` // 预期
|
||||
DemandBenefit string `json:"demand_benefit"` // 效益
|
||||
Status int `json:"status"`
|
||||
Budget float64 `json:"budget" form:"budget"`
|
||||
BudgetMode int `json:"budget_mode" form:"budget_mode"`
|
||||
Expect []string `json:"expect" form:"expect"` // 期望合作的企业及模式
|
||||
DemandBasic string `json:"demand_basic" form:"demand_basic"` // 基础
|
||||
DemandExpect string `json:"demand_expect" form:"demand_expect"` // 预期
|
||||
DemandBenefit string `json:"demand_benefit" form:"demand_benefit"` // 效益
|
||||
Status int `json:"status" form:"status"`
|
||||
}
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user