shish 2 年之前
父節點
當前提交
158743c04f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app-ghs/controllers/ModifyController.php

+ 1 - 1
app-ghs/controllers/ModifyController.php

@@ -49,7 +49,7 @@ class ModifyController extends BaseController
             $arr = json_decode($data, true);
             if (!empty($arr)) {
                 $list = ModifyClass::getAllByCondition(['mainId' => $this->mainId], 'inTurn asc,addTime asc', '*', null, true);
-                if (count($list) >= 15) {
+                if (count($list) >= 13) {
                     if ($list[0]) {
                         $list[0]->delete();
                     }