💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## 预创建项目 填写项目前,需要使用`预创建项目`接口来预创建项目。如果有未提交的草稿项目,这个接口会返回草稿项目内容,需要根据草稿内容来填充页面上的表单。 ~~~[api:auth] post:/CompetitionProject/preCreate int:id#项目ID(用于审核不通过的项目获取编辑数据) *int:competition_id=2#赛事ID <<< success { "code": 0, "msg": "项目预创建成功", "data": { "user_id": 10001, "competition_id": "2", "competition_area_id": "1", "name": "", "company_name": "", "principal": "", "contact": "", "email": "", "city_id": null, "team_type": "", "competition_groups": "", "competition_scopes": "", "start_date": null, "end_date": null, "summary": "", "other_patent": "", "keywords": "", "introduction": "", "team_introduction": "", "market_analysis": "", "awards": "", "remark": "", "file1": "", "file2": "", "file3": "", "file4": "", "file5": "", "file6": "", "status": 99, "create_time": "2021-07-23 17:09:21", "update_time": "2021-07-23 17:09:21", "id": "4", "members": [], "progress": [], "patent": [] } } <<< success { "code": 0, "msg": "预创建项目加载成功", "data": { "id": 9, "user_id": 10001, "competition_id": 2, "competition_area_id": 1, "name": "第二届率先杯", "company_name": "123", "principal": "123", "contact": "123123123", "email": "1513515131@qq.com", "city_id": 27822, "team_type": "员工组(仅限中科院系统员工勾选)", "competition_groups": "创意畅享组", "competition_scopes": "智能无人平台技术", "start_date": "2021-08-06", "end_date": "2021-09-17", "summary": "111111", "other_patent": "", "keywords": "1111", "introduction": "<p>1111</p>\n", "team_introduction": "11111111111111111", "market_analysis": "111", "awards": "111", "remark": "11111", "file1": "https://cas-doc-file.makercas.com/10001/project-9/f7ac352761befc1f3d5cb6dccea6c468.pdf", "file2": "https://cas-doc-file.makercas.com/10001/project-9/c109983774e59a73fd27aa779845e504.pptx", "file3": "https://cas-doc-file.makercas.com/10001/project-9/380962b6e87d501eee22b1a5e2b5748b.docx", "file4": "https://cas-doc-file.makercas.com/10001/project-9/380962b6e87d501eee22b1a5e2b5748b.docx", "file5": "https://cas-doc-file.makercas.com/10001/project-9/f7ac352761befc1f3d5cb6dccea6c468.pdf", "file6": "", "status": 2, "audit_remark": "测试", "update_time": "2021-08-04 15:57:10", "create_time": "2021-08-03 12:01:21", "members": [ { "id": 26, "user_id": 10001, "competition_id": 2, "competition_project_id": 9, "name": "11", "age": 12, "phone": "15813702116", "email": "1513515131@qq.com", "education": "博士", "position": "12", "work": "121", "employer": "2121", "update_time": "2021-08-04 14:57:27", "delete_time": "0000-00-00 00:00:00" }, { "id": 27, "user_id": 10001, "competition_id": 2, "competition_project_id": 9, "name": "2121", "age": 2121, "phone": "15813702116", "email": "1513515131@qq.com", "education": "初中", "position": "项目负责人", "work": "11", "employer": "11", "update_time": "2021-08-04 14:57:27", "delete_time": "0000-00-00 00:00:00" } ], "progress": [ { "id": 14, "user_id": 10001, "competition_id": 2, "competition_project_id": 9, "start_date": "2021-08-18", "end_date": "2021-09-14", "content": "1111", "update_time": "2021-08-04 14:58:10", "create_time": "2021-08-04 14:58:10" } ], "patent": [ { "id": 14, "user_id": 10001, "competition_id": 2, "competition_project_id": 9, "type": "发明型专利", "username": "1", "name": "11", "sn": "1111111", "update_time": "2021-08-04 15:17:22", "create_time": "2021-08-04 15:17:22" } ], "city": { "id": 27822, "name": "韶关市", "city_id": 27631, "province": { "id": 27631, "city_id": 0, "name": "广东省", "level": 1, "code": 44, "sort": 50, "create_time": "2021-07-21 16:48:05" } } } } <<< error { "code": 400, "msg": "数据校验不通过", "error": { "competition_id": "赛事不存在", "competition_area_id": "赛事赛区ID必须是整数" } } ~~~ ## 字段列表 参阅 [获取项目数据](%E8%8E%B7%E5%8F%96%E9%A1%B9%E7%9B%AE%E6%95%B0%E6%8D%AE.md) 的获取字段列表 ## 更新记录 ### 2021-09-29 删除`recommended_by`基本情况-推荐单位字段