From ce04904b102d8464c78396964f5e4e482f3c0d96 Mon Sep 17 00:00:00 2001 From: vine_liutk <961510893@qq.com> Date: Wed, 22 Dec 2021 14:46:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=88=86=E4=BA=AB=E8=83=8C?= =?UTF-8?q?=E6=99=AF=E7=AE=A1=E7=90=86=E4=BB=A5=E5=8F=8A=E7=9B=B8=E5=BA=94?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Admin/Controllers/ShareBgController.php | 114 +++ app/Admin/Repositories/ShareBg.php | 16 + app/Admin/routes.php | 6 +- .../Http/Controllers/ShareBgController.php | 30 + .../Api/Http/Resources/ShareBgResource.php | 23 + app/Endpoint/Api/routes.php | 5 + app/Models/ShareBg.php | 17 + app/Services/Push/UniPushService.php | 5 +- composer.json | 1 + composer.lock | 188 ++++- config/settings.php | 3 + ...21_12_22_132842_create_share_bgs_table.php | 38 + database/seeders/AdminMenuSeeder.php | 7 +- database/seeders/AdminPermissionSeeder.php | 4 + dcat_admin_ide_helper.php | 674 ++++++++++-------- resources/lang/zh_CN/share-bg.php | 19 + 16 files changed, 836 insertions(+), 314 deletions(-) create mode 100644 app/Admin/Controllers/ShareBgController.php create mode 100644 app/Admin/Repositories/ShareBg.php create mode 100644 app/Endpoint/Api/Http/Controllers/ShareBgController.php create mode 100644 app/Endpoint/Api/Http/Resources/ShareBgResource.php create mode 100644 app/Models/ShareBg.php create mode 100644 database/migrations/2021_12_22_132842_create_share_bgs_table.php create mode 100644 resources/lang/zh_CN/share-bg.php diff --git a/app/Admin/Controllers/ShareBgController.php b/app/Admin/Controllers/ShareBgController.php new file mode 100644 index 00000000..79de54fe --- /dev/null +++ b/app/Admin/Controllers/ShareBgController.php @@ -0,0 +1,114 @@ +column('id')->sortable(); + $grid->column('image')->image(100, 100); + $grid->column('x'); + $grid->column('y'); + $grid->column('size'); + $grid->column('is_use') + ->if(function () { + return Admin::user()->can('dcat.admin.share_bgs.edit'); + }) + ->then(function (Column $column) { + $column->switch(); + }) + ->else(function (Column $column) { + $column->bool(); + }); + $grid->column('sort'); + $grid->column('remark'); + $grid->column('created_at')->sortable(); + + $grid->model()->orderBy('created_at', 'desc'); + + /** 操作 **/ + //新增 + if (Admin::user()->can('dcat.admin.share_bgs.create')) { + $grid->disableCreateButton(false); + $grid->enableDialogCreate(); + } + //修改 + $grid->showQuickEditButton(Admin::user()->can('dcat.admin.share_bgs.edit')); + //删除以及自定义操作 + $grid->actions(function (Grid\Displayers\Actions $actions) { + $actions->disableDelete(Admin::user()->cannot('dcat.admin.share_bgs.destroy')); + }); + + // /** 查询 **/ + // $grid->filter(function (Grid\Filter $filter) { + // $filter->panel(); + // $filter->equal('address_id')->select(AdAddress::all()->pluck('name', 'id'))->width(3); + // }); + }); + } + + /** + * Make a show builder. + * + * @param mixed $id + * + * @return Show + */ + protected function detail($id) + { + return Show::make($id, new ShareBg(), function (Show $show) { + $show->field('id'); + $show->field('image'); + $show->field('x'); + $show->field('y'); + $show->field('size'); + $show->field('is_use'); + $show->field('sort'); + $show->field('remark'); + $show->field('created_at'); + $show->field('updated_at'); + }); + } + + /** + * Make a form builder. + * + * @return Form + */ + protected function form() + { + return Form::make(new ShareBg(), function (Form $form) { + $form->display('id'); + $form->image('image') + ->move('share-bgs/'.Carbon::now()->toDateString()) + ->saveFullUrl() + ->removable(false) + ->autoUpload()->required(); + $form->number('x')->min(0)->default(0)->required(); + $form->number('y')->min(0)->default(0)->required(); + $form->number('size')->min(0)->default(0)->required(); + $form->switch('is_use')->default(0)->required(); + $form->number('sort')->min(0)->default(0); + $form->text('remark'); + + $form->display('created_at'); + $form->display('updated_at'); + }); + } +} diff --git a/app/Admin/Repositories/ShareBg.php b/app/Admin/Repositories/ShareBg.php new file mode 100644 index 00000000..b41ace2a --- /dev/null +++ b/app/Admin/Repositories/ShareBg.php @@ -0,0 +1,16 @@ +names('order_reduce_ranges'); - $router->resource('app_versions', 'AppVersionController')->only([ + $router->resource('app-versions', 'AppVersionController')->only([ 'index', 'create', 'store', 'edit', 'update', 'destroy', ])->names('app_versions'); + $router->resource('share-bgs', 'ShareBgController')->only([ + 'index', 'create', 'store', 'edit', 'update', 'destroy', + ])->names('share_bgs'); + /** 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/Endpoint/Api/Http/Controllers/ShareBgController.php b/app/Endpoint/Api/Http/Controllers/ShareBgController.php new file mode 100644 index 00000000..f0487458 --- /dev/null +++ b/app/Endpoint/Api/Http/Controllers/ShareBgController.php @@ -0,0 +1,30 @@ +orderBy('sort', 'desc')->get()); + } + + public function userQrCode(Request $request) + { + $inviteUri = config('settings.invite_uri').'/register?code='; + return response()->json([ + 'qr_code' => base64_encode(QrCode::format('png')->size(100)->margin(0)->generate($inviteUri.$request->user()->userInfo?->code)), + ]); + } +} diff --git a/app/Endpoint/Api/Http/Resources/ShareBgResource.php b/app/Endpoint/Api/Http/Resources/ShareBgResource.php new file mode 100644 index 00000000..6a02aa38 --- /dev/null +++ b/app/Endpoint/Api/Http/Resources/ShareBgResource.php @@ -0,0 +1,23 @@ + $this->image, + 'x' =>$this->x, + 'y' =>$this->y, + ]; + } +} diff --git a/app/Endpoint/Api/routes.php b/app/Endpoint/Api/routes.php index f2739469..df96b30b 100644 --- a/app/Endpoint/Api/routes.php +++ b/app/Endpoint/Api/routes.php @@ -23,6 +23,7 @@ use App\Endpoint\Api\Http\Controllers\Product\ProductFavoriteController; use App\Endpoint\Api\Http\Controllers\Product\ProductSkuController; use App\Endpoint\Api\Http\Controllers\Product\ProductViewLogController; use App\Endpoint\Api\Http\Controllers\PushController; +use App\Endpoint\Api\Http\Controllers\ShareBgController; use App\Endpoint\Api\Http\Controllers\ShippingAddressController; use App\Endpoint\Api\Http\Controllers\ShoppingCartItemController; use App\Endpoint\Api\Http\Controllers\SmsCodeController; @@ -121,6 +122,10 @@ Route::group([ Route::get('click', [ClickController::class, 'index']); Route::post('click', [ClickController::class, 'click']); + //分享 + Route::get('share-bgs', [ShareBgController::class, 'index']); + Route::post('user-qr-code', [ShareBgController::class, 'userQrCode']); + // 订单 Route::get('order/statistics', StatisticsController::class); Route::post('order/verify-order', OrderVerifyController::class); diff --git a/app/Models/ShareBg.php b/app/Models/ShareBg.php new file mode 100644 index 00000000..531aab7a --- /dev/null +++ b/app/Models/ShareBg.php @@ -0,0 +1,17 @@ +'bool', + ]; +} diff --git a/app/Services/Push/UniPushService.php b/app/Services/Push/UniPushService.php index e44f1757..90e162b0 100644 --- a/app/Services/Push/UniPushService.php +++ b/app/Services/Push/UniPushService.php @@ -2,6 +2,7 @@ namespace App\Services\Push; +use Carbon\Carbon; use Illuminate\Support\Arr; use Illuminate\Support\Facades\Cache; use Illuminate\Support\Facades\Http; @@ -91,7 +92,7 @@ class UniPushService if ($response->successful()) { $data = $response->json(); $token = $data['data']['token']; - Cache::put($this->cacheKey, $data['data']['token'], $data['data']['expire_time']); + Cache::put($this->cacheKey, $data['data']['token'], Carbon::createFromTimestampMs($data['data']['expire_time'])); } return $token; } @@ -104,7 +105,7 @@ class UniPushService protected function post($uri, $params) { $token = $this->getToken(); - // dd($this->getUri($uri), $params); + // dump($token, $this->getUri($uri), $params); $response = Http::withHeaders([ 'Accept' => 'application/json', 'token' => $token, diff --git a/composer.json b/composer.json index 1af40ebe..63322d9e 100644 --- a/composer.json +++ b/composer.json @@ -21,6 +21,7 @@ "laravel/sanctum": "^2.12", "laravel/tinker": "^2.5", "overtrue/easy-sms": "^2.0", + "simplesoftwareio/simple-qrcode": "^4.2", "tucker-eric/eloquentfilter": "^3.0", "w7corp/easywechat": "^5.10" }, diff --git a/composer.lock b/composer.lock index 0cda32e0..9eca24ad 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "69a508e447b275532786ffcc0beff3aa", + "content-hash": "8cdaea8176b066b5f779a5fe80f806af", "packages": [ { "name": "asm89/stack-cors", @@ -68,6 +68,65 @@ }, "time": "2021-03-11T06:42:03+00:00" }, + { + "name": "bacon/bacon-qr-code", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/Bacon/BaconQrCode.git", + "reference": "f73543ac4e1def05f1a70bcd1525c8a157a1ad09" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Bacon/BaconQrCode/zipball/f73543ac4e1def05f1a70bcd1525c8a157a1ad09", + "reference": "f73543ac4e1def05f1a70bcd1525c8a157a1ad09", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "dasprid/enum": "^1.0.3", + "ext-iconv": "*", + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "phly/keep-a-changelog": "^1.4", + "phpunit/phpunit": "^7 | ^8 | ^9", + "squizlabs/php_codesniffer": "^3.4" + }, + "suggest": { + "ext-imagick": "to generate QR code images" + }, + "type": "library", + "autoload": { + "psr-4": { + "BaconQrCode\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-2-Clause" + ], + "authors": [ + { + "name": "Ben Scholzen 'DASPRiD'", + "email": "mail@dasprids.de", + "homepage": "https://dasprids.de/", + "role": "Developer" + } + ], + "description": "BaconQrCode is a QR code generator for PHP.", + "homepage": "https://github.com/Bacon/BaconQrCode", + "support": { + "issues": "https://github.com/Bacon/BaconQrCode/issues", + "source": "https://github.com/Bacon/BaconQrCode/tree/2.0.4" + }, + "time": "2021-06-18T13:26:35+00:00" + }, { "name": "brick/math", "version": "0.9.3", @@ -213,6 +272,59 @@ ], "time": "2021-09-13T08:41:34+00:00" }, + { + "name": "dasprid/enum", + "version": "1.0.3", + "source": { + "type": "git", + "url": "https://github.com/DASPRiD/Enum.git", + "reference": "5abf82f213618696dda8e3bf6f64dd042d8542b2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/DASPRiD/Enum/zipball/5abf82f213618696dda8e3bf6f64dd042d8542b2", + "reference": "5abf82f213618696dda8e3bf6f64dd042d8542b2", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require-dev": { + "phpunit/phpunit": "^7 | ^8 | ^9", + "squizlabs/php_codesniffer": "^3.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "DASPRiD\\Enum\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-2-Clause" + ], + "authors": [ + { + "name": "Ben Scholzen 'DASPRiD'", + "email": "mail@dasprids.de", + "homepage": "https://dasprids.de/", + "role": "Developer" + } + ], + "description": "PHP 7.1 enum implementation", + "keywords": [ + "enum", + "map" + ], + "support": { + "issues": "https://github.com/DASPRiD/Enum/issues", + "source": "https://github.com/DASPRiD/Enum/tree/1.0.3" + }, + "time": "2020-10-02T16:03:48+00:00" + }, { "name": "dcat/laravel-admin", "version": "2.1.5-beta", @@ -4046,6 +4158,80 @@ ], "time": "2021-09-25T23:10:38+00:00" }, + { + "name": "simplesoftwareio/simple-qrcode", + "version": "4.2.0", + "source": { + "type": "git", + "url": "https://github.com/SimpleSoftwareIO/simple-qrcode.git", + "reference": "916db7948ca6772d54bb617259c768c9cdc8d537" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/SimpleSoftwareIO/simple-qrcode/zipball/916db7948ca6772d54bb617259c768c9cdc8d537", + "reference": "916db7948ca6772d54bb617259c768c9cdc8d537", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "bacon/bacon-qr-code": "^2.0", + "ext-gd": "*", + "php": ">=7.2|^8.0" + }, + "require-dev": { + "mockery/mockery": "~1", + "phpunit/phpunit": "~9" + }, + "suggest": { + "ext-imagick": "Allows the generation of PNG QrCodes.", + "illuminate/support": "Allows for use within Laravel." + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "SimpleSoftwareIO\\QrCode\\QrCodeServiceProvider" + ], + "aliases": { + "QrCode": "SimpleSoftwareIO\\QrCode\\Facades\\QrCode" + } + } + }, + "autoload": { + "psr-4": { + "SimpleSoftwareIO\\QrCode\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Simple Software LLC", + "email": "support@simplesoftware.io" + } + ], + "description": "Simple QrCode is a QR code generator made for Laravel.", + "homepage": "https://www.simplesoftware.io/#/docs/simple-qrcode", + "keywords": [ + "Simple", + "generator", + "laravel", + "qrcode", + "wrapper" + ], + "support": { + "issues": "https://github.com/SimpleSoftwareIO/simple-qrcode/issues", + "source": "https://github.com/SimpleSoftwareIO/simple-qrcode/tree/4.2.0" + }, + "time": "2021-02-08T20:43:55+00:00" + }, { "name": "spatie/eloquent-sortable", "version": "4.0.0", diff --git a/config/settings.php b/config/settings.php index 63f32e2d..8f9d1ca7 100644 --- a/config/settings.php +++ b/config/settings.php @@ -43,6 +43,9 @@ return [ 'merchant_push_app_secret'=>'', 'merchant_push_master_secret'=>'', + //邀请路径 + 'invite_uri'=>'', + //app配置 'user_center_is_open'=>true, diff --git a/database/migrations/2021_12_22_132842_create_share_bgs_table.php b/database/migrations/2021_12_22_132842_create_share_bgs_table.php new file mode 100644 index 00000000..026c96ef --- /dev/null +++ b/database/migrations/2021_12_22_132842_create_share_bgs_table.php @@ -0,0 +1,38 @@ +id(); + $table->string('image')->comment('背景图'); + $table->unsignedInteger('x')->comment('起始点:x'); + $table->unsignedInteger('y')->comment('起始点:y'); + $table->unsignedInteger('size')->comment('二维码大小'); + $table->unsignedTinyInteger('is_use')->default(0)->comment('是否启用'); + $table->unsignedInteger('sort')->default(0)->comment('排序'); + $table->string('remark')->nullable()->comment('备注'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('share_bgs'); + } +} diff --git a/database/seeders/AdminMenuSeeder.php b/database/seeders/AdminMenuSeeder.php index e73061a8..9e7e8b6a 100644 --- a/database/seeders/AdminMenuSeeder.php +++ b/database/seeders/AdminMenuSeeder.php @@ -78,7 +78,7 @@ class AdminMenuSeeder extends Seeder [ 'title' => 'App版本管理', 'icon' => '', - 'uri' => 'app_versions', + 'uri' => 'app-versions', ], ], ], @@ -122,6 +122,11 @@ class AdminMenuSeeder extends Seeder 'icon' => '', 'uri' => 'product-buynotes', ], + [ + 'title' => '分享管理', + 'icon' => '', + 'uri' => 'share-bgs', + ], ], ], [ diff --git a/database/seeders/AdminPermissionSeeder.php b/database/seeders/AdminPermissionSeeder.php index 69972c58..b59946db 100644 --- a/database/seeders/AdminPermissionSeeder.php +++ b/database/seeders/AdminPermissionSeeder.php @@ -214,6 +214,10 @@ class AdminPermissionSeeder extends Seeder 'name' =>'App版本管理', 'curd' => ['index', 'create', 'store', 'edit', 'update', 'destroy'], ], + 'share_bgs'=>[ + 'name'=>'分享背景', + 'curd' => ['index', 'create', 'store', 'edit', 'update', 'destroy'], + ], ]; try { DB::begintransaction(); diff --git a/dcat_admin_ide_helper.php b/dcat_admin_ide_helper.php index 8ed25aba..414800f8 100644 --- a/dcat_admin_ide_helper.php +++ b/dcat_admin_ide_helper.php @@ -11,73 +11,74 @@ 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 user_id - * @property Grid\Column|Collection zone_id - * @property Grid\Column|Collection consignee - * @property Grid\Column|Collection telephone - * @property Grid\Column|Collection zone * @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 type * @property Grid\Column|Collection version - * @property Grid\Column|Collection detail * @property Grid\Column|Collection is_enabled - * @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 extension - * @property Grid\Column|Collection permission_id + * @property Grid\Column|Collection icon + * @property Grid\Column|Collection order + * @property Grid\Column|Collection parent_id + * @property Grid\Column|Collection uri * @property Grid\Column|Collection menu_id - * @property Grid\Column|Collection slug + * @property Grid\Column|Collection permission_id * @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 username - * @property Grid\Column|Collection password * @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 address_id * @property Grid\Column|Collection image - * @property Grid\Column|Collection sort - * @property Grid\Column|Collection jump_type * @property Grid\Column|Collection jump_link + * @property Grid\Column|Collection jump_type + * @property Grid\Column|Collection sort * @property Grid\Column|Collection after_sale_id * @property Grid\Column|Collection desc * @property Grid\Column|Collection images - * @property Grid\Column|Collection order_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 num + * @property Grid\Column|Collection order_id + * @property Grid\Column|Collection order_product_id * @property Grid\Column|Collection remarks + * @property Grid\Column|Collection sn + * @property Grid\Column|Collection state * @property Grid\Column|Collection tracking_number - * @property Grid\Column|Collection v * @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 is_recommend + * @property Grid\Column|Collection v * @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 category_id * @property Grid\Column|Collection author_name - * @property Grid\Column|Collection subtitle - * @property Grid\Column|Collection cover + * @property Grid\Column|Collection category_id * @property Grid\Column|Collection content - * @property Grid\Column|Collection points + * @property Grid\Column|Collection cover * @property Grid\Column|Collection likes - * @property Grid\Column|Collection media_type * @property Grid\Column|Collection media_content + * @property Grid\Column|Collection media_type + * @property Grid\Column|Collection points + * @property Grid\Column|Collection subtitle * @property Grid\Column|Collection continue_click_times * @property Grid\Column|Collection last_click_at * @property Grid\Column|Collection coupon_id @@ -85,170 +86,184 @@ 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 use_day - * @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 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 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 * @property Grid\Column|Collection ext + * @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 consignee_address + * @property Grid\Column|Collection is_failed + * @property Grid\Column|Collection last_news + * @property Grid\Column|Collection shipping_code * @property Grid\Column|Collection shipping_company * @property Grid\Column|Collection shipping_number - * @property Grid\Column|Collection checked_at - * @property Grid\Column|Collection shipping_code - * @property Grid\Column|Collection is_failed - * @property Grid\Column|Collection spu_id + * @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 sell_price * @property Grid\Column|Collection sku_id * @property Grid\Column|Collection specs - * @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 spu_id * @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 vip_discount_amount + * @property Grid\Column|Collection vip_price + * @property Grid\Column|Collection weight * @property Grid\Column|Collection max - * @property Grid\Column|Collection user_coupon_id - * @property Grid\Column|Collection shipping_fee - * @property Grid\Column|Collection products_total_amount + * @property Grid\Column|Collection failed_reason + * @property Grid\Column|Collection reason + * @property Grid\Column|Collection completed_at * @property Grid\Column|Collection note - * @property Grid\Column|Collection remark + * @property Grid\Column|Collection pay_at * @property Grid\Column|Collection pay_sn * @property Grid\Column|Collection pay_way - * @property Grid\Column|Collection pay_at - * @property Grid\Column|Collection completed_at + * @property Grid\Column|Collection products_total_amount + * @property Grid\Column|Collection remark + * @property Grid\Column|Collection shipping_fee * @property Grid\Column|Collection shipping_state - * @property Grid\Column|Collection tokenable_type - * @property Grid\Column|Collection tokenable_id - * @property Grid\Column|Collection token + * @property Grid\Column|Collection user_coupon_id * @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 * @property Grid\Column|Collection attrs * @property Grid\Column|Collection part_id * @property Grid\Column|Collection applicant_id * @property Grid\Column|Collection reviewer_id - * @property Grid\Column|Collection market_price - * @property Grid\Column|Collection cost_price - * @property Grid\Column|Collection media - * @property Grid\Column|Collection sales - * @property Grid\Column|Collection release_at - * @property Grid\Column|Collection verify_state * @property Grid\Column|Collection buynote_id + * @property Grid\Column|Collection cost_price + * @property Grid\Column|Collection market_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 verify_state * @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 rule_id * @property Grid\Column|Collection template_id - * @property Grid\Column|Collection phone - * @property Grid\Column|Collection is_use * @property Grid\Column|Collection expires_at - * @property Grid\Column|Collection coupon_name - * @property Grid\Column|Collection coupon_type - * @property Grid\Column|Collection coupon_threshold + * @property Grid\Column|Collection phone + * @property Grid\Column|Collection m_cid + * @property Grid\Column|Collection u_cid * @property Grid\Column|Collection coupon_amount + * @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 inviter_id * @property Grid\Column|Collection nickname - * @property Grid\Column|Collection gender - * @property Grid\Column|Collection birthday - * @property Grid\Column|Collection vip_id * @property Grid\Column|Collection growth_value - * @property Grid\Column|Collection phone_verified_at + * @property Grid\Column|Collection vip_id * @property Grid\Column|Collection email * @property Grid\Column|Collection email_verified_at - * @property Grid\Column|Collection last_login_ip * @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 register_ip * @property Grid\Column|Collection status_remark * + * @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 user_id(string $label = null) - * @method Grid\Column|Collection zone_id(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 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 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 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 extension(string $label = null) - * @method Grid\Column|Collection permission_id(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 uri(string $label = null) * @method Grid\Column|Collection menu_id(string $label = null) - * @method Grid\Column|Collection slug(string $label = null) + * @method Grid\Column|Collection permission_id(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 username(string $label = null) - * @method Grid\Column|Collection password(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 address_id(string $label = null) * @method Grid\Column|Collection image(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 jump_type(string $label = null) + * @method Grid\Column|Collection sort(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 order_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 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 remarks(string $label = null) + * @method Grid\Column|Collection sn(string $label = null) + * @method Grid\Column|Collection state(string $label = null) * @method Grid\Column|Collection tracking_number(string $label = null) - * @method Grid\Column|Collection v(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 is_recommend(string $label = null) + * @method Grid\Column|Collection v(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 category_id(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 category_id(string $label = null) * @method Grid\Column|Collection content(string $label = null) - * @method Grid\Column|Collection points(string $label = null) + * @method Grid\Column|Collection cover(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 media_type(string $label = null) + * @method Grid\Column|Collection points(string $label = null) + * @method Grid\Column|Collection subtitle(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) @@ -256,100 +271,113 @@ 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 use_day(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 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 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) * @method Grid\Column|Collection ext(string $label = null) + * @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 consignee_address(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 shipping_company(string $label = null) * @method Grid\Column|Collection shipping_number(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 spu_id(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 sell_price(string $label = null) * @method Grid\Column|Collection sku_id(string $label = null) * @method Grid\Column|Collection specs(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 spu_id(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 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 max(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 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 note(string $label = null) - * @method Grid\Column|Collection remark(string $label = null) + * @method Grid\Column|Collection pay_at(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 pay_at(string $label = null) - * @method Grid\Column|Collection completed_at(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 shipping_state(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 user_coupon_id(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) * @method Grid\Column|Collection attrs(string $label = null) * @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 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 sales(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 cost_price(string $label = null) + * @method Grid\Column|Collection market_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 verify_state(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 rule_id(string $label = null) * @method Grid\Column|Collection template_id(string $label = null) - * @method Grid\Column|Collection phone(string $label = null) - * @method Grid\Column|Collection is_use(string $label = null) * @method Grid\Column|Collection expires_at(string $label = null) - * @method Grid\Column|Collection coupon_name(string $label = null) - * @method Grid\Column|Collection coupon_type(string $label = null) - * @method Grid\Column|Collection coupon_threshold(string $label = null) + * @method Grid\Column|Collection phone(string $label = null) + * @method Grid\Column|Collection m_cid(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 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 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 vip_id(string $label = null) * @method Grid\Column|Collection growth_value(string $label = null) - * @method Grid\Column|Collection phone_verified_at(string $label = null) + * @method Grid\Column|Collection vip_id(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_ip(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 register_ip(string $label = null) * @method Grid\Column|Collection status_remark(string $label = null) */ @@ -358,73 +386,74 @@ 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 user_id - * @property Show\Field|Collection zone_id - * @property Show\Field|Collection consignee - * @property Show\Field|Collection telephone - * @property Show\Field|Collection zone * @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 type * @property Show\Field|Collection version - * @property Show\Field|Collection detail * @property Show\Field|Collection is_enabled - * @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 extension - * @property Show\Field|Collection permission_id + * @property Show\Field|Collection icon + * @property Show\Field|Collection order + * @property Show\Field|Collection parent_id + * @property Show\Field|Collection uri * @property Show\Field|Collection menu_id - * @property Show\Field|Collection slug + * @property Show\Field|Collection permission_id * @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 username - * @property Show\Field|Collection password * @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 address_id * @property Show\Field|Collection image - * @property Show\Field|Collection sort - * @property Show\Field|Collection jump_type * @property Show\Field|Collection jump_link + * @property Show\Field|Collection jump_type + * @property Show\Field|Collection sort * @property Show\Field|Collection after_sale_id * @property Show\Field|Collection desc * @property Show\Field|Collection images - * @property Show\Field|Collection order_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 num + * @property Show\Field|Collection order_id + * @property Show\Field|Collection order_product_id * @property Show\Field|Collection remarks + * @property Show\Field|Collection sn + * @property Show\Field|Collection state * @property Show\Field|Collection tracking_number - * @property Show\Field|Collection v * @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 is_recommend + * @property Show\Field|Collection v * @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 category_id * @property Show\Field|Collection author_name - * @property Show\Field|Collection subtitle - * @property Show\Field|Collection cover + * @property Show\Field|Collection category_id * @property Show\Field|Collection content - * @property Show\Field|Collection points + * @property Show\Field|Collection cover * @property Show\Field|Collection likes - * @property Show\Field|Collection media_type * @property Show\Field|Collection media_content + * @property Show\Field|Collection media_type + * @property Show\Field|Collection points + * @property Show\Field|Collection subtitle * @property Show\Field|Collection continue_click_times * @property Show\Field|Collection last_click_at * @property Show\Field|Collection coupon_id @@ -432,170 +461,184 @@ 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 use_day - * @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 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 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 * @property Show\Field|Collection ext + * @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 consignee_address + * @property Show\Field|Collection is_failed + * @property Show\Field|Collection last_news + * @property Show\Field|Collection shipping_code * @property Show\Field|Collection shipping_company * @property Show\Field|Collection shipping_number - * @property Show\Field|Collection checked_at - * @property Show\Field|Collection shipping_code - * @property Show\Field|Collection is_failed - * @property Show\Field|Collection spu_id + * @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 sell_price * @property Show\Field|Collection sku_id * @property Show\Field|Collection specs - * @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 spu_id * @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 vip_discount_amount + * @property Show\Field|Collection vip_price + * @property Show\Field|Collection weight * @property Show\Field|Collection max - * @property Show\Field|Collection user_coupon_id - * @property Show\Field|Collection shipping_fee - * @property Show\Field|Collection products_total_amount + * @property Show\Field|Collection failed_reason + * @property Show\Field|Collection reason + * @property Show\Field|Collection completed_at * @property Show\Field|Collection note - * @property Show\Field|Collection remark + * @property Show\Field|Collection pay_at * @property Show\Field|Collection pay_sn * @property Show\Field|Collection pay_way - * @property Show\Field|Collection pay_at - * @property Show\Field|Collection completed_at + * @property Show\Field|Collection products_total_amount + * @property Show\Field|Collection remark + * @property Show\Field|Collection shipping_fee * @property Show\Field|Collection shipping_state - * @property Show\Field|Collection tokenable_type - * @property Show\Field|Collection tokenable_id - * @property Show\Field|Collection token + * @property Show\Field|Collection user_coupon_id * @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 * @property Show\Field|Collection attrs * @property Show\Field|Collection part_id * @property Show\Field|Collection applicant_id * @property Show\Field|Collection reviewer_id - * @property Show\Field|Collection market_price - * @property Show\Field|Collection cost_price - * @property Show\Field|Collection media - * @property Show\Field|Collection sales - * @property Show\Field|Collection release_at - * @property Show\Field|Collection verify_state * @property Show\Field|Collection buynote_id + * @property Show\Field|Collection cost_price + * @property Show\Field|Collection market_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 verify_state * @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 rule_id * @property Show\Field|Collection template_id - * @property Show\Field|Collection phone - * @property Show\Field|Collection is_use * @property Show\Field|Collection expires_at - * @property Show\Field|Collection coupon_name - * @property Show\Field|Collection coupon_type - * @property Show\Field|Collection coupon_threshold + * @property Show\Field|Collection phone + * @property Show\Field|Collection m_cid + * @property Show\Field|Collection u_cid * @property Show\Field|Collection coupon_amount + * @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 inviter_id * @property Show\Field|Collection nickname - * @property Show\Field|Collection gender - * @property Show\Field|Collection birthday - * @property Show\Field|Collection vip_id * @property Show\Field|Collection growth_value - * @property Show\Field|Collection phone_verified_at + * @property Show\Field|Collection vip_id * @property Show\Field|Collection email * @property Show\Field|Collection email_verified_at - * @property Show\Field|Collection last_login_ip * @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 register_ip * @property Show\Field|Collection status_remark * + * @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 user_id(string $label = null) - * @method Show\Field|Collection zone_id(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 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 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 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 extension(string $label = null) - * @method Show\Field|Collection permission_id(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 uri(string $label = null) * @method Show\Field|Collection menu_id(string $label = null) - * @method Show\Field|Collection slug(string $label = null) + * @method Show\Field|Collection permission_id(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 username(string $label = null) - * @method Show\Field|Collection password(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 address_id(string $label = null) * @method Show\Field|Collection image(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 jump_type(string $label = null) + * @method Show\Field|Collection sort(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 order_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 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 remarks(string $label = null) + * @method Show\Field|Collection sn(string $label = null) + * @method Show\Field|Collection state(string $label = null) * @method Show\Field|Collection tracking_number(string $label = null) - * @method Show\Field|Collection v(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 is_recommend(string $label = null) + * @method Show\Field|Collection v(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 category_id(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 category_id(string $label = null) * @method Show\Field|Collection content(string $label = null) - * @method Show\Field|Collection points(string $label = null) + * @method Show\Field|Collection cover(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 media_type(string $label = null) + * @method Show\Field|Collection points(string $label = null) + * @method Show\Field|Collection subtitle(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) @@ -603,100 +646,113 @@ 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 use_day(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 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 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) * @method Show\Field|Collection ext(string $label = null) + * @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 consignee_address(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 shipping_company(string $label = null) * @method Show\Field|Collection shipping_number(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 spu_id(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 sell_price(string $label = null) * @method Show\Field|Collection sku_id(string $label = null) * @method Show\Field|Collection specs(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 spu_id(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 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 max(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 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 note(string $label = null) - * @method Show\Field|Collection remark(string $label = null) + * @method Show\Field|Collection pay_at(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 pay_at(string $label = null) - * @method Show\Field|Collection completed_at(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 shipping_state(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 user_coupon_id(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) * @method Show\Field|Collection attrs(string $label = null) * @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 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 sales(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 cost_price(string $label = null) + * @method Show\Field|Collection market_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 verify_state(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 rule_id(string $label = null) * @method Show\Field|Collection template_id(string $label = null) - * @method Show\Field|Collection phone(string $label = null) - * @method Show\Field|Collection is_use(string $label = null) * @method Show\Field|Collection expires_at(string $label = null) - * @method Show\Field|Collection coupon_name(string $label = null) - * @method Show\Field|Collection coupon_type(string $label = null) - * @method Show\Field|Collection coupon_threshold(string $label = null) + * @method Show\Field|Collection phone(string $label = null) + * @method Show\Field|Collection m_cid(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 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 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 vip_id(string $label = null) * @method Show\Field|Collection growth_value(string $label = null) - * @method Show\Field|Collection phone_verified_at(string $label = null) + * @method Show\Field|Collection vip_id(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_ip(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 register_ip(string $label = null) * @method Show\Field|Collection status_remark(string $label = null) */ @@ -724,7 +780,7 @@ namespace Dcat\Admin\Grid { namespace Dcat\Admin\Show { /** - + * @method $this showLabel(...$params) */ class Field {} } diff --git a/resources/lang/zh_CN/share-bg.php b/resources/lang/zh_CN/share-bg.php new file mode 100644 index 00000000..6baf0894 --- /dev/null +++ b/resources/lang/zh_CN/share-bg.php @@ -0,0 +1,19 @@ + [ + 'ShareBg' => '分享背景', + 'share-bg' => '分享背景', + ], + 'fields' => [ + 'image' => '背景图', + 'x' => '起始点:x', + 'y' => '起始点:y', + 'size' => '二维码大小', + 'is_use' => '是否启用', + 'sort' => '排序', + 'remark' => '备注', + ], + 'options' => [ + ], +];