perf: 单条消息最长2000个字符,超过自动分割发送,总最长20000

This commit is contained in:
kuaifan
2022-02-12 17:00:09 +08:00
parent 8f1fbcb19e
commit ce70c1ca3a
45 changed files with 46 additions and 1886 deletions

View File

@@ -508,9 +508,7 @@ class ProjectTask extends AbstractModel
{
AbstractModel::transaction(function () use ($data, &$updateMarking) {
// 判断版本
if (version_compare(Base::getClientVersion(), '0.6.0', '<')) {
throw new ApiException('当前版本过低');
}
Base::checkClientVersion('0.6.0');
// 主任务
$mainTask = $this->parent_id > 0 ? self::find($this->parent_id) : null;
// 工作流