浏览代码

添加分页status

chenxiqiang 6 年前
父节点
当前提交
b112825aff

+ 1
- 0
manage-server/app/Models/Classify.php 查看文件

9
     protected $fillable = [
9
     protected $fillable = [
10
         'pid', // 父id
10
         'pid', // 父id
11
         'name', // 名称
11
         'name', // 名称
12
+        'info', // 描述信息
12
     ];
13
     ];
13
 
14
 
14
     protected $children = [];
15
     protected $children = [];

+ 1
- 0
manage-server/database/migrations/2018_08_20_075456_create_classifies_table.php 查看文件

18
             $table->timestamps();
18
             $table->timestamps();
19
             $table->unsignedInteger('pid');
19
             $table->unsignedInteger('pid');
20
             $table->string('name');
20
             $table->string('name');
21
+            $table->string('info');
21
         });
22
         });
22
     }
23
     }
23
 
24
 

Loading…
取消
保存