Commit e7545fde by 宁成龙

用户列表curd

parent 176260cb
<?php
namespace App\Admin\Controllers;
use App\Admin\Repositories\User;
use Dcat\Admin\Form;
use Dcat\Admin\Grid;
use Dcat\Admin\Show;
use Dcat\Admin\Http\Controllers\AdminController;
class UserController extends AdminController
{
/**
* Make a grid builder.
*
* @return Grid
*/
protected function grid()
{
return Grid::make(new User(), function (Grid $grid) {
$grid->column('id')->sortable();
$grid->column('user_sn');
$grid->column('name');
$grid->column('email');
$grid->column('email_verified_at');
$grid->column('password');
$grid->column('phone');
$grid->column('remember_token');
$grid->column('account_properties');
$grid->column('status');
$grid->column('company_name');
$grid->column('first_name');
$grid->column('sale_id');
$grid->column('sale_name');
$grid->column('last_name');
$grid->column('created_time');
$grid->column('update_time');
$grid->column('created_at');
$grid->column('updated_at')->sortable();
$grid->filter(function (Grid\Filter $filter) {
$filter->equal('id');
});
});
}
/**
* Make a show builder.
*
* @param mixed $id
*
* @return Show
*/
protected function detail($id)
{
return Show::make($id, new User(), function (Show $show) {
$show->field('id');
$show->field('user_sn');
$show->field('name');
$show->field('email');
$show->field('email_verified_at');
$show->field('password');
$show->field('phone');
$show->field('remember_token');
$show->field('account_properties');
$show->field('status');
$show->field('company_name');
$show->field('first_name');
$show->field('sale_id');
$show->field('sale_name');
$show->field('last_name');
$show->field('created_time');
$show->field('update_time');
$show->field('created_at');
$show->field('updated_at');
});
}
/**
* Make a form builder.
*
* @return Form
*/
protected function form()
{
return Form::make(new User(), function (Form $form) {
$form->display('id');
$form->text('user_sn');
$form->text('name');
$form->text('email');
$form->text('email_verified_at');
$form->text('password');
$form->text('phone');
$form->text('remember_token');
$form->text('account_properties');
$form->text('status');
$form->text('company_name');
$form->text('first_name');
$form->text('sale_id');
$form->text('sale_name');
$form->text('last_name');
$form->text('created_time');
$form->text('update_time');
$form->display('created_at');
$form->display('updated_at');
});
}
}
<?php
namespace App\Admin\Repositories;
use App\Models\User as Model;
use Dcat\Admin\Repositories\EloquentRepository;
class User extends EloquentRepository
{
/**
* Model.
*
* @var string
*/
protected $eloquentClass = Model::class;
}
......@@ -36,6 +36,43 @@ namespace Dcat\Admin {
* @property Grid\Column|Collection password
* @property Grid\Column|Collection avatar
* @property Grid\Column|Collection remember_token
* @property Grid\Column|Collection cart_id
* @property Grid\Column|Collection user_sign
* @property Grid\Column|Collection goods_id
* @property Grid\Column|Collection brand_id
* @property Grid\Column|Collection standard_brand_id
* @property Grid\Column|Collection supplier_id
* @property Grid\Column|Collection goods_sn
* @property Grid\Column|Collection goods_name
* @property Grid\Column|Collection sku_name
* @property Grid\Column|Collection brand_name
* @property Grid\Column|Collection standard_brand_name
* @property Grid\Column|Collection supplier_name
* @property Grid\Column|Collection warehouse
* @property Grid\Column|Collection goods_number
* @property Grid\Column|Collection goods_price
* @property Grid\Column|Collection create_goods_price
* @property Grid\Column|Collection initial_price
* @property Grid\Column|Collection order_source
* @property Grid\Column|Collection goods_data
* @property Grid\Column|Collection currency
* @property Grid\Column|Collection delivery_place
* @property Grid\Column|Collection change_place
* @property Grid\Column|Collection sale_type
* @property Grid\Column|Collection goods_type
* @property Grid\Column|Collection status
* @property Grid\Column|Collection bom_id
* @property Grid\Column|Collection extend_type_id
* @property Grid\Column|Collection extend_type
* @property Grid\Column|Collection is_remind
* @property Grid\Column|Collection buyer_id
* @property Grid\Column|Collection batch
* @property Grid\Column|Collection remarks
* @property Grid\Column|Collection raw_goods_sn
* @property Grid\Column|Collection raw_goods_packing
* @property Grid\Column|Collection raw_brand_name
* @property Grid\Column|Collection create_time
* @property Grid\Column|Collection update_time
* @property Grid\Column|Collection connection
* @property Grid\Column|Collection queue
* @property Grid\Column|Collection payload
......@@ -45,23 +82,13 @@ namespace Dcat\Admin {
* @property Grid\Column|Collection sales_id
* @property Grid\Column|Collection inquiry_sn
* @property Grid\Column|Collection source
* @property Grid\Column|Collection status
* @property Grid\Column|Collection delivery_place
* @property Grid\Column|Collection currency
* @property Grid\Column|Collection remark
* @property Grid\Column|Collection priority
* @property Grid\Column|Collection user_types
* @property Grid\Column|Collection processing_result
* @property Grid\Column|Collection processing_time
* @property Grid\Column|Collection create_time
* @property Grid\Column|Collection update_time
* @property Grid\Column|Collection item_id
* @property Grid\Column|Collection goods_id
* @property Grid\Column|Collection goods_name
* @property Grid\Column|Collection brand_id
* @property Grid\Column|Collection brand_name
* @property Grid\Column|Collection inquiry_number
* @property Grid\Column|Collection batch
* @property Grid\Column|Collection inquiry_type
* @property Grid\Column|Collection create_name
* @property Grid\Column|Collection migration
......@@ -69,7 +96,6 @@ namespace Dcat\Admin {
* @property Grid\Column|Collection order_sn
* @property Grid\Column|Collection erp_order_id
* @property Grid\Column|Collection order_type
* @property Grid\Column|Collection order_source
* @property Grid\Column|Collection order_pay_type
* @property Grid\Column|Collection company_name
* @property Grid\Column|Collection order_amount
......@@ -82,6 +108,7 @@ namespace Dcat\Admin {
* @property Grid\Column|Collection shipping_time
* @property Grid\Column|Collection cancel_time
* @property Grid\Column|Collection sale_id
* @property Grid\Column|Collection sale_name
* @property Grid\Column|Collection adjust_count
* @property Grid\Column|Collection order_goods_type
* @property Grid\Column|Collection pur_time
......@@ -99,21 +126,14 @@ namespace Dcat\Admin {
* @property Grid\Column|Collection city
* @property Grid\Column|Collection detail_address
* @property Grid\Column|Collection rec_id
* @property Grid\Column|Collection supplier_id
* @property Grid\Column|Collection standard_brand_id
* @property Grid\Column|Collection supplier_name
* @property Grid\Column|Collection standard_brand_name
* @property Grid\Column|Collection goods_type
* @property Grid\Column|Collection goods_number
* @property Grid\Column|Collection goods_price
* @property Grid\Column|Collection delivery_time
* @property Grid\Column|Collection canal
* @property Grid\Column|Collection initial_price
* @property Grid\Column|Collection purchase_uid
* @property Grid\Column|Collection contract_remark
* @property Grid\Column|Collection tax_rate
* @property Grid\Column|Collection token
* @property Grid\Column|Collection is_default
* @property Grid\Column|Collection user_sn
* @property Grid\Column|Collection email_verified_at
* @property Grid\Column|Collection account_properties
* @property Grid\Column|Collection first_name
......@@ -361,6 +381,43 @@ namespace Dcat\Admin {
* @method Grid\Column|Collection password(string $label = null)
* @method Grid\Column|Collection avatar(string $label = null)
* @method Grid\Column|Collection remember_token(string $label = null)
* @method Grid\Column|Collection cart_id(string $label = null)
* @method Grid\Column|Collection user_sign(string $label = null)
* @method Grid\Column|Collection goods_id(string $label = null)
* @method Grid\Column|Collection brand_id(string $label = null)
* @method Grid\Column|Collection standard_brand_id(string $label = null)
* @method Grid\Column|Collection supplier_id(string $label = null)
* @method Grid\Column|Collection goods_sn(string $label = null)
* @method Grid\Column|Collection goods_name(string $label = null)
* @method Grid\Column|Collection sku_name(string $label = null)
* @method Grid\Column|Collection brand_name(string $label = null)
* @method Grid\Column|Collection standard_brand_name(string $label = null)
* @method Grid\Column|Collection supplier_name(string $label = null)
* @method Grid\Column|Collection warehouse(string $label = null)
* @method Grid\Column|Collection goods_number(string $label = null)
* @method Grid\Column|Collection goods_price(string $label = null)
* @method Grid\Column|Collection create_goods_price(string $label = null)
* @method Grid\Column|Collection initial_price(string $label = null)
* @method Grid\Column|Collection order_source(string $label = null)
* @method Grid\Column|Collection goods_data(string $label = null)
* @method Grid\Column|Collection currency(string $label = null)
* @method Grid\Column|Collection delivery_place(string $label = null)
* @method Grid\Column|Collection change_place(string $label = null)
* @method Grid\Column|Collection sale_type(string $label = null)
* @method Grid\Column|Collection goods_type(string $label = null)
* @method Grid\Column|Collection status(string $label = null)
* @method Grid\Column|Collection bom_id(string $label = null)
* @method Grid\Column|Collection extend_type_id(string $label = null)
* @method Grid\Column|Collection extend_type(string $label = null)
* @method Grid\Column|Collection is_remind(string $label = null)
* @method Grid\Column|Collection buyer_id(string $label = null)
* @method Grid\Column|Collection batch(string $label = null)
* @method Grid\Column|Collection remarks(string $label = null)
* @method Grid\Column|Collection raw_goods_sn(string $label = null)
* @method Grid\Column|Collection raw_goods_packing(string $label = null)
* @method Grid\Column|Collection raw_brand_name(string $label = null)
* @method Grid\Column|Collection create_time(string $label = null)
* @method Grid\Column|Collection update_time(string $label = null)
* @method Grid\Column|Collection connection(string $label = null)
* @method Grid\Column|Collection queue(string $label = null)
* @method Grid\Column|Collection payload(string $label = null)
......@@ -370,23 +427,13 @@ namespace Dcat\Admin {
* @method Grid\Column|Collection sales_id(string $label = null)
* @method Grid\Column|Collection inquiry_sn(string $label = null)
* @method Grid\Column|Collection source(string $label = null)
* @method Grid\Column|Collection status(string $label = null)
* @method Grid\Column|Collection delivery_place(string $label = null)
* @method Grid\Column|Collection currency(string $label = null)
* @method Grid\Column|Collection remark(string $label = null)
* @method Grid\Column|Collection priority(string $label = null)
* @method Grid\Column|Collection user_types(string $label = null)
* @method Grid\Column|Collection processing_result(string $label = null)
* @method Grid\Column|Collection processing_time(string $label = null)
* @method Grid\Column|Collection create_time(string $label = null)
* @method Grid\Column|Collection update_time(string $label = null)
* @method Grid\Column|Collection item_id(string $label = null)
* @method Grid\Column|Collection goods_id(string $label = null)
* @method Grid\Column|Collection goods_name(string $label = null)
* @method Grid\Column|Collection brand_id(string $label = null)
* @method Grid\Column|Collection brand_name(string $label = null)
* @method Grid\Column|Collection inquiry_number(string $label = null)
* @method Grid\Column|Collection batch(string $label = null)
* @method Grid\Column|Collection inquiry_type(string $label = null)
* @method Grid\Column|Collection create_name(string $label = null)
* @method Grid\Column|Collection migration(string $label = null)
......@@ -394,7 +441,6 @@ namespace Dcat\Admin {
* @method Grid\Column|Collection order_sn(string $label = null)
* @method Grid\Column|Collection erp_order_id(string $label = null)
* @method Grid\Column|Collection order_type(string $label = null)
* @method Grid\Column|Collection order_source(string $label = null)
* @method Grid\Column|Collection order_pay_type(string $label = null)
* @method Grid\Column|Collection company_name(string $label = null)
* @method Grid\Column|Collection order_amount(string $label = null)
......@@ -407,6 +453,7 @@ namespace Dcat\Admin {
* @method Grid\Column|Collection shipping_time(string $label = null)
* @method Grid\Column|Collection cancel_time(string $label = null)
* @method Grid\Column|Collection sale_id(string $label = null)
* @method Grid\Column|Collection sale_name(string $label = null)
* @method Grid\Column|Collection adjust_count(string $label = null)
* @method Grid\Column|Collection order_goods_type(string $label = null)
* @method Grid\Column|Collection pur_time(string $label = null)
......@@ -424,21 +471,14 @@ namespace Dcat\Admin {
* @method Grid\Column|Collection city(string $label = null)
* @method Grid\Column|Collection detail_address(string $label = null)
* @method Grid\Column|Collection rec_id(string $label = null)
* @method Grid\Column|Collection supplier_id(string $label = null)
* @method Grid\Column|Collection standard_brand_id(string $label = null)
* @method Grid\Column|Collection supplier_name(string $label = null)
* @method Grid\Column|Collection standard_brand_name(string $label = null)
* @method Grid\Column|Collection goods_type(string $label = null)
* @method Grid\Column|Collection goods_number(string $label = null)
* @method Grid\Column|Collection goods_price(string $label = null)
* @method Grid\Column|Collection delivery_time(string $label = null)
* @method Grid\Column|Collection canal(string $label = null)
* @method Grid\Column|Collection initial_price(string $label = null)
* @method Grid\Column|Collection purchase_uid(string $label = null)
* @method Grid\Column|Collection contract_remark(string $label = null)
* @method Grid\Column|Collection tax_rate(string $label = null)
* @method Grid\Column|Collection token(string $label = null)
* @method Grid\Column|Collection is_default(string $label = null)
* @method Grid\Column|Collection user_sn(string $label = null)
* @method Grid\Column|Collection email_verified_at(string $label = null)
* @method Grid\Column|Collection account_properties(string $label = null)
* @method Grid\Column|Collection first_name(string $label = null)
......@@ -691,6 +731,43 @@ namespace Dcat\Admin {
* @property Show\Field|Collection password
* @property Show\Field|Collection avatar
* @property Show\Field|Collection remember_token
* @property Show\Field|Collection cart_id
* @property Show\Field|Collection user_sign
* @property Show\Field|Collection goods_id
* @property Show\Field|Collection brand_id
* @property Show\Field|Collection standard_brand_id
* @property Show\Field|Collection supplier_id
* @property Show\Field|Collection goods_sn
* @property Show\Field|Collection goods_name
* @property Show\Field|Collection sku_name
* @property Show\Field|Collection brand_name
* @property Show\Field|Collection standard_brand_name
* @property Show\Field|Collection supplier_name
* @property Show\Field|Collection warehouse
* @property Show\Field|Collection goods_number
* @property Show\Field|Collection goods_price
* @property Show\Field|Collection create_goods_price
* @property Show\Field|Collection initial_price
* @property Show\Field|Collection order_source
* @property Show\Field|Collection goods_data
* @property Show\Field|Collection currency
* @property Show\Field|Collection delivery_place
* @property Show\Field|Collection change_place
* @property Show\Field|Collection sale_type
* @property Show\Field|Collection goods_type
* @property Show\Field|Collection status
* @property Show\Field|Collection bom_id
* @property Show\Field|Collection extend_type_id
* @property Show\Field|Collection extend_type
* @property Show\Field|Collection is_remind
* @property Show\Field|Collection buyer_id
* @property Show\Field|Collection batch
* @property Show\Field|Collection remarks
* @property Show\Field|Collection raw_goods_sn
* @property Show\Field|Collection raw_goods_packing
* @property Show\Field|Collection raw_brand_name
* @property Show\Field|Collection create_time
* @property Show\Field|Collection update_time
* @property Show\Field|Collection connection
* @property Show\Field|Collection queue
* @property Show\Field|Collection payload
......@@ -700,23 +777,13 @@ namespace Dcat\Admin {
* @property Show\Field|Collection sales_id
* @property Show\Field|Collection inquiry_sn
* @property Show\Field|Collection source
* @property Show\Field|Collection status
* @property Show\Field|Collection delivery_place
* @property Show\Field|Collection currency
* @property Show\Field|Collection remark
* @property Show\Field|Collection priority
* @property Show\Field|Collection user_types
* @property Show\Field|Collection processing_result
* @property Show\Field|Collection processing_time
* @property Show\Field|Collection create_time
* @property Show\Field|Collection update_time
* @property Show\Field|Collection item_id
* @property Show\Field|Collection goods_id
* @property Show\Field|Collection goods_name
* @property Show\Field|Collection brand_id
* @property Show\Field|Collection brand_name
* @property Show\Field|Collection inquiry_number
* @property Show\Field|Collection batch
* @property Show\Field|Collection inquiry_type
* @property Show\Field|Collection create_name
* @property Show\Field|Collection migration
......@@ -724,7 +791,6 @@ namespace Dcat\Admin {
* @property Show\Field|Collection order_sn
* @property Show\Field|Collection erp_order_id
* @property Show\Field|Collection order_type
* @property Show\Field|Collection order_source
* @property Show\Field|Collection order_pay_type
* @property Show\Field|Collection company_name
* @property Show\Field|Collection order_amount
......@@ -737,6 +803,7 @@ namespace Dcat\Admin {
* @property Show\Field|Collection shipping_time
* @property Show\Field|Collection cancel_time
* @property Show\Field|Collection sale_id
* @property Show\Field|Collection sale_name
* @property Show\Field|Collection adjust_count
* @property Show\Field|Collection order_goods_type
* @property Show\Field|Collection pur_time
......@@ -754,21 +821,14 @@ namespace Dcat\Admin {
* @property Show\Field|Collection city
* @property Show\Field|Collection detail_address
* @property Show\Field|Collection rec_id
* @property Show\Field|Collection supplier_id
* @property Show\Field|Collection standard_brand_id
* @property Show\Field|Collection supplier_name
* @property Show\Field|Collection standard_brand_name
* @property Show\Field|Collection goods_type
* @property Show\Field|Collection goods_number
* @property Show\Field|Collection goods_price
* @property Show\Field|Collection delivery_time
* @property Show\Field|Collection canal
* @property Show\Field|Collection initial_price
* @property Show\Field|Collection purchase_uid
* @property Show\Field|Collection contract_remark
* @property Show\Field|Collection tax_rate
* @property Show\Field|Collection token
* @property Show\Field|Collection is_default
* @property Show\Field|Collection user_sn
* @property Show\Field|Collection email_verified_at
* @property Show\Field|Collection account_properties
* @property Show\Field|Collection first_name
......@@ -1016,6 +1076,43 @@ namespace Dcat\Admin {
* @method Show\Field|Collection password(string $label = null)
* @method Show\Field|Collection avatar(string $label = null)
* @method Show\Field|Collection remember_token(string $label = null)
* @method Show\Field|Collection cart_id(string $label = null)
* @method Show\Field|Collection user_sign(string $label = null)
* @method Show\Field|Collection goods_id(string $label = null)
* @method Show\Field|Collection brand_id(string $label = null)
* @method Show\Field|Collection standard_brand_id(string $label = null)
* @method Show\Field|Collection supplier_id(string $label = null)
* @method Show\Field|Collection goods_sn(string $label = null)
* @method Show\Field|Collection goods_name(string $label = null)
* @method Show\Field|Collection sku_name(string $label = null)
* @method Show\Field|Collection brand_name(string $label = null)
* @method Show\Field|Collection standard_brand_name(string $label = null)
* @method Show\Field|Collection supplier_name(string $label = null)
* @method Show\Field|Collection warehouse(string $label = null)
* @method Show\Field|Collection goods_number(string $label = null)
* @method Show\Field|Collection goods_price(string $label = null)
* @method Show\Field|Collection create_goods_price(string $label = null)
* @method Show\Field|Collection initial_price(string $label = null)
* @method Show\Field|Collection order_source(string $label = null)
* @method Show\Field|Collection goods_data(string $label = null)
* @method Show\Field|Collection currency(string $label = null)
* @method Show\Field|Collection delivery_place(string $label = null)
* @method Show\Field|Collection change_place(string $label = null)
* @method Show\Field|Collection sale_type(string $label = null)
* @method Show\Field|Collection goods_type(string $label = null)
* @method Show\Field|Collection status(string $label = null)
* @method Show\Field|Collection bom_id(string $label = null)
* @method Show\Field|Collection extend_type_id(string $label = null)
* @method Show\Field|Collection extend_type(string $label = null)
* @method Show\Field|Collection is_remind(string $label = null)
* @method Show\Field|Collection buyer_id(string $label = null)
* @method Show\Field|Collection batch(string $label = null)
* @method Show\Field|Collection remarks(string $label = null)
* @method Show\Field|Collection raw_goods_sn(string $label = null)
* @method Show\Field|Collection raw_goods_packing(string $label = null)
* @method Show\Field|Collection raw_brand_name(string $label = null)
* @method Show\Field|Collection create_time(string $label = null)
* @method Show\Field|Collection update_time(string $label = null)
* @method Show\Field|Collection connection(string $label = null)
* @method Show\Field|Collection queue(string $label = null)
* @method Show\Field|Collection payload(string $label = null)
......@@ -1025,23 +1122,13 @@ namespace Dcat\Admin {
* @method Show\Field|Collection sales_id(string $label = null)
* @method Show\Field|Collection inquiry_sn(string $label = null)
* @method Show\Field|Collection source(string $label = null)
* @method Show\Field|Collection status(string $label = null)
* @method Show\Field|Collection delivery_place(string $label = null)
* @method Show\Field|Collection currency(string $label = null)
* @method Show\Field|Collection remark(string $label = null)
* @method Show\Field|Collection priority(string $label = null)
* @method Show\Field|Collection user_types(string $label = null)
* @method Show\Field|Collection processing_result(string $label = null)
* @method Show\Field|Collection processing_time(string $label = null)
* @method Show\Field|Collection create_time(string $label = null)
* @method Show\Field|Collection update_time(string $label = null)
* @method Show\Field|Collection item_id(string $label = null)
* @method Show\Field|Collection goods_id(string $label = null)
* @method Show\Field|Collection goods_name(string $label = null)
* @method Show\Field|Collection brand_id(string $label = null)
* @method Show\Field|Collection brand_name(string $label = null)
* @method Show\Field|Collection inquiry_number(string $label = null)
* @method Show\Field|Collection batch(string $label = null)
* @method Show\Field|Collection inquiry_type(string $label = null)
* @method Show\Field|Collection create_name(string $label = null)
* @method Show\Field|Collection migration(string $label = null)
......@@ -1049,7 +1136,6 @@ namespace Dcat\Admin {
* @method Show\Field|Collection order_sn(string $label = null)
* @method Show\Field|Collection erp_order_id(string $label = null)
* @method Show\Field|Collection order_type(string $label = null)
* @method Show\Field|Collection order_source(string $label = null)
* @method Show\Field|Collection order_pay_type(string $label = null)
* @method Show\Field|Collection company_name(string $label = null)
* @method Show\Field|Collection order_amount(string $label = null)
......@@ -1062,6 +1148,7 @@ namespace Dcat\Admin {
* @method Show\Field|Collection shipping_time(string $label = null)
* @method Show\Field|Collection cancel_time(string $label = null)
* @method Show\Field|Collection sale_id(string $label = null)
* @method Show\Field|Collection sale_name(string $label = null)
* @method Show\Field|Collection adjust_count(string $label = null)
* @method Show\Field|Collection order_goods_type(string $label = null)
* @method Show\Field|Collection pur_time(string $label = null)
......@@ -1079,21 +1166,14 @@ namespace Dcat\Admin {
* @method Show\Field|Collection city(string $label = null)
* @method Show\Field|Collection detail_address(string $label = null)
* @method Show\Field|Collection rec_id(string $label = null)
* @method Show\Field|Collection supplier_id(string $label = null)
* @method Show\Field|Collection standard_brand_id(string $label = null)
* @method Show\Field|Collection supplier_name(string $label = null)
* @method Show\Field|Collection standard_brand_name(string $label = null)
* @method Show\Field|Collection goods_type(string $label = null)
* @method Show\Field|Collection goods_number(string $label = null)
* @method Show\Field|Collection goods_price(string $label = null)
* @method Show\Field|Collection delivery_time(string $label = null)
* @method Show\Field|Collection canal(string $label = null)
* @method Show\Field|Collection initial_price(string $label = null)
* @method Show\Field|Collection purchase_uid(string $label = null)
* @method Show\Field|Collection contract_remark(string $label = null)
* @method Show\Field|Collection tax_rate(string $label = null)
* @method Show\Field|Collection token(string $label = null)
* @method Show\Field|Collection is_default(string $label = null)
* @method Show\Field|Collection user_sn(string $label = null)
* @method Show\Field|Collection email_verified_at(string $label = null)
* @method Show\Field|Collection account_properties(string $label = null)
* @method Show\Field|Collection first_name(string $label = null)
......
<?php
return [
'labels' => [
'User' => 'User',
'user' => 'User',
],
'fields' => [
'user_sn' => '客户编码',
'name' => '用户名',
'email' => '邮箱',
'email_verified_at' => '邮箱校验时间',
'password' => '密码',
'phone' => '手机号码',
'remember_token' => '记住登陆token',
'account_properties' => '账号属性,1是个人,2是企业',
'status' => '状态,1是正常,-1是禁用',
'company_name' => '公司名称',
'first_name' => '名字',
'sale_id' => '业务员',
'sale_name' => '业务员名字',
'last_name' => '姓氏',
'created_time' => '创建时间',
'update_time' => '更新时间',
],
'options' => [
],
];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment