Browse Source

添加分页status

chenxiqiang 6 years ago
parent
commit
b112825aff

+ 1
- 0
manage-server/app/Models/Classify.php View File

@@ -9,6 +9,7 @@ class Classify extends Model
9 9
     protected $fillable = [
10 10
         'pid', // 父id
11 11
         'name', // 名称
12
+        'info', // 描述信息
12 13
     ];
13 14
 
14 15
     protected $children = [];

+ 1
- 0
manage-server/database/migrations/2018_08_20_075456_create_classifies_table.php View File

@@ -18,6 +18,7 @@ class CreateClassifiesTable extends Migration
18 18
             $table->timestamps();
19 19
             $table->unsignedInteger('pid');
20 20
             $table->string('name');
21
+            $table->string('info');
21 22
         });
22 23
     }
23 24
 

Loading…
Cancel
Save