123456789101112131415161718192021222324252627282930313233343536373839404142 |
- package http_model
- type EnterpriseListRequest struct {
- PageSize int64 `json:"page_size"`
- PageNum int64 `json:"page_num"`
- SupplierId int `json:"supplier_id"` // 服务商ID
- CooperateStatus int `json:"cooperate_status"` // 邀约状态:1待同意,2已同意,3已拒绝
- }
- type EnterpriseListData struct {
- EnterpriseListInfo []*EnterpriseSupplierCooperateData `json:"enterprise_list_info"`
- Total int64 `json:"total"`
- }
- type EnterpriseSupplierCooperateData struct {
- CooperateId int `json:"cooperate_id"` // 合作表主键ID
- EnterpriseId string `json:"enterprise_id"` // 商家ID
- EnterprisePhone string `json:"enterprise_phone"` // 商家手机号
- EnterpriseAuth int `json:"enterprise_auth"` // 商家认证状态,0未认证,1已认证
- SupplierId int `json:"supplier_id"` // 服务商ID
- CooperateNum int `json:"cooperate_num"` // 受邀合作次数
- UploadTalentNum int `json:"upload_talent_num"` // 提报达人数量
- CooperateTalentNum int `json:"cooperate_talent_num"` // 合作达人人数
- SOperator int `json:"s_operator"` // 服务商同意/拒绝邀约操作人
- SOperatorType int `json:"s_operator_type"` // 服务商操作人类型:1主账号,2子账号
- BOperator string `json:"b_operator"` // 商家发起入库邀约人
- BOperatorType int `json:"b_operator_type"` // 商家发起入库邀约人类型:1主账号,2子账号
- CooperateStatus int `json:"cooperate_status"` // 邀约状态:1待同意,2已同意,3已拒绝
- CreateTime string `json:"create_time"` // 合作邀约时间
- AgreeTime string `json:"agree_time"` // 同意邀约时间
- RejectTime string `json:"reject_time"` // 拒绝邀约时间
- }
- func NewEnterpriseListRequest() *EnterpriseListRequest {
- return new(EnterpriseListRequest)
- }
- func NewEnterpriseListResponse() *CommonResponse {
- resp := new(CommonResponse)
- resp.Data = new(EnterpriseListData)
- return resp
- }
|