package request type AddContract struct { Contract } type Contract struct { 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"` } 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": "创建时间"} } type DeleteContract struct { Ids []int `json:"ids"` }