definitions: http_model.CodeLoginData: properties: token: type: string type: object http_model.CodeLoginRequest: properties: code: type: string phone: type: string type: object http_model.CommonResponse: properties: data: {} message: type: string status: type: integer type: object http_model.CreateProductData: properties: product_id: description: 商品id type: integer type: object http_model.CreateProductPhoto: properties: photo_uid: type: string photo_url: description: 图片或视频url type: string symbol: description: 图片为主图或详情图标志位,1为主图,2为详情图,3为视频 type: integer type: object http_model.CreateProductRequest: properties: brand_name: type: string product_detail: type: string product_id: type: integer product_name: description: 商品名称 type: string product_photos: description: 商品图片列表 items: $ref: '#/definitions/http_model.CreateProductPhoto' type: array product_price: description: 商品价值 type: integer product_type: description: 商品类型 type: integer product_url: description: 商品链接,可为电商网址、公司官网、大众点评的店铺地址等可以说明商品信息或者品牌信息的线上地址; type: string shop_address: description: 店铺地址,商品类型为线下品牌时需填写 type: string type: object http_model.FindProductData: properties: brand_name: description: 品牌名称 type: string enterprise_id: description: 所属企业id type: integer product_detail: type: string product_id: type: integer product_name: description: 商品名称 type: string product_photos: description: 商品图片列表 items: $ref: '#/definitions/http_model.ProductPhoto' type: array product_price: description: 商品价值 type: integer product_type: description: 商品类型 type: integer product_url: description: 商品链接,可为电商网址、公司官网、大众点评的店铺地址等可以说明商品信息或者品牌信息的线上地址; type: string shop_address: description: 店铺地址,商品类型为线下品牌时需填写 type: string type: object http_model.FindProductRequest: properties: product_id: type: integer type: object http_model.FullProjectListData: properties: full_project_pre_view: items: $ref: '#/definitions/http_model.FullProjectPreview' type: array total: type: string type: object http_model.FullProjectListRequest: properties: page_num: type: integer page_size: type: integer project_content_type: description: 内容形式 type: string project_form: description: 项目形式 type: string project_id: description: 项目ID type: string project_name: description: 项目名 type: string project_platform: description: 项目平台 type: string project_status: description: 项目状态 type: string project_updated: description: 最后操作时间 type: string type: object http_model.FullProjectPreview: properties: project_content_type: description: ProjectFeeForms []string `json:"project_fee_forms"` // 稿费形式 type: string project_form: description: 项目形式 type: string project_id: description: 项目ID type: string project_name: description: 项目名 type: string project_platform: description: 项目平台 type: string project_status: description: 项目状态 type: string project_updated: description: 最后操作时间 type: string type: object http_model.ProductPhoto: properties: photo_uid: type: string photo_url: description: 图片或视频url type: string symbol: description: 图片为主图或详情图标志位,1为主图,2为详情图,3为视频 type: integer type: object http_model.ProjectChangeTaskStatusRequest: properties: task_status: type: string taskIds: items: type: string type: array type: object http_model.ProjectTaskListData: properties: project_task_pre_view: items: $ref: '#/definitions/http_model.ProjectTaskPreview' type: array total: type: string type: object http_model.ProjectTaskListRequest: properties: page_num: type: integer page_size: type: integer platform_nickname: description: 账号昵称 type: string project_id: description: 项目ID type: string strategy_id: description: 策略ID type: string task_id: description: 任务ID type: string task_status: description: 任务状态 type: string type: object http_model.ProjectTaskPreview: properties: create_date: description: 创建时间 type: string fans_count: description: 粉丝数 type: string home_page_capture_url: description: 主页链接 type: string platform_nickname: description: 账号昵称 type: string strategy_id: description: 报名选择的招募策略id type: string talent_personal_info_snap: description: 达人个人信息快照 type: string task_id: description: 任务ID type: string task_reward: description: 任务奖励金额 type: string task_status: description: 任务状态 type: string type: object http_model.SendCodeData: type: object http_model.SendCodeRequest: properties: email: type: string phone: type: string type: object http_model.ShowProjectData: properties: content_type: description: 内容形式,1代表图文,2代表视频 type: string create_at: description: 创建时间 type: string enterprise_id: description: 企业id type: string phone: description: 联系方式 type: string product_id: description: 关联商品id type: string project_detail: description: 项目详情 type: string project_form: description: 项目形式,1-4分别代表实体商品寄拍、虚拟产品测评、线下探店打卡、素材微原创 type: string project_id: description: 项目id type: string project_name: description: 项目名称 type: string project_photos: description: 项目图片 items: $ref: '#/definitions/http_model.ShowProjectPhoto' type: array project_platform: description: 项目平台,1-7分别代表红book、抖音、微博、快手、b站、大众点评、知乎 type: string project_status: description: 项目状态,1-7分别代表创建中、待审核、招募中、待支付、失效、执行中、已结案 type: string project_type: description: 项目类型,1代表全流程项目,2代表专项项目 type: string recruit_ddl: description: 招募截止时间 type: string recruit_strategys: description: 定价策略 items: $ref: '#/definitions/http_model.ShowRecruitStrategy' type: array talent_type: description: 达人类型 type: string type: object http_model.ShowProjectPhoto: properties: photo_uid: type: string photo_url: description: 图片url type: string type: object http_model.ShowProjectRequest: properties: Project_id: description: 项目id type: integer type: object http_model.ShowRecruitStrategy: properties: fee_form: description: 稿费形式,1-3分别代表自报价、固定稿费、产品置换 type: string followers_low: description: 达人粉丝数下限 type: string followers_up: description: 达人粉丝数上限 type: string offer: description: 报价 type: string recruit_number: description: 招募数量 type: string strategy_id: description: 策略id type: string type: object info: contact: {} paths: /login: post: consumes: - application/json description: 输入手机号和验证码,并登录 parameters: - description: 登录输入内容请求参数结构体 in: body name: req required: true schema: $ref: '#/definitions/http_model.CodeLoginRequest' produces: - application/json responses: "200": description: 登录返回相应结构体 schema: allOf: - $ref: '#/definitions/http_model.CommonResponse' - properties: data: $ref: '#/definitions/http_model.CodeLoginData' type: object summary: login 登录 /product/changeTaskStatus: post: consumes: - application/json description: 更改项目任务的状态 parameters: - description: 更改项目任务状态的请求结构体 in: body name: req required: true schema: $ref: '#/definitions/http_model.ProjectChangeTaskStatusRequest' produces: - application/json responses: "200": description: 更改项目任务状态相应结构体 schema: $ref: '#/definitions/http_model.CommonResponse' summary: ProjectChangeTaskStatus 更改项目任务状态 /product/create: post: consumes: - application/json description: 企业创建商品,添加到商品库 parameters: - description: 登录TOKEN信息 in: header name: Authorization required: true type: string - description: 创建商品请求结构体 in: body name: req required: true schema: $ref: '#/definitions/http_model.CreateProductRequest' produces: - application/json responses: "200": description: 创建商品相应结构体 schema: allOf: - $ref: '#/definitions/http_model.CommonResponse' - properties: data: $ref: '#/definitions/http_model.CreateProductData' type: object summary: CreateProduct 创建商品 /product/find: post: consumes: - application/json description: 根据产品名称查询产品信息 parameters: - description: 登录TOKEN信息 in: header name: Authorization required: true type: string - description: 发送产品id请求参数结构体 in: body name: req required: true schema: $ref: '#/definitions/http_model.FindProductRequest' produces: - application/json responses: "200": description: 查询对应产品返回相应结构体 schema: allOf: - $ref: '#/definitions/http_model.CommonResponse' - properties: data: $ref: '#/definitions/http_model.FindProductData' type: object summary: findProduct 根据产品名称查询产品信息 /product/list: post: consumes: - application/json description: 展示企业的商品列表 parameters: - description: 登录TOKEN信息 in: header name: Authorization required: true type: string - description: 创建全部商品请求结构体 in: body name: req required: true schema: $ref: '#/definitions/http_model.FullProjectListRequest' produces: - application/json responses: "200": description: 创建全部商品列表相应结构体 schema: allOf: - $ref: '#/definitions/http_model.CommonResponse' - properties: data: $ref: '#/definitions/http_model.FullProjectListData' type: object summary: ProjectList 商品列表 /product/taskList: post: consumes: - application/json description: 展示某个项目的任务列表 parameters: - description: 查询项目的任务列表的请求结构体 in: body name: req required: true schema: $ref: '#/definitions/http_model.ProjectTaskListRequest' produces: - application/json responses: "200": description: 查询项目的任务列表相应结构体 schema: allOf: - $ref: '#/definitions/http_model.CommonResponse' - properties: data: $ref: '#/definitions/http_model.ProjectTaskListData' type: object summary: ProjectTaskList 项目任务列表 /project/show: post: consumes: - application/json description: 企业查看执行中项目 parameters: - description: 登录TOKEN信息 in: header name: Authorization required: true type: string - description: 查看项目请求结构体 in: body name: req required: true schema: $ref: '#/definitions/http_model.ShowProjectRequest' produces: - application/json responses: "200": description: 查看项目相应结构体 schema: allOf: - $ref: '#/definitions/http_model.CommonResponse' - properties: data: $ref: '#/definitions/http_model.ShowProjectData' type: object summary: CreateProduct 创建商品 /sendCode: post: consumes: - application/json description: 发送验证码,每次发送到邮箱 parameters: - description: 发送验证码请求参数结构体 in: body name: req required: true schema: $ref: '#/definitions/http_model.SendCodeRequest' produces: - application/json responses: "200": description: 发送验证码请求相应结构体 schema: allOf: - $ref: '#/definitions/http_model.CommonResponse' - properties: data: $ref: '#/definitions/http_model.SendCodeData' type: object summary: sendCode 发送验证码 swagger: "2.0"