diff --git a/app/Admin/Controllers/AdAddressController.php b/app/Admin/Controllers/AdAddressController.php index 45620df1..ac840835 100644 --- a/app/Admin/Controllers/AdAddressController.php +++ b/app/Admin/Controllers/AdAddressController.php @@ -90,7 +90,9 @@ class AdAddressController extends AdminController return Form::make(new AdAddress(), function (Form $form) { $form->display('id'); - $form->text('key')->required(); + $form->text('key')->rules(function (Form $form) { + return 'unique:ad_addresses,key,'.$form->model()->id.',id'; + })->required(); $form->text('name'); $form->text('dimensions')->help(__('admin_message.ad-address.dimensions.help')); $form->switch('is_show'); diff --git a/app/Admin/Controllers/SettingController.php b/app/Admin/Controllers/SettingController.php new file mode 100644 index 00000000..9e1fbca1 --- /dev/null +++ b/app/Admin/Controllers/SettingController.php @@ -0,0 +1,91 @@ +column('id')->sortable(); + $grid->column('key')->label(); + $grid->column('remarks'); + $grid->column('value') + ->if(function () { + return Admin::user()->can('dcat.admin.settings.edit'); + }) + ->then(function (Column $column) { + $column->editable(); + }); + + $grid->column('created_at')->sortable(); + + //排序 + $grid->model()->orderBy('created_at', 'desc'); + + /** 操作 **/ + //新增 + if (Admin::user()->can('dcat.admin.settings.create')) { + $grid->disableCreateButton(false); + $grid->enableDialogCreate(); + } + //删除以及自定义操作 + $grid->actions(function (Grid\Displayers\Actions $actions) { + $actions->disableDelete(Admin::user()->cannot('dcat.admin.ads.destroy')); + }); + + $grid->quickSearch('key')->placeholder('搜索key'); + }); + } + + /** + * Make a show builder. + * + * @param mixed $id + * + * @return Show + */ + protected function detail($id) + { + return Show::make($id, new Setting(), function (Show $show) { + $show->field('id'); + $show->field('key'); + $show->field('value'); + $show->field('created_at'); + $show->field('updated_at'); + }); + } + + /** + * Make a form builder. + * + * @return Form + */ + protected function form() + { + return Form::make(new Setting(), function (Form $form) { + $form->display('id'); + $form->text('key')->rules(function (Form $form) { + return 'unique:settings,key,'.$form->model()->id.',id'; + })->required(); + $form->text('value'); + $form->text('remarks'); + + $form->display('created_at'); + $form->display('updated_at'); + }); + } +} diff --git a/app/Admin/Repositories/Setting.php b/app/Admin/Repositories/Setting.php new file mode 100644 index 00000000..2db07317 --- /dev/null +++ b/app/Admin/Repositories/Setting.php @@ -0,0 +1,16 @@ +resource('settings', 'SettingController')->only([ + 'index', 'create', 'store', 'edit', 'update', 'destroy', + ]); + /** api接口 **/ $router->get('api/product-categories', 'ProductCategoryController@categories')->name('api.product_categories'); $router->get('api/product-group-details', 'ProductGroupController@details')->name('api.product_group_details'); diff --git a/app/Models/Setting.php b/app/Models/Setting.php new file mode 100644 index 00000000..742dc07c --- /dev/null +++ b/app/Models/Setting.php @@ -0,0 +1,17 @@ +set($key); + // dd(123456); + if (is_null($key)) { + return $default; + } + + if (is_array($key)) { + foreach ($key as $i => $value) { + Setting::updateOrCreate([ + 'key' => $i, + ], [ + 'value' => $value, + ]); + } + return $key; + } + + return Setting::where('key', $key)->value('value', $default); + } +} diff --git a/composer.json b/composer.json index 02f6edd9..659032bc 100644 --- a/composer.json +++ b/composer.json @@ -40,7 +40,10 @@ "App\\": "app/", "Database\\Factories\\": "database/factories/", "Database\\Seeders\\": "database/seeders/" - } + }, + "files": [ + "app/helpers.php" + ] }, "autoload-dev": { "psr-4": { diff --git a/database/migrations/2021_12_25_144245_create_settings_table.php b/database/migrations/2021_12_25_144245_create_settings_table.php new file mode 100644 index 00000000..fbc5a1b1 --- /dev/null +++ b/database/migrations/2021_12_25_144245_create_settings_table.php @@ -0,0 +1,34 @@ +id(); + $table->string('key', 50)->unique()->comment('key'); + $table->text('value')->nullable()->comment('值'); + $table->string('remarks')->nullable()->comment('备注'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('settings'); + } +} diff --git a/database/seeders/AdminMenuSeeder.php b/database/seeders/AdminMenuSeeder.php index 2fb667c9..f115f8ec 100644 --- a/database/seeders/AdminMenuSeeder.php +++ b/database/seeders/AdminMenuSeeder.php @@ -237,6 +237,11 @@ class AdminMenuSeeder extends Seeder 'icon' => '', 'uri' =>'auth/menus', ], + [ + 'title' =>'配置管理', + 'icon' => '', + 'uri' => 'settings', + ], ], ], ]; diff --git a/database/seeders/AppSettingSeeder.php b/database/seeders/AppSettingSeeder.php new file mode 100644 index 00000000..b3ae1bee --- /dev/null +++ b/database/seeders/AppSettingSeeder.php @@ -0,0 +1,126 @@ + [ + 'value' => '子春生', + 'remarks'=>'应用名称', + ], + 'order_payment_expires_at' => [ + 'value' => 1800, + 'remarks' => '订单支付过期时间(秒)', + ], + 'sale_after_expire_days' => [ + 'value' => 7, + 'remarks' => '售后过期时间(天)', + ], + + 'sign_click_points' => [ + 'value' => 5, + 'remarks' => '签到送积分(分)', + ], + 'sign_click_continue' => [ + 'value' => 7, + 'remarks' => '每连续N天签到额外奖励', + ], + 'sign_click_continue_points' => [ + 'value' => 10, + 'remarks' => '每连续签到额外奖励(分)', + ], + + 'article_help' => [ + 'value' => 1, + 'remarks' => '帮助文章指定分类(ID)', + ], + 'article_agreement' => [ + 'value' => 2, + 'remarks' => '协议文章指定分类(ID)', + ], + 'article_agreement' => [ + 'value' => 3, + 'remarks' => '健康文章指定分类(ID)', + ], + + 'article_about_us' => [ + 'value' => env('APP_URL', '').'/h5/articles/1', + 'remarks' => '关于我们文章指定(链接)', + ], + 'article_user_promotion_agreement' => [ + 'value' => env('APP_URL', '').'/h5/articles/2', + 'remarks' => '服务协议文章指定(链接)', + ], + 'article_user_hide_agreement' => [ + 'value' => env('APP_URL', '').'/h5/articles/3', + 'remarks' => '隐私协议文章指定(链接)', + ], + + 'kuaidi100_is_use' => [ + 'value' => true, + 'remarks' => '快递100:是否开启', + ], + 'kuaidi100_callback' => [ + 'value' => env('APP_URL', '').'/callback/kuaidi100', + 'remarks' => '快递100:回调地址(链接)', + ], + 'kuaidi100_app_key' => [ + 'value' => 'BTvgbjti4727', + 'remarks' => '快递100:APP_KEY', + ], + 'kuaidi100_customer' => [ + 'value' => '064109188EC4D85DA655DFC342144C6A', + 'remarks' => '快递100:CUSTOMER', + ], + 'kuaidi100_secret' => [ + 'value' => '1bd287d1981749f2a30ea74cac0ab99c', + 'remarks' => '快递100:SECRET', + ], + 'kuaidi100_userid' => [ + 'value' => 'ec0b6ec7729d4f22824cfd3c519dd45b', + 'remarks' => '快递100:USER_ID', + ], + + 'mall_push_app_id' => [ + 'value' => 'iikmCoESID8bC1LhOPG1r8', + 'remarks' => '个推:APP_ID', + ], + 'mall_push_app_key' => [ + 'value' => 'JX33P0wP8bAQprI953hpN6', + 'remarks' => '个推:APP_KEY', + ], + 'mall_push_app_secret' => [ + 'value' => 'a3u3B6lXjq6fPTBlOGiOc9', + 'remarks' => '个推:APP_SECRET', + ], + 'mall_push_master_secret' => [ + 'value' => 'MAxmqomwo597xJeDuMCvx1', + 'remarks' => '个推:APP_MASTER_SECRET', + ], + + 'invite_uri' => [ + 'value' => '', + 'remarks' => '分享邀请地址(链接)', + ], + + 'search_hot_keys' => [ + 'value' => '搜索热词,分词1,分词2,分词3', + 'remarks'=>'搜索热词(半角逗号,隔开)', + ], + + ] as $key => $values) { + Setting::firstOrCreate(['key' => $key], $values); + } + } +} diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php index cf273e7d..df6072cb 100644 --- a/database/seeders/DatabaseSeeder.php +++ b/database/seeders/DatabaseSeeder.php @@ -20,6 +20,7 @@ class DatabaseSeeder extends Seeder AdminPermissionSeeder::class, ProductPartSeeder::class, AdAddressSeeder::class, + AppSettingSeeder::class, ]); } } diff --git a/dcat_admin_ide_helper.php b/dcat_admin_ide_helper.php index 1dcb2ced..d728e2c3 100644 --- a/dcat_admin_ide_helper.php +++ b/dcat_admin_ide_helper.php @@ -11,74 +11,75 @@ namespace Dcat\Admin { use Illuminate\Support\Collection; /** - * @property Grid\Column|Collection created_at - * @property Grid\Column|Collection dimensions * @property Grid\Column|Collection id - * @property Grid\Column|Collection is_show * @property Grid\Column|Collection key * @property Grid\Column|Collection name + * @property Grid\Column|Collection dimensions + * @property Grid\Column|Collection is_show + * @property Grid\Column|Collection created_at * @property Grid\Column|Collection updated_at - * @property Grid\Column|Collection address - * @property Grid\Column|Collection consignee - * @property Grid\Column|Collection is_default - * @property Grid\Column|Collection telephone * @property Grid\Column|Collection user_id - * @property Grid\Column|Collection zone * @property Grid\Column|Collection zone_id - * @property Grid\Column|Collection detail + * @property Grid\Column|Collection consignee + * @property Grid\Column|Collection telephone + * @property Grid\Column|Collection zone + * @property Grid\Column|Collection address + * @property Grid\Column|Collection is_default * @property Grid\Column|Collection type * @property Grid\Column|Collection version + * @property Grid\Column|Collection detail * @property Grid\Column|Collection is_enabled - * @property Grid\Column|Collection extension - * @property Grid\Column|Collection icon - * @property Grid\Column|Collection order * @property Grid\Column|Collection parent_id + * @property Grid\Column|Collection order + * @property Grid\Column|Collection icon * @property Grid\Column|Collection uri - * @property Grid\Column|Collection menu_id + * @property Grid\Column|Collection extension * @property Grid\Column|Collection permission_id + * @property Grid\Column|Collection menu_id + * @property Grid\Column|Collection slug * @property Grid\Column|Collection http_method * @property Grid\Column|Collection http_path - * @property Grid\Column|Collection slug * @property Grid\Column|Collection role_id * @property Grid\Column|Collection value - * @property Grid\Column|Collection avatar - * @property Grid\Column|Collection password - * @property Grid\Column|Collection remember_token * @property Grid\Column|Collection username + * @property Grid\Column|Collection password + * @property Grid\Column|Collection avatar + * @property Grid\Column|Collection remember_token * @property Grid\Column|Collection address_id * @property Grid\Column|Collection image - * @property Grid\Column|Collection jump_link - * @property Grid\Column|Collection jump_type - * @property Grid\Column|Collection remarks * @property Grid\Column|Collection sort + * @property Grid\Column|Collection jump_type + * @property Grid\Column|Collection jump_link + * @property Grid\Column|Collection remarks * @property Grid\Column|Collection after_sale_id * @property Grid\Column|Collection desc * @property Grid\Column|Collection images - * @property Grid\Column|Collection amount - * @property Grid\Column|Collection num * @property Grid\Column|Collection order_id - * @property Grid\Column|Collection order_product_id * @property Grid\Column|Collection sn + * @property Grid\Column|Collection order_product_id + * @property Grid\Column|Collection num + * @property Grid\Column|Collection amount * @property Grid\Column|Collection state * @property Grid\Column|Collection tracking_number - * @property Grid\Column|Collection cate - * @property Grid\Column|Collection context - * @property Grid\Column|Collection is_force - * @property Grid\Column|Collection link * @property Grid\Column|Collection v + * @property Grid\Column|Collection cate + * @property Grid\Column|Collection is_force + * @property Grid\Column|Collection context + * @property Grid\Column|Collection apk_link + * @property Grid\Column|Collection wgt_link + * @property Grid\Column|Collection is_recommend * @property Grid\Column|Collection _lft * @property Grid\Column|Collection _rgt - * @property Grid\Column|Collection is_recommend * @property Grid\Column|Collection article_id - * @property Grid\Column|Collection author_name * @property Grid\Column|Collection category_id - * @property Grid\Column|Collection content - * @property Grid\Column|Collection cover - * @property Grid\Column|Collection likes - * @property Grid\Column|Collection media_content - * @property Grid\Column|Collection media_type - * @property Grid\Column|Collection points + * @property Grid\Column|Collection author_name * @property Grid\Column|Collection subtitle + * @property Grid\Column|Collection cover + * @property Grid\Column|Collection content + * @property Grid\Column|Collection points + * @property Grid\Column|Collection likes + * @property Grid\Column|Collection media_type + * @property Grid\Column|Collection media_content * @property Grid\Column|Collection continue_click_times * @property Grid\Column|Collection last_click_at * @property Grid\Column|Collection coupon_id @@ -86,19 +87,19 @@ namespace Dcat\Admin { * @property Grid\Column|Collection status * @property Grid\Column|Collection administrator_id * @property Grid\Column|Collection task_id + * @property Grid\Column|Collection threshold * @property Grid\Column|Collection limit * @property Grid\Column|Collection sent - * @property Grid\Column|Collection stock - * @property Grid\Column|Collection threshold * @property Grid\Column|Collection use_day - * @property Grid\Column|Collection use_end_at * @property Grid\Column|Collection use_start_at + * @property Grid\Column|Collection use_end_at + * @property Grid\Column|Collection stock + * @property Grid\Column|Collection uuid * @property Grid\Column|Collection connection + * @property Grid\Column|Collection queue + * @property Grid\Column|Collection payload * @property Grid\Column|Collection exception * @property Grid\Column|Collection failed_at - * @property Grid\Column|Collection payload - * @property Grid\Column|Collection queue - * @property Grid\Column|Collection uuid * @property Grid\Column|Collection code * @property Grid\Column|Collection info * @property Grid\Column|Collection message_id @@ -106,49 +107,50 @@ namespace Dcat\Admin { * @property Grid\Column|Collection is_push * @property Grid\Column|Collection order_package_id * @property Grid\Column|Collection quantity - * @property Grid\Column|Collection checked_at - * @property Grid\Column|Collection consignee_address * @property Grid\Column|Collection consignee_name * @property Grid\Column|Collection consignee_telephone * @property Grid\Column|Collection consignee_zone - * @property Grid\Column|Collection is_failed - * @property Grid\Column|Collection last_news - * @property Grid\Column|Collection shipping_code + * @property Grid\Column|Collection consignee_address * @property Grid\Column|Collection shipping_company * @property Grid\Column|Collection shipping_number - * @property Grid\Column|Collection after_expire_at - * @property Grid\Column|Collection after_sale_state - * @property Grid\Column|Collection coupon_discount_amount - * @property Grid\Column|Collection gift_for_sku_id - * @property Grid\Column|Collection reduced_amount - * @property Grid\Column|Collection remain_quantity - * @property Grid\Column|Collection sales_value - * @property Grid\Column|Collection sell_price + * @property Grid\Column|Collection checked_at + * @property Grid\Column|Collection shipping_code + * @property Grid\Column|Collection is_failed + * @property Grid\Column|Collection last_news + * @property Grid\Column|Collection spu_id * @property Grid\Column|Collection sku_id * @property Grid\Column|Collection specs - * @property Grid\Column|Collection spu_id - * @property Grid\Column|Collection total_amount - * @property Grid\Column|Collection vip_discount_amount - * @property Grid\Column|Collection vip_price * @property Grid\Column|Collection weight + * @property Grid\Column|Collection sell_price + * @property Grid\Column|Collection vip_price + * @property Grid\Column|Collection coupon_discount_amount + * @property Grid\Column|Collection vip_discount_amount + * @property Grid\Column|Collection reduced_amount + * @property Grid\Column|Collection total_amount + * @property Grid\Column|Collection after_sale_state + * @property Grid\Column|Collection after_expire_at + * @property Grid\Column|Collection remain_quantity + * @property Grid\Column|Collection gift_for_sku_id + * @property Grid\Column|Collection sales_value * @property Grid\Column|Collection max - * @property Grid\Column|Collection failed_reason * @property Grid\Column|Collection reason - * @property Grid\Column|Collection completed_at + * @property Grid\Column|Collection failed_reason + * @property Grid\Column|Collection user_coupon_id + * @property Grid\Column|Collection shipping_fee + * @property Grid\Column|Collection products_total_amount * @property Grid\Column|Collection note - * @property Grid\Column|Collection pay_at + * @property Grid\Column|Collection remark * @property Grid\Column|Collection pay_sn * @property Grid\Column|Collection pay_way - * @property Grid\Column|Collection products_total_amount - * @property Grid\Column|Collection remark - * @property Grid\Column|Collection shipping_fee + * @property Grid\Column|Collection pay_at + * @property Grid\Column|Collection completed_at * @property Grid\Column|Collection shipping_state - * @property Grid\Column|Collection user_coupon_id + * @property Grid\Column|Collection is_change + * @property Grid\Column|Collection tokenable_type + * @property Grid\Column|Collection tokenable_id + * @property Grid\Column|Collection token * @property Grid\Column|Collection abilities * @property Grid\Column|Collection last_used_at - * @property Grid\Column|Collection token - * @property Grid\Column|Collection tokenable_id - * @property Grid\Column|Collection tokenable_type * @property Grid\Column|Collection old_points * @property Grid\Column|Collection gift_sku_id * @property Grid\Column|Collection remaining @@ -156,128 +158,144 @@ namespace Dcat\Admin { * @property Grid\Column|Collection part_id * @property Grid\Column|Collection applicant_id * @property Grid\Column|Collection reviewer_id - * @property Grid\Column|Collection buynote_id - * @property Grid\Column|Collection cost_price - * @property Grid\Column|Collection growth_value * @property Grid\Column|Collection market_price + * @property Grid\Column|Collection cost_price * @property Grid\Column|Collection media - * @property Grid\Column|Collection release_at * @property Grid\Column|Collection sales - * @property Grid\Column|Collection shipping_template_id + * @property Grid\Column|Collection release_at * @property Grid\Column|Collection verify_state + * @property Grid\Column|Collection buynote_id + * @property Grid\Column|Collection shipping_template_id + * @property Grid\Column|Collection growth_value * @property Grid\Column|Collection feature_id * @property Grid\Column|Collection items * @property Grid\Column|Collection view_date * @property Grid\Column|Collection is_pushed * @property Grid\Column|Collection message_type - * @property Grid\Column|Collection is_use - * @property Grid\Column|Collection size * @property Grid\Column|Collection x * @property Grid\Column|Collection y + * @property Grid\Column|Collection size + * @property Grid\Column|Collection is_use * @property Grid\Column|Collection rule_id * @property Grid\Column|Collection template_id - * @property Grid\Column|Collection expires_at * @property Grid\Column|Collection phone + * @property Grid\Column|Collection expires_at * @property Grid\Column|Collection tag_id * @property Grid\Column|Collection tag_log_id * @property Grid\Column|Collection tag_log_type - * @property Grid\Column|Collection m_cid + * @property Grid\Column|Collection taggable_id + * @property Grid\Column|Collection taggable_type + * @property Grid\Column|Collection real_name + * @property Grid\Column|Collection bank_number + * @property Grid\Column|Collection bank_name + * @property Grid\Column|Collection bank_description + * @property Grid\Column|Collection is_edited + * @property Grid\Column|Collection old_real_name * @property Grid\Column|Collection u_cid - * @property Grid\Column|Collection coupon_amount + * @property Grid\Column|Collection m_cid * @property Grid\Column|Collection coupon_name - * @property Grid\Column|Collection coupon_threshold * @property Grid\Column|Collection coupon_type - * @property Grid\Column|Collection birthday - * @property Grid\Column|Collection gender + * @property Grid\Column|Collection coupon_threshold + * @property Grid\Column|Collection coupon_amount * @property Grid\Column|Collection inviter_id * @property Grid\Column|Collection nickname + * @property Grid\Column|Collection gender + * @property Grid\Column|Collection birthday + * @property Grid\Column|Collection bonusable + * @property Grid\Column|Collection depth + * @property Grid\Column|Collection path + * @property Grid\Column|Collection agent_level + * @property Grid\Column|Collection quota_v2 + * @property Grid\Column|Collection quota_v1 + * @property Grid\Column|Collection group_sales_value * @property Grid\Column|Collection vip_id + * @property Grid\Column|Collection phone_verified_at * @property Grid\Column|Collection email * @property Grid\Column|Collection email_verified_at - * @property Grid\Column|Collection last_login_at * @property Grid\Column|Collection last_login_ip - * @property Grid\Column|Collection phone_verified_at + * @property Grid\Column|Collection last_login_at * @property Grid\Column|Collection register_ip * @property Grid\Column|Collection status_remark + * @property Grid\Column|Collection wallet_id + * @property Grid\Column|Collection loggable_type + * @property Grid\Column|Collection loggable_id * @property Grid\Column|Collection action * @property Grid\Column|Collection before_balance * @property Grid\Column|Collection fee - * @property Grid\Column|Collection loggable_id - * @property Grid\Column|Collection loggable_type - * @property Grid\Column|Collection wallet_id * @property Grid\Column|Collection balance * @property Grid\Column|Collection total_expenses * @property Grid\Column|Collection total_revenue * @property Grid\Column|Collection withdrawable * - * @method Grid\Column|Collection created_at(string $label = null) - * @method Grid\Column|Collection dimensions(string $label = null) * @method Grid\Column|Collection id(string $label = null) - * @method Grid\Column|Collection is_show(string $label = null) * @method Grid\Column|Collection key(string $label = null) * @method Grid\Column|Collection name(string $label = null) + * @method Grid\Column|Collection dimensions(string $label = null) + * @method Grid\Column|Collection is_show(string $label = null) + * @method Grid\Column|Collection created_at(string $label = null) * @method Grid\Column|Collection updated_at(string $label = null) - * @method Grid\Column|Collection address(string $label = null) - * @method Grid\Column|Collection consignee(string $label = null) - * @method Grid\Column|Collection is_default(string $label = null) - * @method Grid\Column|Collection telephone(string $label = null) * @method Grid\Column|Collection user_id(string $label = null) - * @method Grid\Column|Collection zone(string $label = null) * @method Grid\Column|Collection zone_id(string $label = null) - * @method Grid\Column|Collection detail(string $label = null) + * @method Grid\Column|Collection consignee(string $label = null) + * @method Grid\Column|Collection telephone(string $label = null) + * @method Grid\Column|Collection zone(string $label = null) + * @method Grid\Column|Collection address(string $label = null) + * @method Grid\Column|Collection is_default(string $label = null) * @method Grid\Column|Collection type(string $label = null) * @method Grid\Column|Collection version(string $label = null) + * @method Grid\Column|Collection detail(string $label = null) * @method Grid\Column|Collection is_enabled(string $label = null) - * @method Grid\Column|Collection extension(string $label = null) - * @method Grid\Column|Collection icon(string $label = null) - * @method Grid\Column|Collection order(string $label = null) * @method Grid\Column|Collection parent_id(string $label = null) + * @method Grid\Column|Collection order(string $label = null) + * @method Grid\Column|Collection icon(string $label = null) * @method Grid\Column|Collection uri(string $label = null) - * @method Grid\Column|Collection menu_id(string $label = null) + * @method Grid\Column|Collection extension(string $label = null) * @method Grid\Column|Collection permission_id(string $label = null) + * @method Grid\Column|Collection menu_id(string $label = null) + * @method Grid\Column|Collection slug(string $label = null) * @method Grid\Column|Collection http_method(string $label = null) * @method Grid\Column|Collection http_path(string $label = null) - * @method Grid\Column|Collection slug(string $label = null) * @method Grid\Column|Collection role_id(string $label = null) * @method Grid\Column|Collection value(string $label = null) - * @method Grid\Column|Collection avatar(string $label = null) - * @method Grid\Column|Collection password(string $label = null) - * @method Grid\Column|Collection remember_token(string $label = null) * @method Grid\Column|Collection username(string $label = null) + * @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 address_id(string $label = null) * @method Grid\Column|Collection image(string $label = null) - * @method Grid\Column|Collection jump_link(string $label = null) - * @method Grid\Column|Collection jump_type(string $label = null) - * @method Grid\Column|Collection remarks(string $label = null) * @method Grid\Column|Collection sort(string $label = null) + * @method Grid\Column|Collection jump_type(string $label = null) + * @method Grid\Column|Collection jump_link(string $label = null) + * @method Grid\Column|Collection remarks(string $label = null) * @method Grid\Column|Collection after_sale_id(string $label = null) * @method Grid\Column|Collection desc(string $label = null) * @method Grid\Column|Collection images(string $label = null) - * @method Grid\Column|Collection amount(string $label = null) - * @method Grid\Column|Collection num(string $label = null) * @method Grid\Column|Collection order_id(string $label = null) - * @method Grid\Column|Collection order_product_id(string $label = null) * @method Grid\Column|Collection sn(string $label = null) + * @method Grid\Column|Collection order_product_id(string $label = null) + * @method Grid\Column|Collection num(string $label = null) + * @method Grid\Column|Collection amount(string $label = null) * @method Grid\Column|Collection state(string $label = null) * @method Grid\Column|Collection tracking_number(string $label = null) - * @method Grid\Column|Collection cate(string $label = null) - * @method Grid\Column|Collection context(string $label = null) - * @method Grid\Column|Collection is_force(string $label = null) - * @method Grid\Column|Collection link(string $label = null) * @method Grid\Column|Collection v(string $label = null) + * @method Grid\Column|Collection cate(string $label = null) + * @method Grid\Column|Collection is_force(string $label = null) + * @method Grid\Column|Collection context(string $label = null) + * @method Grid\Column|Collection apk_link(string $label = null) + * @method Grid\Column|Collection wgt_link(string $label = null) + * @method Grid\Column|Collection is_recommend(string $label = null) * @method Grid\Column|Collection _lft(string $label = null) * @method Grid\Column|Collection _rgt(string $label = null) - * @method Grid\Column|Collection is_recommend(string $label = null) * @method Grid\Column|Collection article_id(string $label = null) - * @method Grid\Column|Collection author_name(string $label = null) * @method Grid\Column|Collection category_id(string $label = null) - * @method Grid\Column|Collection content(string $label = null) - * @method Grid\Column|Collection cover(string $label = null) - * @method Grid\Column|Collection likes(string $label = null) - * @method Grid\Column|Collection media_content(string $label = null) - * @method Grid\Column|Collection media_type(string $label = null) - * @method Grid\Column|Collection points(string $label = null) + * @method Grid\Column|Collection author_name(string $label = null) * @method Grid\Column|Collection subtitle(string $label = null) + * @method Grid\Column|Collection cover(string $label = null) + * @method Grid\Column|Collection content(string $label = null) + * @method Grid\Column|Collection points(string $label = null) + * @method Grid\Column|Collection likes(string $label = null) + * @method Grid\Column|Collection media_type(string $label = null) + * @method Grid\Column|Collection media_content(string $label = null) * @method Grid\Column|Collection continue_click_times(string $label = null) * @method Grid\Column|Collection last_click_at(string $label = null) * @method Grid\Column|Collection coupon_id(string $label = null) @@ -285,19 +303,19 @@ namespace Dcat\Admin { * @method Grid\Column|Collection status(string $label = null) * @method Grid\Column|Collection administrator_id(string $label = null) * @method Grid\Column|Collection task_id(string $label = null) + * @method Grid\Column|Collection threshold(string $label = null) * @method Grid\Column|Collection limit(string $label = null) * @method Grid\Column|Collection sent(string $label = null) - * @method Grid\Column|Collection stock(string $label = null) - * @method Grid\Column|Collection threshold(string $label = null) * @method Grid\Column|Collection use_day(string $label = null) - * @method Grid\Column|Collection use_end_at(string $label = null) * @method Grid\Column|Collection use_start_at(string $label = null) + * @method Grid\Column|Collection use_end_at(string $label = null) + * @method Grid\Column|Collection stock(string $label = null) + * @method Grid\Column|Collection uuid(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) * @method Grid\Column|Collection exception(string $label = null) * @method Grid\Column|Collection failed_at(string $label = null) - * @method Grid\Column|Collection payload(string $label = null) - * @method Grid\Column|Collection queue(string $label = null) - * @method Grid\Column|Collection uuid(string $label = null) * @method Grid\Column|Collection code(string $label = null) * @method Grid\Column|Collection info(string $label = null) * @method Grid\Column|Collection message_id(string $label = null) @@ -305,49 +323,50 @@ namespace Dcat\Admin { * @method Grid\Column|Collection is_push(string $label = null) * @method Grid\Column|Collection order_package_id(string $label = null) * @method Grid\Column|Collection quantity(string $label = null) - * @method Grid\Column|Collection checked_at(string $label = null) - * @method Grid\Column|Collection consignee_address(string $label = null) * @method Grid\Column|Collection consignee_name(string $label = null) * @method Grid\Column|Collection consignee_telephone(string $label = null) * @method Grid\Column|Collection consignee_zone(string $label = null) - * @method Grid\Column|Collection is_failed(string $label = null) - * @method Grid\Column|Collection last_news(string $label = null) - * @method Grid\Column|Collection shipping_code(string $label = null) + * @method Grid\Column|Collection consignee_address(string $label = null) * @method Grid\Column|Collection shipping_company(string $label = null) * @method Grid\Column|Collection shipping_number(string $label = null) - * @method Grid\Column|Collection after_expire_at(string $label = null) - * @method Grid\Column|Collection after_sale_state(string $label = null) - * @method Grid\Column|Collection coupon_discount_amount(string $label = null) - * @method Grid\Column|Collection gift_for_sku_id(string $label = null) - * @method Grid\Column|Collection reduced_amount(string $label = null) - * @method Grid\Column|Collection remain_quantity(string $label = null) - * @method Grid\Column|Collection sales_value(string $label = null) - * @method Grid\Column|Collection sell_price(string $label = null) + * @method Grid\Column|Collection checked_at(string $label = null) + * @method Grid\Column|Collection shipping_code(string $label = null) + * @method Grid\Column|Collection is_failed(string $label = null) + * @method Grid\Column|Collection last_news(string $label = null) + * @method Grid\Column|Collection spu_id(string $label = null) * @method Grid\Column|Collection sku_id(string $label = null) * @method Grid\Column|Collection specs(string $label = null) - * @method Grid\Column|Collection spu_id(string $label = null) - * @method Grid\Column|Collection total_amount(string $label = null) - * @method Grid\Column|Collection vip_discount_amount(string $label = null) - * @method Grid\Column|Collection vip_price(string $label = null) * @method Grid\Column|Collection weight(string $label = null) + * @method Grid\Column|Collection sell_price(string $label = null) + * @method Grid\Column|Collection vip_price(string $label = null) + * @method Grid\Column|Collection coupon_discount_amount(string $label = null) + * @method Grid\Column|Collection vip_discount_amount(string $label = null) + * @method Grid\Column|Collection reduced_amount(string $label = null) + * @method Grid\Column|Collection total_amount(string $label = null) + * @method Grid\Column|Collection after_sale_state(string $label = null) + * @method Grid\Column|Collection after_expire_at(string $label = null) + * @method Grid\Column|Collection remain_quantity(string $label = null) + * @method Grid\Column|Collection gift_for_sku_id(string $label = null) + * @method Grid\Column|Collection sales_value(string $label = null) * @method Grid\Column|Collection max(string $label = null) - * @method Grid\Column|Collection failed_reason(string $label = null) * @method Grid\Column|Collection reason(string $label = null) - * @method Grid\Column|Collection completed_at(string $label = null) + * @method Grid\Column|Collection failed_reason(string $label = null) + * @method Grid\Column|Collection user_coupon_id(string $label = null) + * @method Grid\Column|Collection shipping_fee(string $label = null) + * @method Grid\Column|Collection products_total_amount(string $label = null) * @method Grid\Column|Collection note(string $label = null) - * @method Grid\Column|Collection pay_at(string $label = null) + * @method Grid\Column|Collection remark(string $label = null) * @method Grid\Column|Collection pay_sn(string $label = null) * @method Grid\Column|Collection pay_way(string $label = null) - * @method Grid\Column|Collection products_total_amount(string $label = null) - * @method Grid\Column|Collection remark(string $label = null) - * @method Grid\Column|Collection shipping_fee(string $label = null) + * @method Grid\Column|Collection pay_at(string $label = null) + * @method Grid\Column|Collection completed_at(string $label = null) * @method Grid\Column|Collection shipping_state(string $label = null) - * @method Grid\Column|Collection user_coupon_id(string $label = null) + * @method Grid\Column|Collection is_change(string $label = null) + * @method Grid\Column|Collection tokenable_type(string $label = null) + * @method Grid\Column|Collection tokenable_id(string $label = null) + * @method Grid\Column|Collection token(string $label = null) * @method Grid\Column|Collection abilities(string $label = null) * @method Grid\Column|Collection last_used_at(string $label = null) - * @method Grid\Column|Collection token(string $label = null) - * @method Grid\Column|Collection tokenable_id(string $label = null) - * @method Grid\Column|Collection tokenable_type(string $label = null) * @method Grid\Column|Collection old_points(string $label = null) * @method Grid\Column|Collection gift_sku_id(string $label = null) * @method Grid\Column|Collection remaining(string $label = null) @@ -355,55 +374,70 @@ namespace Dcat\Admin { * @method Grid\Column|Collection part_id(string $label = null) * @method Grid\Column|Collection applicant_id(string $label = null) * @method Grid\Column|Collection reviewer_id(string $label = null) - * @method Grid\Column|Collection buynote_id(string $label = null) - * @method Grid\Column|Collection cost_price(string $label = null) - * @method Grid\Column|Collection growth_value(string $label = null) * @method Grid\Column|Collection market_price(string $label = null) + * @method Grid\Column|Collection cost_price(string $label = null) * @method Grid\Column|Collection media(string $label = null) - * @method Grid\Column|Collection release_at(string $label = null) * @method Grid\Column|Collection sales(string $label = null) - * @method Grid\Column|Collection shipping_template_id(string $label = null) + * @method Grid\Column|Collection release_at(string $label = null) * @method Grid\Column|Collection verify_state(string $label = null) + * @method Grid\Column|Collection buynote_id(string $label = null) + * @method Grid\Column|Collection shipping_template_id(string $label = null) + * @method Grid\Column|Collection growth_value(string $label = null) * @method Grid\Column|Collection feature_id(string $label = null) * @method Grid\Column|Collection items(string $label = null) * @method Grid\Column|Collection view_date(string $label = null) * @method Grid\Column|Collection is_pushed(string $label = null) * @method Grid\Column|Collection message_type(string $label = null) - * @method Grid\Column|Collection is_use(string $label = null) - * @method Grid\Column|Collection size(string $label = null) * @method Grid\Column|Collection x(string $label = null) * @method Grid\Column|Collection y(string $label = null) + * @method Grid\Column|Collection size(string $label = null) + * @method Grid\Column|Collection is_use(string $label = null) * @method Grid\Column|Collection rule_id(string $label = null) * @method Grid\Column|Collection template_id(string $label = null) - * @method Grid\Column|Collection expires_at(string $label = null) * @method Grid\Column|Collection phone(string $label = null) + * @method Grid\Column|Collection expires_at(string $label = null) * @method Grid\Column|Collection tag_id(string $label = null) * @method Grid\Column|Collection tag_log_id(string $label = null) * @method Grid\Column|Collection tag_log_type(string $label = null) - * @method Grid\Column|Collection m_cid(string $label = null) + * @method Grid\Column|Collection taggable_id(string $label = null) + * @method Grid\Column|Collection taggable_type(string $label = null) + * @method Grid\Column|Collection real_name(string $label = null) + * @method Grid\Column|Collection bank_number(string $label = null) + * @method Grid\Column|Collection bank_name(string $label = null) + * @method Grid\Column|Collection bank_description(string $label = null) + * @method Grid\Column|Collection is_edited(string $label = null) + * @method Grid\Column|Collection old_real_name(string $label = null) * @method Grid\Column|Collection u_cid(string $label = null) - * @method Grid\Column|Collection coupon_amount(string $label = null) + * @method Grid\Column|Collection m_cid(string $label = null) * @method Grid\Column|Collection coupon_name(string $label = null) - * @method Grid\Column|Collection coupon_threshold(string $label = null) * @method Grid\Column|Collection coupon_type(string $label = null) - * @method Grid\Column|Collection birthday(string $label = null) - * @method Grid\Column|Collection gender(string $label = null) + * @method Grid\Column|Collection coupon_threshold(string $label = null) + * @method Grid\Column|Collection coupon_amount(string $label = null) * @method Grid\Column|Collection inviter_id(string $label = null) * @method Grid\Column|Collection nickname(string $label = null) + * @method Grid\Column|Collection gender(string $label = null) + * @method Grid\Column|Collection birthday(string $label = null) + * @method Grid\Column|Collection bonusable(string $label = null) + * @method Grid\Column|Collection depth(string $label = null) + * @method Grid\Column|Collection path(string $label = null) + * @method Grid\Column|Collection agent_level(string $label = null) + * @method Grid\Column|Collection quota_v2(string $label = null) + * @method Grid\Column|Collection quota_v1(string $label = null) + * @method Grid\Column|Collection group_sales_value(string $label = null) * @method Grid\Column|Collection vip_id(string $label = null) + * @method Grid\Column|Collection phone_verified_at(string $label = null) * @method Grid\Column|Collection email(string $label = null) * @method Grid\Column|Collection email_verified_at(string $label = null) - * @method Grid\Column|Collection last_login_at(string $label = null) * @method Grid\Column|Collection last_login_ip(string $label = null) - * @method Grid\Column|Collection phone_verified_at(string $label = null) + * @method Grid\Column|Collection last_login_at(string $label = null) * @method Grid\Column|Collection register_ip(string $label = null) * @method Grid\Column|Collection status_remark(string $label = null) + * @method Grid\Column|Collection wallet_id(string $label = null) + * @method Grid\Column|Collection loggable_type(string $label = null) + * @method Grid\Column|Collection loggable_id(string $label = null) * @method Grid\Column|Collection action(string $label = null) * @method Grid\Column|Collection before_balance(string $label = null) * @method Grid\Column|Collection fee(string $label = null) - * @method Grid\Column|Collection loggable_id(string $label = null) - * @method Grid\Column|Collection loggable_type(string $label = null) - * @method Grid\Column|Collection wallet_id(string $label = null) * @method Grid\Column|Collection balance(string $label = null) * @method Grid\Column|Collection total_expenses(string $label = null) * @method Grid\Column|Collection total_revenue(string $label = null) @@ -414,74 +448,75 @@ namespace Dcat\Admin { class MiniGrid extends Grid {} /** - * @property Show\Field|Collection created_at - * @property Show\Field|Collection dimensions * @property Show\Field|Collection id - * @property Show\Field|Collection is_show * @property Show\Field|Collection key * @property Show\Field|Collection name + * @property Show\Field|Collection dimensions + * @property Show\Field|Collection is_show + * @property Show\Field|Collection created_at * @property Show\Field|Collection updated_at - * @property Show\Field|Collection address - * @property Show\Field|Collection consignee - * @property Show\Field|Collection is_default - * @property Show\Field|Collection telephone * @property Show\Field|Collection user_id - * @property Show\Field|Collection zone * @property Show\Field|Collection zone_id - * @property Show\Field|Collection detail + * @property Show\Field|Collection consignee + * @property Show\Field|Collection telephone + * @property Show\Field|Collection zone + * @property Show\Field|Collection address + * @property Show\Field|Collection is_default * @property Show\Field|Collection type * @property Show\Field|Collection version + * @property Show\Field|Collection detail * @property Show\Field|Collection is_enabled - * @property Show\Field|Collection extension - * @property Show\Field|Collection icon - * @property Show\Field|Collection order * @property Show\Field|Collection parent_id + * @property Show\Field|Collection order + * @property Show\Field|Collection icon * @property Show\Field|Collection uri - * @property Show\Field|Collection menu_id + * @property Show\Field|Collection extension * @property Show\Field|Collection permission_id + * @property Show\Field|Collection menu_id + * @property Show\Field|Collection slug * @property Show\Field|Collection http_method * @property Show\Field|Collection http_path - * @property Show\Field|Collection slug * @property Show\Field|Collection role_id * @property Show\Field|Collection value - * @property Show\Field|Collection avatar - * @property Show\Field|Collection password - * @property Show\Field|Collection remember_token * @property Show\Field|Collection username + * @property Show\Field|Collection password + * @property Show\Field|Collection avatar + * @property Show\Field|Collection remember_token * @property Show\Field|Collection address_id * @property Show\Field|Collection image - * @property Show\Field|Collection jump_link - * @property Show\Field|Collection jump_type - * @property Show\Field|Collection remarks * @property Show\Field|Collection sort + * @property Show\Field|Collection jump_type + * @property Show\Field|Collection jump_link + * @property Show\Field|Collection remarks * @property Show\Field|Collection after_sale_id * @property Show\Field|Collection desc * @property Show\Field|Collection images - * @property Show\Field|Collection amount - * @property Show\Field|Collection num * @property Show\Field|Collection order_id - * @property Show\Field|Collection order_product_id * @property Show\Field|Collection sn + * @property Show\Field|Collection order_product_id + * @property Show\Field|Collection num + * @property Show\Field|Collection amount * @property Show\Field|Collection state * @property Show\Field|Collection tracking_number - * @property Show\Field|Collection cate - * @property Show\Field|Collection context - * @property Show\Field|Collection is_force - * @property Show\Field|Collection link * @property Show\Field|Collection v + * @property Show\Field|Collection cate + * @property Show\Field|Collection is_force + * @property Show\Field|Collection context + * @property Show\Field|Collection apk_link + * @property Show\Field|Collection wgt_link + * @property Show\Field|Collection is_recommend * @property Show\Field|Collection _lft * @property Show\Field|Collection _rgt - * @property Show\Field|Collection is_recommend * @property Show\Field|Collection article_id - * @property Show\Field|Collection author_name * @property Show\Field|Collection category_id - * @property Show\Field|Collection content - * @property Show\Field|Collection cover - * @property Show\Field|Collection likes - * @property Show\Field|Collection media_content - * @property Show\Field|Collection media_type - * @property Show\Field|Collection points + * @property Show\Field|Collection author_name * @property Show\Field|Collection subtitle + * @property Show\Field|Collection cover + * @property Show\Field|Collection content + * @property Show\Field|Collection points + * @property Show\Field|Collection likes + * @property Show\Field|Collection media_type + * @property Show\Field|Collection media_content * @property Show\Field|Collection continue_click_times * @property Show\Field|Collection last_click_at * @property Show\Field|Collection coupon_id @@ -489,19 +524,19 @@ namespace Dcat\Admin { * @property Show\Field|Collection status * @property Show\Field|Collection administrator_id * @property Show\Field|Collection task_id + * @property Show\Field|Collection threshold * @property Show\Field|Collection limit * @property Show\Field|Collection sent - * @property Show\Field|Collection stock - * @property Show\Field|Collection threshold * @property Show\Field|Collection use_day - * @property Show\Field|Collection use_end_at * @property Show\Field|Collection use_start_at + * @property Show\Field|Collection use_end_at + * @property Show\Field|Collection stock + * @property Show\Field|Collection uuid * @property Show\Field|Collection connection + * @property Show\Field|Collection queue + * @property Show\Field|Collection payload * @property Show\Field|Collection exception * @property Show\Field|Collection failed_at - * @property Show\Field|Collection payload - * @property Show\Field|Collection queue - * @property Show\Field|Collection uuid * @property Show\Field|Collection code * @property Show\Field|Collection info * @property Show\Field|Collection message_id @@ -509,49 +544,50 @@ namespace Dcat\Admin { * @property Show\Field|Collection is_push * @property Show\Field|Collection order_package_id * @property Show\Field|Collection quantity - * @property Show\Field|Collection checked_at - * @property Show\Field|Collection consignee_address * @property Show\Field|Collection consignee_name * @property Show\Field|Collection consignee_telephone * @property Show\Field|Collection consignee_zone - * @property Show\Field|Collection is_failed - * @property Show\Field|Collection last_news - * @property Show\Field|Collection shipping_code + * @property Show\Field|Collection consignee_address * @property Show\Field|Collection shipping_company * @property Show\Field|Collection shipping_number - * @property Show\Field|Collection after_expire_at - * @property Show\Field|Collection after_sale_state - * @property Show\Field|Collection coupon_discount_amount - * @property Show\Field|Collection gift_for_sku_id - * @property Show\Field|Collection reduced_amount - * @property Show\Field|Collection remain_quantity - * @property Show\Field|Collection sales_value - * @property Show\Field|Collection sell_price + * @property Show\Field|Collection checked_at + * @property Show\Field|Collection shipping_code + * @property Show\Field|Collection is_failed + * @property Show\Field|Collection last_news + * @property Show\Field|Collection spu_id * @property Show\Field|Collection sku_id * @property Show\Field|Collection specs - * @property Show\Field|Collection spu_id - * @property Show\Field|Collection total_amount - * @property Show\Field|Collection vip_discount_amount - * @property Show\Field|Collection vip_price * @property Show\Field|Collection weight + * @property Show\Field|Collection sell_price + * @property Show\Field|Collection vip_price + * @property Show\Field|Collection coupon_discount_amount + * @property Show\Field|Collection vip_discount_amount + * @property Show\Field|Collection reduced_amount + * @property Show\Field|Collection total_amount + * @property Show\Field|Collection after_sale_state + * @property Show\Field|Collection after_expire_at + * @property Show\Field|Collection remain_quantity + * @property Show\Field|Collection gift_for_sku_id + * @property Show\Field|Collection sales_value * @property Show\Field|Collection max - * @property Show\Field|Collection failed_reason * @property Show\Field|Collection reason - * @property Show\Field|Collection completed_at + * @property Show\Field|Collection failed_reason + * @property Show\Field|Collection user_coupon_id + * @property Show\Field|Collection shipping_fee + * @property Show\Field|Collection products_total_amount * @property Show\Field|Collection note - * @property Show\Field|Collection pay_at + * @property Show\Field|Collection remark * @property Show\Field|Collection pay_sn * @property Show\Field|Collection pay_way - * @property Show\Field|Collection products_total_amount - * @property Show\Field|Collection remark - * @property Show\Field|Collection shipping_fee + * @property Show\Field|Collection pay_at + * @property Show\Field|Collection completed_at * @property Show\Field|Collection shipping_state - * @property Show\Field|Collection user_coupon_id + * @property Show\Field|Collection is_change + * @property Show\Field|Collection tokenable_type + * @property Show\Field|Collection tokenable_id + * @property Show\Field|Collection token * @property Show\Field|Collection abilities * @property Show\Field|Collection last_used_at - * @property Show\Field|Collection token - * @property Show\Field|Collection tokenable_id - * @property Show\Field|Collection tokenable_type * @property Show\Field|Collection old_points * @property Show\Field|Collection gift_sku_id * @property Show\Field|Collection remaining @@ -559,128 +595,144 @@ namespace Dcat\Admin { * @property Show\Field|Collection part_id * @property Show\Field|Collection applicant_id * @property Show\Field|Collection reviewer_id - * @property Show\Field|Collection buynote_id - * @property Show\Field|Collection cost_price - * @property Show\Field|Collection growth_value * @property Show\Field|Collection market_price + * @property Show\Field|Collection cost_price * @property Show\Field|Collection media - * @property Show\Field|Collection release_at * @property Show\Field|Collection sales - * @property Show\Field|Collection shipping_template_id + * @property Show\Field|Collection release_at * @property Show\Field|Collection verify_state + * @property Show\Field|Collection buynote_id + * @property Show\Field|Collection shipping_template_id + * @property Show\Field|Collection growth_value * @property Show\Field|Collection feature_id * @property Show\Field|Collection items * @property Show\Field|Collection view_date * @property Show\Field|Collection is_pushed * @property Show\Field|Collection message_type - * @property Show\Field|Collection is_use - * @property Show\Field|Collection size * @property Show\Field|Collection x * @property Show\Field|Collection y + * @property Show\Field|Collection size + * @property Show\Field|Collection is_use * @property Show\Field|Collection rule_id * @property Show\Field|Collection template_id - * @property Show\Field|Collection expires_at * @property Show\Field|Collection phone + * @property Show\Field|Collection expires_at * @property Show\Field|Collection tag_id * @property Show\Field|Collection tag_log_id * @property Show\Field|Collection tag_log_type - * @property Show\Field|Collection m_cid + * @property Show\Field|Collection taggable_id + * @property Show\Field|Collection taggable_type + * @property Show\Field|Collection real_name + * @property Show\Field|Collection bank_number + * @property Show\Field|Collection bank_name + * @property Show\Field|Collection bank_description + * @property Show\Field|Collection is_edited + * @property Show\Field|Collection old_real_name * @property Show\Field|Collection u_cid - * @property Show\Field|Collection coupon_amount + * @property Show\Field|Collection m_cid * @property Show\Field|Collection coupon_name - * @property Show\Field|Collection coupon_threshold * @property Show\Field|Collection coupon_type - * @property Show\Field|Collection birthday - * @property Show\Field|Collection gender + * @property Show\Field|Collection coupon_threshold + * @property Show\Field|Collection coupon_amount * @property Show\Field|Collection inviter_id * @property Show\Field|Collection nickname + * @property Show\Field|Collection gender + * @property Show\Field|Collection birthday + * @property Show\Field|Collection bonusable + * @property Show\Field|Collection depth + * @property Show\Field|Collection path + * @property Show\Field|Collection agent_level + * @property Show\Field|Collection quota_v2 + * @property Show\Field|Collection quota_v1 + * @property Show\Field|Collection group_sales_value * @property Show\Field|Collection vip_id + * @property Show\Field|Collection phone_verified_at * @property Show\Field|Collection email * @property Show\Field|Collection email_verified_at - * @property Show\Field|Collection last_login_at * @property Show\Field|Collection last_login_ip - * @property Show\Field|Collection phone_verified_at + * @property Show\Field|Collection last_login_at * @property Show\Field|Collection register_ip * @property Show\Field|Collection status_remark + * @property Show\Field|Collection wallet_id + * @property Show\Field|Collection loggable_type + * @property Show\Field|Collection loggable_id * @property Show\Field|Collection action * @property Show\Field|Collection before_balance * @property Show\Field|Collection fee - * @property Show\Field|Collection loggable_id - * @property Show\Field|Collection loggable_type - * @property Show\Field|Collection wallet_id * @property Show\Field|Collection balance * @property Show\Field|Collection total_expenses * @property Show\Field|Collection total_revenue * @property Show\Field|Collection withdrawable * - * @method Show\Field|Collection created_at(string $label = null) - * @method Show\Field|Collection dimensions(string $label = null) * @method Show\Field|Collection id(string $label = null) - * @method Show\Field|Collection is_show(string $label = null) * @method Show\Field|Collection key(string $label = null) * @method Show\Field|Collection name(string $label = null) + * @method Show\Field|Collection dimensions(string $label = null) + * @method Show\Field|Collection is_show(string $label = null) + * @method Show\Field|Collection created_at(string $label = null) * @method Show\Field|Collection updated_at(string $label = null) - * @method Show\Field|Collection address(string $label = null) - * @method Show\Field|Collection consignee(string $label = null) - * @method Show\Field|Collection is_default(string $label = null) - * @method Show\Field|Collection telephone(string $label = null) * @method Show\Field|Collection user_id(string $label = null) - * @method Show\Field|Collection zone(string $label = null) * @method Show\Field|Collection zone_id(string $label = null) - * @method Show\Field|Collection detail(string $label = null) + * @method Show\Field|Collection consignee(string $label = null) + * @method Show\Field|Collection telephone(string $label = null) + * @method Show\Field|Collection zone(string $label = null) + * @method Show\Field|Collection address(string $label = null) + * @method Show\Field|Collection is_default(string $label = null) * @method Show\Field|Collection type(string $label = null) * @method Show\Field|Collection version(string $label = null) + * @method Show\Field|Collection detail(string $label = null) * @method Show\Field|Collection is_enabled(string $label = null) - * @method Show\Field|Collection extension(string $label = null) - * @method Show\Field|Collection icon(string $label = null) - * @method Show\Field|Collection order(string $label = null) * @method Show\Field|Collection parent_id(string $label = null) + * @method Show\Field|Collection order(string $label = null) + * @method Show\Field|Collection icon(string $label = null) * @method Show\Field|Collection uri(string $label = null) - * @method Show\Field|Collection menu_id(string $label = null) + * @method Show\Field|Collection extension(string $label = null) * @method Show\Field|Collection permission_id(string $label = null) + * @method Show\Field|Collection menu_id(string $label = null) + * @method Show\Field|Collection slug(string $label = null) * @method Show\Field|Collection http_method(string $label = null) * @method Show\Field|Collection http_path(string $label = null) - * @method Show\Field|Collection slug(string $label = null) * @method Show\Field|Collection role_id(string $label = null) * @method Show\Field|Collection value(string $label = null) - * @method Show\Field|Collection avatar(string $label = null) - * @method Show\Field|Collection password(string $label = null) - * @method Show\Field|Collection remember_token(string $label = null) * @method Show\Field|Collection username(string $label = null) + * @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 address_id(string $label = null) * @method Show\Field|Collection image(string $label = null) - * @method Show\Field|Collection jump_link(string $label = null) - * @method Show\Field|Collection jump_type(string $label = null) - * @method Show\Field|Collection remarks(string $label = null) * @method Show\Field|Collection sort(string $label = null) + * @method Show\Field|Collection jump_type(string $label = null) + * @method Show\Field|Collection jump_link(string $label = null) + * @method Show\Field|Collection remarks(string $label = null) * @method Show\Field|Collection after_sale_id(string $label = null) * @method Show\Field|Collection desc(string $label = null) * @method Show\Field|Collection images(string $label = null) - * @method Show\Field|Collection amount(string $label = null) - * @method Show\Field|Collection num(string $label = null) * @method Show\Field|Collection order_id(string $label = null) - * @method Show\Field|Collection order_product_id(string $label = null) * @method Show\Field|Collection sn(string $label = null) + * @method Show\Field|Collection order_product_id(string $label = null) + * @method Show\Field|Collection num(string $label = null) + * @method Show\Field|Collection amount(string $label = null) * @method Show\Field|Collection state(string $label = null) * @method Show\Field|Collection tracking_number(string $label = null) - * @method Show\Field|Collection cate(string $label = null) - * @method Show\Field|Collection context(string $label = null) - * @method Show\Field|Collection is_force(string $label = null) - * @method Show\Field|Collection link(string $label = null) * @method Show\Field|Collection v(string $label = null) + * @method Show\Field|Collection cate(string $label = null) + * @method Show\Field|Collection is_force(string $label = null) + * @method Show\Field|Collection context(string $label = null) + * @method Show\Field|Collection apk_link(string $label = null) + * @method Show\Field|Collection wgt_link(string $label = null) + * @method Show\Field|Collection is_recommend(string $label = null) * @method Show\Field|Collection _lft(string $label = null) * @method Show\Field|Collection _rgt(string $label = null) - * @method Show\Field|Collection is_recommend(string $label = null) * @method Show\Field|Collection article_id(string $label = null) - * @method Show\Field|Collection author_name(string $label = null) * @method Show\Field|Collection category_id(string $label = null) - * @method Show\Field|Collection content(string $label = null) - * @method Show\Field|Collection cover(string $label = null) - * @method Show\Field|Collection likes(string $label = null) - * @method Show\Field|Collection media_content(string $label = null) - * @method Show\Field|Collection media_type(string $label = null) - * @method Show\Field|Collection points(string $label = null) + * @method Show\Field|Collection author_name(string $label = null) * @method Show\Field|Collection subtitle(string $label = null) + * @method Show\Field|Collection cover(string $label = null) + * @method Show\Field|Collection content(string $label = null) + * @method Show\Field|Collection points(string $label = null) + * @method Show\Field|Collection likes(string $label = null) + * @method Show\Field|Collection media_type(string $label = null) + * @method Show\Field|Collection media_content(string $label = null) * @method Show\Field|Collection continue_click_times(string $label = null) * @method Show\Field|Collection last_click_at(string $label = null) * @method Show\Field|Collection coupon_id(string $label = null) @@ -688,19 +740,19 @@ namespace Dcat\Admin { * @method Show\Field|Collection status(string $label = null) * @method Show\Field|Collection administrator_id(string $label = null) * @method Show\Field|Collection task_id(string $label = null) + * @method Show\Field|Collection threshold(string $label = null) * @method Show\Field|Collection limit(string $label = null) * @method Show\Field|Collection sent(string $label = null) - * @method Show\Field|Collection stock(string $label = null) - * @method Show\Field|Collection threshold(string $label = null) * @method Show\Field|Collection use_day(string $label = null) - * @method Show\Field|Collection use_end_at(string $label = null) * @method Show\Field|Collection use_start_at(string $label = null) + * @method Show\Field|Collection use_end_at(string $label = null) + * @method Show\Field|Collection stock(string $label = null) + * @method Show\Field|Collection uuid(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) * @method Show\Field|Collection exception(string $label = null) * @method Show\Field|Collection failed_at(string $label = null) - * @method Show\Field|Collection payload(string $label = null) - * @method Show\Field|Collection queue(string $label = null) - * @method Show\Field|Collection uuid(string $label = null) * @method Show\Field|Collection code(string $label = null) * @method Show\Field|Collection info(string $label = null) * @method Show\Field|Collection message_id(string $label = null) @@ -708,49 +760,50 @@ namespace Dcat\Admin { * @method Show\Field|Collection is_push(string $label = null) * @method Show\Field|Collection order_package_id(string $label = null) * @method Show\Field|Collection quantity(string $label = null) - * @method Show\Field|Collection checked_at(string $label = null) - * @method Show\Field|Collection consignee_address(string $label = null) * @method Show\Field|Collection consignee_name(string $label = null) * @method Show\Field|Collection consignee_telephone(string $label = null) * @method Show\Field|Collection consignee_zone(string $label = null) - * @method Show\Field|Collection is_failed(string $label = null) - * @method Show\Field|Collection last_news(string $label = null) - * @method Show\Field|Collection shipping_code(string $label = null) + * @method Show\Field|Collection consignee_address(string $label = null) * @method Show\Field|Collection shipping_company(string $label = null) * @method Show\Field|Collection shipping_number(string $label = null) - * @method Show\Field|Collection after_expire_at(string $label = null) - * @method Show\Field|Collection after_sale_state(string $label = null) - * @method Show\Field|Collection coupon_discount_amount(string $label = null) - * @method Show\Field|Collection gift_for_sku_id(string $label = null) - * @method Show\Field|Collection reduced_amount(string $label = null) - * @method Show\Field|Collection remain_quantity(string $label = null) - * @method Show\Field|Collection sales_value(string $label = null) - * @method Show\Field|Collection sell_price(string $label = null) + * @method Show\Field|Collection checked_at(string $label = null) + * @method Show\Field|Collection shipping_code(string $label = null) + * @method Show\Field|Collection is_failed(string $label = null) + * @method Show\Field|Collection last_news(string $label = null) + * @method Show\Field|Collection spu_id(string $label = null) * @method Show\Field|Collection sku_id(string $label = null) * @method Show\Field|Collection specs(string $label = null) - * @method Show\Field|Collection spu_id(string $label = null) - * @method Show\Field|Collection total_amount(string $label = null) - * @method Show\Field|Collection vip_discount_amount(string $label = null) - * @method Show\Field|Collection vip_price(string $label = null) * @method Show\Field|Collection weight(string $label = null) + * @method Show\Field|Collection sell_price(string $label = null) + * @method Show\Field|Collection vip_price(string $label = null) + * @method Show\Field|Collection coupon_discount_amount(string $label = null) + * @method Show\Field|Collection vip_discount_amount(string $label = null) + * @method Show\Field|Collection reduced_amount(string $label = null) + * @method Show\Field|Collection total_amount(string $label = null) + * @method Show\Field|Collection after_sale_state(string $label = null) + * @method Show\Field|Collection after_expire_at(string $label = null) + * @method Show\Field|Collection remain_quantity(string $label = null) + * @method Show\Field|Collection gift_for_sku_id(string $label = null) + * @method Show\Field|Collection sales_value(string $label = null) * @method Show\Field|Collection max(string $label = null) - * @method Show\Field|Collection failed_reason(string $label = null) * @method Show\Field|Collection reason(string $label = null) - * @method Show\Field|Collection completed_at(string $label = null) + * @method Show\Field|Collection failed_reason(string $label = null) + * @method Show\Field|Collection user_coupon_id(string $label = null) + * @method Show\Field|Collection shipping_fee(string $label = null) + * @method Show\Field|Collection products_total_amount(string $label = null) * @method Show\Field|Collection note(string $label = null) - * @method Show\Field|Collection pay_at(string $label = null) + * @method Show\Field|Collection remark(string $label = null) * @method Show\Field|Collection pay_sn(string $label = null) * @method Show\Field|Collection pay_way(string $label = null) - * @method Show\Field|Collection products_total_amount(string $label = null) - * @method Show\Field|Collection remark(string $label = null) - * @method Show\Field|Collection shipping_fee(string $label = null) + * @method Show\Field|Collection pay_at(string $label = null) + * @method Show\Field|Collection completed_at(string $label = null) * @method Show\Field|Collection shipping_state(string $label = null) - * @method Show\Field|Collection user_coupon_id(string $label = null) + * @method Show\Field|Collection is_change(string $label = null) + * @method Show\Field|Collection tokenable_type(string $label = null) + * @method Show\Field|Collection tokenable_id(string $label = null) + * @method Show\Field|Collection token(string $label = null) * @method Show\Field|Collection abilities(string $label = null) * @method Show\Field|Collection last_used_at(string $label = null) - * @method Show\Field|Collection token(string $label = null) - * @method Show\Field|Collection tokenable_id(string $label = null) - * @method Show\Field|Collection tokenable_type(string $label = null) * @method Show\Field|Collection old_points(string $label = null) * @method Show\Field|Collection gift_sku_id(string $label = null) * @method Show\Field|Collection remaining(string $label = null) @@ -758,55 +811,70 @@ namespace Dcat\Admin { * @method Show\Field|Collection part_id(string $label = null) * @method Show\Field|Collection applicant_id(string $label = null) * @method Show\Field|Collection reviewer_id(string $label = null) - * @method Show\Field|Collection buynote_id(string $label = null) - * @method Show\Field|Collection cost_price(string $label = null) - * @method Show\Field|Collection growth_value(string $label = null) * @method Show\Field|Collection market_price(string $label = null) + * @method Show\Field|Collection cost_price(string $label = null) * @method Show\Field|Collection media(string $label = null) - * @method Show\Field|Collection release_at(string $label = null) * @method Show\Field|Collection sales(string $label = null) - * @method Show\Field|Collection shipping_template_id(string $label = null) + * @method Show\Field|Collection release_at(string $label = null) * @method Show\Field|Collection verify_state(string $label = null) + * @method Show\Field|Collection buynote_id(string $label = null) + * @method Show\Field|Collection shipping_template_id(string $label = null) + * @method Show\Field|Collection growth_value(string $label = null) * @method Show\Field|Collection feature_id(string $label = null) * @method Show\Field|Collection items(string $label = null) * @method Show\Field|Collection view_date(string $label = null) * @method Show\Field|Collection is_pushed(string $label = null) * @method Show\Field|Collection message_type(string $label = null) - * @method Show\Field|Collection is_use(string $label = null) - * @method Show\Field|Collection size(string $label = null) * @method Show\Field|Collection x(string $label = null) * @method Show\Field|Collection y(string $label = null) + * @method Show\Field|Collection size(string $label = null) + * @method Show\Field|Collection is_use(string $label = null) * @method Show\Field|Collection rule_id(string $label = null) * @method Show\Field|Collection template_id(string $label = null) - * @method Show\Field|Collection expires_at(string $label = null) * @method Show\Field|Collection phone(string $label = null) + * @method Show\Field|Collection expires_at(string $label = null) * @method Show\Field|Collection tag_id(string $label = null) * @method Show\Field|Collection tag_log_id(string $label = null) * @method Show\Field|Collection tag_log_type(string $label = null) - * @method Show\Field|Collection m_cid(string $label = null) + * @method Show\Field|Collection taggable_id(string $label = null) + * @method Show\Field|Collection taggable_type(string $label = null) + * @method Show\Field|Collection real_name(string $label = null) + * @method Show\Field|Collection bank_number(string $label = null) + * @method Show\Field|Collection bank_name(string $label = null) + * @method Show\Field|Collection bank_description(string $label = null) + * @method Show\Field|Collection is_edited(string $label = null) + * @method Show\Field|Collection old_real_name(string $label = null) * @method Show\Field|Collection u_cid(string $label = null) - * @method Show\Field|Collection coupon_amount(string $label = null) + * @method Show\Field|Collection m_cid(string $label = null) * @method Show\Field|Collection coupon_name(string $label = null) - * @method Show\Field|Collection coupon_threshold(string $label = null) * @method Show\Field|Collection coupon_type(string $label = null) - * @method Show\Field|Collection birthday(string $label = null) - * @method Show\Field|Collection gender(string $label = null) + * @method Show\Field|Collection coupon_threshold(string $label = null) + * @method Show\Field|Collection coupon_amount(string $label = null) * @method Show\Field|Collection inviter_id(string $label = null) * @method Show\Field|Collection nickname(string $label = null) + * @method Show\Field|Collection gender(string $label = null) + * @method Show\Field|Collection birthday(string $label = null) + * @method Show\Field|Collection bonusable(string $label = null) + * @method Show\Field|Collection depth(string $label = null) + * @method Show\Field|Collection path(string $label = null) + * @method Show\Field|Collection agent_level(string $label = null) + * @method Show\Field|Collection quota_v2(string $label = null) + * @method Show\Field|Collection quota_v1(string $label = null) + * @method Show\Field|Collection group_sales_value(string $label = null) * @method Show\Field|Collection vip_id(string $label = null) + * @method Show\Field|Collection phone_verified_at(string $label = null) * @method Show\Field|Collection email(string $label = null) * @method Show\Field|Collection email_verified_at(string $label = null) - * @method Show\Field|Collection last_login_at(string $label = null) * @method Show\Field|Collection last_login_ip(string $label = null) - * @method Show\Field|Collection phone_verified_at(string $label = null) + * @method Show\Field|Collection last_login_at(string $label = null) * @method Show\Field|Collection register_ip(string $label = null) * @method Show\Field|Collection status_remark(string $label = null) + * @method Show\Field|Collection wallet_id(string $label = null) + * @method Show\Field|Collection loggable_type(string $label = null) + * @method Show\Field|Collection loggable_id(string $label = null) * @method Show\Field|Collection action(string $label = null) * @method Show\Field|Collection before_balance(string $label = null) * @method Show\Field|Collection fee(string $label = null) - * @method Show\Field|Collection loggable_id(string $label = null) - * @method Show\Field|Collection loggable_type(string $label = null) - * @method Show\Field|Collection wallet_id(string $label = null) * @method Show\Field|Collection balance(string $label = null) * @method Show\Field|Collection total_expenses(string $label = null) * @method Show\Field|Collection total_revenue(string $label = null) diff --git a/resources/lang/zh_CN/setting.php b/resources/lang/zh_CN/setting.php new file mode 100644 index 00000000..93a4ee91 --- /dev/null +++ b/resources/lang/zh_CN/setting.php @@ -0,0 +1,15 @@ + [ + 'Setting' => '配置管理', + 'settings' => '配置管理', + ], + 'fields' => [ + 'key' => 'key', + 'value' => '值', + 'remarks' => '备注', + ], + 'options' => [ + ], +];