Browse Source

修正后台接口

chenxiqiang 6 years ago
parent
commit
a51d5b07fd

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

22
         'photo', // 显示的图片
22
         'photo', // 显示的图片
23
         'comment_id', // 评论id
23
         'comment_id', // 评论id
24
         'paid_at',  // 支付时间,
24
         'paid_at',  // 支付时间,
25
-        'classify_id', //订单类型,分类
25
+        'classify', //订单类型,分类
26
         'classify1', //分类1
26
         'classify1', //分类1
27
         'classify2', //分类2
27
         'classify2', //分类2
28
     ];
28
     ];

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

42
             $table->unsignedInteger('comment_id');
42
             $table->unsignedInteger('comment_id');
43
             $table->timestamps();
43
             $table->timestamps();
44
             $table->timestamp("paid_at");
44
             $table->timestamp("paid_at");
45
-            $table->unsignedInteger('classify_id');
45
+            $table->unsignedInteger('classify');
46
             $table->string('classify1');
46
             $table->string('classify1');
47
             $table->string('classify2');
47
             $table->string('classify2');
48
         });
48
         });

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

43
             $table->double('price');
43
             $table->double('price');
44
             $table->string('photo');
44
             $table->string('photo');
45
             $table->string('notes');
45
             $table->string('notes');
46
-            $table->unsignedInteger('classify_id');
46
+            $table->unsignedInteger('classify');
47
             $table->string('classify1');
47
             $table->string('classify1');
48
             $table->string('classify2');
48
             $table->string('classify2');
49
             $table->unsignedInteger('comment_id');
49
             $table->unsignedInteger('comment_id');

Loading…
Cancel
Save