diff --git a/database/migrations/2021_09_17_182618_update_demand_product_table.php b/database/migrations/2021_09_17_182618_update_demand_product_table.php index eda8433..a875ee5 100644 --- a/database/migrations/2021_09_17_182618_update_demand_product_table.php +++ b/database/migrations/2021_09_17_182618_update_demand_product_table.php @@ -15,7 +15,7 @@ class UpdateDemandProductTable extends Migration { Schema::table('demand_products', function (Blueprint $table) { $table->json('extends')->default(null)->comment('扩展字段,根据type不同,字段名不同'); - $table->tinyInteger('type')->default(0)->comment('0:旅游线路、1:洒店、2:景区、3:餐厅、4:车队、5:单项'); + $table->tinyInteger('type')->default(0)->comment('0:旅游线路、1:酒店、2:景区、3:餐厅、4:车队、5:单项'); $table->integer('service_persons')->default(1)->comment('service_persons'); }); } diff --git a/resources/lang/zh_CN/product.php b/resources/lang/zh_CN/product.php index a4ec76e..f1fdbf5 100644 --- a/resources/lang/zh_CN/product.php +++ b/resources/lang/zh_CN/product.php @@ -18,12 +18,14 @@ return [ 'stock' => '库存', 'supplier_id' => '供应商ID', 'title' => '标题', + 'verify_mobile' => '核销手机号', + 'spec' => '产品规格', 'supplier' => trans('supplier.fields'), ], 'options' => [ 'publish_type' => [ 0 => '旅游线路', - 1 => '洒店', + 1 => '酒店', 2 => '景区', 3 => '餐厅', 4 => '车队',