ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
## 工作收藏添加和取消 ~~~[api] post:/favorite-action.json int:id#工作ID string:type#操作[add=添加收藏,delete=删除收藏] <<< success { "status": "success", "msg": "收藏成功" } <<< success { "status": "success", "msg": "取消收藏成功" } <<< fail { "status": "success", "msg": "您已收藏该工作,无需重复收藏" } <<< fail { "status": "success", "msg": "您未收藏该工作,无需重复取消" } <<< error { "status": "success", "msg": "未知操作" // type参数不正确 } ~~~