[步骤]
1、标题重复报错
{ "error_message": "title is exists", "error_code": "DATA_ERROR" }
2、Guides中content为空报错
{ "error_message": "SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'content' cannot be null (SQL: insert into `unit_guides` (`img_url`, `content`, `unit_id`, `updated_at`, `created_at`) values (http://math-concept-dev.liangzhicn.com/uploads/images/ph3DkNU8HcWi1i4rJRelaHkhecEMZjlBCRqW1GYc.jpg, ?, 23, 2022-06-07 11:35:09, 2022-06-07 11:35:09))", "error_code": "23000" }
[结果]
1、标题允许重复;包括题目,单元-讲解/做题,课程,均无此限制
2、Guides的content不是必填项,应允许为空,请参考禅道https://zentao.liangzhicn.com/zentao/story-view-1735.html
[期望]