package request type AddContract struct { Contract } type Contract struct { ContractName string `json:"contractName"` //合同名称 ClientId int `json:"client_id"` MemberId int `json:"member_id"` Number string `json:"number"` QuotationId int `json:"quotation_id"` StatusId int `json:"status_id"` File string `json:"file"` CodeStandID string `json:"codeStandID"` //编码id SendTime string `json:"sendTime"` //发货时间 } type UpdateContract struct { Id int `json:"id"` Contract } type GetContractList struct { PageInfo SearchMap map[string]interface{} `json:"search_map"` // 搜索条件: map[string]interface{} {"member_name": "销售负责人", "number": "合同编号", "created_at": "创建时间"} Keyword string `json:"keyword"` } type DeleteContract struct { Ids []int `json:"ids"` }