Browse Source

修改错别字

master
李可松 4 years ago
parent
commit
70860459bb
  1. 2
      database/migrations/2021_09_17_182618_update_demand_product_table.php
  2. 4
      resources/lang/zh_CN/product.php

2
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) { Schema::table('demand_products', function (Blueprint $table) {
$table->json('extends')->default(null)->comment('扩展字段,根据type不同,字段名不同'); $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'); $table->integer('service_persons')->default(1)->comment('service_persons');
}); });
} }

4
resources/lang/zh_CN/product.php

@ -18,12 +18,14 @@ return [
'stock' => '库存', 'stock' => '库存',
'supplier_id' => '供应商ID', 'supplier_id' => '供应商ID',
'title' => '标题', 'title' => '标题',
'verify_mobile' => '核销手机号',
'spec' => '产品规格',
'supplier' => trans('supplier.fields'), 'supplier' => trans('supplier.fields'),
], ],
'options' => [ 'options' => [
'publish_type' => [ 'publish_type' => [
0 => '旅游线路', 0 => '旅游线路',
1 => '店',
1 => '店',
2 => '景区', 2 => '景区',
3 => '餐厅', 3 => '餐厅',
4 => '车队', 4 => '车队',

Loading…
Cancel
Save