zhangqian
2023-08-16 87cad05224d857ec0e113ae03b006d2a52ec3049
model/request/salesLeads.go
@@ -1,5 +1,7 @@
package request
import "aps_crm/constvar"
type AddSalesLeads struct {
   SalesLeads
}
@@ -23,9 +25,16 @@
type GetSalesLeadsList struct {
   PageInfo
   Keyword string `json:"keyword"`
   SearchMap map[string]interface{} `json:"search_map"` // 搜索条件: map[string]interface{}{"name": "xxx"} {"name": "客户名称", "number": "销售线索编号", "contact_name": "联系人姓名", "phone": "手机号码", "sales_resources": "商机来源", "city": "城市", "province": "省份", "member_name": "负责人"}
}
type DeleteSalesLeads struct {
   Ids []int `json:"ids"`
}
// swagger:model PushSalesLeads
type PushSalesLeads struct {
   Id     int                  `json:"id"`
   Step   constvar.SalesStatus `json:"step"` // 商机状态: 1: 跟进中; -1:失败
   Reason string               `json:"reason"`
}