diff --git a/app/Admin/Controllers/MessageController.php b/app/Admin/Controllers/MessageController.php new file mode 100644 index 00000000..9334db8f --- /dev/null +++ b/app/Admin/Controllers/MessageController.php @@ -0,0 +1,101 @@ +model()->where('user_id', 0); + $grid->column('id')->sortable(); + $grid->column('title'); + $grid->column('content'); + $grid->column('jump_type')->using([ + '0'=>__('admin_message.ad.jump_type.radio.0'), + '1'=>__('admin_message.ad.jump_type.radio.1'), + '2'=>__('admin_message.ad.jump_type.radio.2'), + ])->label(); + $grid->column('jump_link'); + $grid->column('created_at')->sortable(); + // $grid->column('updated_at'); + /** 操作 **/ + //新增 + if (Admin::user()->can('dcat.admin.messages.create')) { + $grid->disableCreateButton(false); + $grid->enableDialogCreate(); + } + //修改 + $grid->showQuickEditButton(Admin::user()->can('dcat.admin.messages.edit')); + //删除以及自定义操作 + $grid->actions(function (Grid\Displayers\Actions $actions) { + $actions->disableDelete(Admin::user()->cannot('dcat.admin.messages.destroy')); + }); + $grid->filter(function (Grid\Filter $filter) { + // $filter->equal('id'); + $filter->panel(); + $filter->like('title'); + }); + }); + } + + /** + * Make a show builder. + * + * @param mixed $id + * + * @return Show + */ + protected function detail($id) + { + return Show::make($id, new Message(), function (Show $show) { + $show->field('id'); + $show->field('title'); + $show->field('content'); + $show->field('user_id'); + $show->field('ext'); + $show->field('jump_type'); + $show->field('jump_link'); + $show->field('created_at'); + $show->field('updated_at'); + }); + } + + /** + * Make a form builder. + * + * @return Form + */ + protected function form() + { + return Form::make(new Message(), function (Form $form) { + $form->display('id'); + $form->text('title'); + $form->textarea('content'); + // $form->text('user_id'); + // $form->text('ext'); + $form->radio('jump_type')->options([ + '0'=>__('admin_message.ad.jump_type.radio.0'), + '1'=>__('admin_message.ad.jump_type.radio.1'), + '2'=>__('admin_message.ad.jump_type.radio.2'), + ])->default(0); + $form->text('jump_link'); + + $form->display('created_at'); + $form->display('updated_at'); + }); + } +} diff --git a/app/Admin/Repositories/Message.php b/app/Admin/Repositories/Message.php new file mode 100644 index 00000000..0d0b4b87 --- /dev/null +++ b/app/Admin/Repositories/Message.php @@ -0,0 +1,16 @@ +resource('vips', 'VipController'); + $router->resource('messages', 'MessageController')->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/Endpoint/Api/Http/Controllers/MessageController.php b/app/Endpoint/Api/Http/Controllers/MessageController.php new file mode 100644 index 00000000..9414b878 --- /dev/null +++ b/app/Endpoint/Api/Http/Controllers/MessageController.php @@ -0,0 +1,97 @@ +user())->with(['logs'=>function ($q) use ($request) { + return $q->where('user_id', '=', $request->user()->id); + }])->simplePaginate(PaginatorHelper::resolvePerPage('per_page', 20, 50)); + return MessageResource::collection($list); + } + + /** + * 确认消息 + * + * @param Request $request + * @return void + */ + public function read($id, Request $request) + { + $message = Message::userMessages($request->user())->findOrFail($id); + if (MessageReadLog::where('message_id', $message->id)->exists()) { + throw new BizException('该消息已确认,无需重复操作'); + } + + MessageReadLog::create([ + 'user_id' => $request->user()->id, + 'message_id' => $message->id, + ]); + + return response()->noContent(); + } + + /** + * 批量已读 + * 只有系统消息才能批量已读 + * + * @param Request $request + * @return void + */ + public function batchRead(Request $request) + { + $ids = Message::with('logs')->where('user_id', 0)->whereDoesntHave('logs', function ($q) use ($request) { + return $q->where('user_id', '=', $request->user()->id); + })->pluck('id')->toArray(); + + if (count($ids) > 0) { + try { + DB::beginTransaction(); + MessageReadLog::insert(array_map(function ($value) use ($request) { + return [ + 'user_id' => $request->user()->id, + 'message_id' => $value, + 'created_at' => now(), + 'updated_at' => now(), + ]; + }, $ids)); + DB::commit(); + } catch (Throwable $th) { + DB::rollBack(); + report($th); + throw new BizException('操作失败,请稍后再试'); + } + } + + return response()->noContent(); + } + + /** + * 待读条数 + * + * @param Request $request + * @return void + */ + public function waitReadNum(Request $request) + { + // $num = 0; + $num = Message::userMessages($request->user())->with('logs') + ->whereDoesntHave('logs', function ($q) use ($request) { + return $q->where('user_id', '=', $request->user()->id); + })->count(); + return response()->json([ + 'num' => $num, + ]); + } +} diff --git a/app/Endpoint/Api/Http/Resources/MessageResource.php b/app/Endpoint/Api/Http/Resources/MessageResource.php new file mode 100644 index 00000000..51ee9bef --- /dev/null +++ b/app/Endpoint/Api/Http/Resources/MessageResource.php @@ -0,0 +1,28 @@ + $this->id, + 'title' => $this->title, + 'content' => $this->content, + 'ext' => $this->ext, + 'jump_type' => $this->jump_type, + 'jump_link' => (string) $this->jump_link, + 'has_read' => $this->whenLoaded('logs', $this->logs->count()>0), + 'created_at'=> $this->created_at->toDateTimeString(), + ]; + } +} diff --git a/app/Endpoint/Api/routes.php b/app/Endpoint/Api/routes.php index 492a8c78..5dc016fc 100644 --- a/app/Endpoint/Api/routes.php +++ b/app/Endpoint/Api/routes.php @@ -9,6 +9,7 @@ use App\Endpoint\Api\Http\Controllers\Auth\LogoutController; use App\Endpoint\Api\Http\Controllers\Auth\RegisterController; use App\Endpoint\Api\Http\Controllers\Auth\ResetPasswordController; use App\Endpoint\Api\Http\Controllers\CaptchaController; +use App\Endpoint\Api\Http\Controllers\MessageController; use App\Endpoint\Api\Http\Controllers\Product\HotController; use App\Endpoint\Api\Http\Controllers\Product\ProductCategoryController; use App\Endpoint\Api\Http\Controllers\Product\ProductSkuController; @@ -80,5 +81,11 @@ Route::group([ Route::put('after-sales/{after_sales}', [AfterSaleController::class, 'update']); Route::put('after-sales/{after_sales}/agree', [AfterSaleController::class, 'agree']); Route::delete('after-sales/{after_sales}', [AfterSaleController::class, 'cancel']); + + //消息 + Route::get('messages', [MessageController::class, 'index']); + Route::get('messages/wait-read-num', [MessageController::class, 'waitReadNum']); + Route::post('messages/read/{message}', [MessageController::class, 'read']); + Route::post('messages/batch-read', [MessageController::class, 'batchRead']); }); }); diff --git a/app/Models/Message.php b/app/Models/Message.php new file mode 100644 index 00000000..8be4760b --- /dev/null +++ b/app/Models/Message.php @@ -0,0 +1,54 @@ +JsonArray::class, + ]; + + protected $fillable = [ + 'title', 'content', 'type', 'ext', 'jump_type', 'jump_link', + ]; + + public function logs() + { + return $this->hasMany(MessageReadLog::class); + } + + public static function userMessages(User $user) + { + return self::where('user_id', $user->id)->orWhere('user_id', 0); + } + + public static function createOrderMessage(Order $order) + { + self::create([ + 'type' => 1, + 'title' => '订单编号:'.$order->sn, + 'user_id' => $order->user_id, + 'content' => implode(',', $order->products()->pluck('name')->toArray()).'|共'.$order->products()->count().'件商品,合计'.bcdiv($order->total_amount, 100, 2).'元', + 'ext' => [ + 'consignee_name' => $order->consignee_name, + 'consignee_telephone' => $order->consignee_telephone, + 'consignee_address' => $order->consignee_zone.$order->consignee_address, + ], + 'jump_type'=> self::JUMP_MIINE, + 'jump_link'=> '/pages/order_details/index?id='.$order->id, + ]); + } +} diff --git a/app/Models/MessageReadLog.php b/app/Models/MessageReadLog.php new file mode 100644 index 00000000..60003b84 --- /dev/null +++ b/app/Models/MessageReadLog.php @@ -0,0 +1,11 @@ +id(); + $table->string('title')->comment('消息标题'); + $table->text('content')->comment('消息内容'); + $table->unsignedTinyInteger('type')->default(0)->comment('消息类型:0公告,1订单确认'); + $table->unsignedBigInteger('user_id')->default(0)->comment('指定用户'); + $table->json('ext')->nullable()->comment('消息扩展内容'); + $table->tinyInteger('jump_type')->default(0)->comment('跳转类型:0不跳转,1跳转应用内页,2H5链接'); + $table->string('jump_link')->nullable()->comment('跳转地址'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('messages'); + } +} diff --git a/database/migrations/2021_12_13_115744_create_message_read_logs_table.php b/database/migrations/2021_12_13_115744_create_message_read_logs_table.php new file mode 100644 index 00000000..19afc6f4 --- /dev/null +++ b/database/migrations/2021_12_13_115744_create_message_read_logs_table.php @@ -0,0 +1,35 @@ +id(); + $table->unsignedBigInteger('message_id')->comment('消息ID'); + $table->unsignedBigInteger('user_id')->comment('用户ID'); + $table->timestamps(); + + $table->index(['message_id', 'user_id']); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('message_read_logs'); + } +} diff --git a/database/seeders/AdminMenuSeeder.php b/database/seeders/AdminMenuSeeder.php index 1d8e80b9..be784748 100644 --- a/database/seeders/AdminMenuSeeder.php +++ b/database/seeders/AdminMenuSeeder.php @@ -141,6 +141,18 @@ class AdminMenuSeeder extends Seeder ], ], ], + [ + 'title' => '售后管理', + 'icon' => 'fa fa-cubes', + 'uri'=>'', + 'children'=>[ + [ + 'title' =>'售后审核', + 'icon' => '', + 'uri' => 'after-sales', + ], + ], + ], [ 'title' => '系统管理', 'icon' => 'feather icon-settings', diff --git a/dcat_admin_ide_helper.php b/dcat_admin_ide_helper.php index b9614b22..9fd69833 100644 --- a/dcat_admin_ide_helper.php +++ b/dcat_admin_ide_helper.php @@ -11,299 +11,299 @@ 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 sort + * @property Grid\Column|Collection jump_type + * @property Grid\Column|Collection jump_link * @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 remarks * @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 remarks * @property Grid\Column|Collection tracking_number + * @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 author_name * @property Grid\Column|Collection category_id - * @property Grid\Column|Collection content - * @property Grid\Column|Collection cover + * @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 coupon_id * @property Grid\Column|Collection ranges * @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 after_sale_deadline - * @property Grid\Column|Collection discount_amount - * @property Grid\Column|Collection is_comment - * @property Grid\Column|Collection quantity - * @property Grid\Column|Collection reduced_amount - * @property Grid\Column|Collection sell_price + * @property Grid\Column|Collection message_id + * @property Grid\Column|Collection ext + * @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_amount - * @property Grid\Column|Collection vip_price + * @property Grid\Column|Collection quantity * @property Grid\Column|Collection weight - * @property Grid\Column|Collection completed_at - * @property Grid\Column|Collection consignee_address + * @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 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 remark + * @property Grid\Column|Collection pay_sn + * @property Grid\Column|Collection pay_way + * @property Grid\Column|Collection pay_at * @property Grid\Column|Collection consignee_name * @property Grid\Column|Collection consignee_telephone * @property Grid\Column|Collection consignee_zone - * @property Grid\Column|Collection note - * @property Grid\Column|Collection pay_at - * @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 user_coupon_id + * @property Grid\Column|Collection consignee_address + * @property Grid\Column|Collection completed_at + * @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 gift_sku_id * @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 buynote_id - * @property Grid\Column|Collection cost_price * @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 feature_id * @property Grid\Column|Collection items * @property Grid\Column|Collection view_date * @property Grid\Column|Collection rule_id - * @property Grid\Column|Collection info * @property Grid\Column|Collection template_id - * @property Grid\Column|Collection code - * @property Grid\Column|Collection expires_at - * @property Grid\Column|Collection is_use + * @property Grid\Column|Collection info * @property Grid\Column|Collection phone - * @property Grid\Column|Collection coupon_amount + * @property Grid\Column|Collection code + * @property Grid\Column|Collection is_use + * @property Grid\Column|Collection expires_at * @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 growth_value + * @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 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 * - * @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 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 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 remarks(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 remarks(string $label = null) * @method Grid\Column|Collection tracking_number(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 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 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 coupon_id(string $label = null) * @method Grid\Column|Collection ranges(string $label = null) * @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 after_sale_deadline(string $label = null) - * @method Grid\Column|Collection discount_amount(string $label = null) - * @method Grid\Column|Collection is_comment(string $label = null) - * @method Grid\Column|Collection quantity(string $label = null) - * @method Grid\Column|Collection reduced_amount(string $label = null) - * @method Grid\Column|Collection sell_price(string $label = null) + * @method Grid\Column|Collection message_id(string $label = null) + * @method Grid\Column|Collection ext(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_amount(string $label = null) - * @method Grid\Column|Collection vip_price(string $label = null) + * @method Grid\Column|Collection quantity(string $label = null) * @method Grid\Column|Collection weight(string $label = null) - * @method Grid\Column|Collection completed_at(string $label = null) - * @method Grid\Column|Collection consignee_address(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 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 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 pay_at(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 note(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 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 user_coupon_id(string $label = null) + * @method Grid\Column|Collection consignee_address(string $label = null) + * @method Grid\Column|Collection completed_at(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 gift_sku_id(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 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 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 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 rule_id(string $label = null) - * @method Grid\Column|Collection info(string $label = null) * @method Grid\Column|Collection template_id(string $label = null) - * @method Grid\Column|Collection code(string $label = null) - * @method Grid\Column|Collection expires_at(string $label = null) - * @method Grid\Column|Collection is_use(string $label = null) + * @method Grid\Column|Collection info(string $label = null) * @method Grid\Column|Collection phone(string $label = null) - * @method Grid\Column|Collection coupon_amount(string $label = null) + * @method Grid\Column|Collection code(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_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 growth_value(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 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) */ @@ -312,299 +312,299 @@ 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 sort + * @property Show\Field|Collection jump_type + * @property Show\Field|Collection jump_link * @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 remarks * @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 remarks * @property Show\Field|Collection tracking_number + * @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 author_name * @property Show\Field|Collection category_id - * @property Show\Field|Collection content - * @property Show\Field|Collection cover + * @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 coupon_id * @property Show\Field|Collection ranges * @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 after_sale_deadline - * @property Show\Field|Collection discount_amount - * @property Show\Field|Collection is_comment - * @property Show\Field|Collection quantity - * @property Show\Field|Collection reduced_amount - * @property Show\Field|Collection sell_price + * @property Show\Field|Collection message_id + * @property Show\Field|Collection ext + * @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_amount - * @property Show\Field|Collection vip_price + * @property Show\Field|Collection quantity * @property Show\Field|Collection weight - * @property Show\Field|Collection completed_at - * @property Show\Field|Collection consignee_address + * @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 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 remark + * @property Show\Field|Collection pay_sn + * @property Show\Field|Collection pay_way + * @property Show\Field|Collection pay_at * @property Show\Field|Collection consignee_name * @property Show\Field|Collection consignee_telephone * @property Show\Field|Collection consignee_zone - * @property Show\Field|Collection note - * @property Show\Field|Collection pay_at - * @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 user_coupon_id + * @property Show\Field|Collection consignee_address + * @property Show\Field|Collection completed_at + * @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 gift_sku_id * @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 buynote_id - * @property Show\Field|Collection cost_price * @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 feature_id * @property Show\Field|Collection items * @property Show\Field|Collection view_date * @property Show\Field|Collection rule_id - * @property Show\Field|Collection info * @property Show\Field|Collection template_id - * @property Show\Field|Collection code - * @property Show\Field|Collection expires_at - * @property Show\Field|Collection is_use + * @property Show\Field|Collection info * @property Show\Field|Collection phone - * @property Show\Field|Collection coupon_amount + * @property Show\Field|Collection code + * @property Show\Field|Collection is_use + * @property Show\Field|Collection expires_at * @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 growth_value + * @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 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 * - * @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 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 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 remarks(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 remarks(string $label = null) * @method Show\Field|Collection tracking_number(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 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 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 coupon_id(string $label = null) * @method Show\Field|Collection ranges(string $label = null) * @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 after_sale_deadline(string $label = null) - * @method Show\Field|Collection discount_amount(string $label = null) - * @method Show\Field|Collection is_comment(string $label = null) - * @method Show\Field|Collection quantity(string $label = null) - * @method Show\Field|Collection reduced_amount(string $label = null) - * @method Show\Field|Collection sell_price(string $label = null) + * @method Show\Field|Collection message_id(string $label = null) + * @method Show\Field|Collection ext(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_amount(string $label = null) - * @method Show\Field|Collection vip_price(string $label = null) + * @method Show\Field|Collection quantity(string $label = null) * @method Show\Field|Collection weight(string $label = null) - * @method Show\Field|Collection completed_at(string $label = null) - * @method Show\Field|Collection consignee_address(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 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 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 pay_at(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 note(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 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 user_coupon_id(string $label = null) + * @method Show\Field|Collection consignee_address(string $label = null) + * @method Show\Field|Collection completed_at(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 gift_sku_id(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 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 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 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 rule_id(string $label = null) - * @method Show\Field|Collection info(string $label = null) * @method Show\Field|Collection template_id(string $label = null) - * @method Show\Field|Collection code(string $label = null) - * @method Show\Field|Collection expires_at(string $label = null) - * @method Show\Field|Collection is_use(string $label = null) + * @method Show\Field|Collection info(string $label = null) * @method Show\Field|Collection phone(string $label = null) - * @method Show\Field|Collection coupon_amount(string $label = null) + * @method Show\Field|Collection code(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_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 growth_value(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 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) */ diff --git a/resources/lang/zh_CN/message.php b/resources/lang/zh_CN/message.php new file mode 100644 index 00000000..23d93d82 --- /dev/null +++ b/resources/lang/zh_CN/message.php @@ -0,0 +1,18 @@ + [ + 'Message' => '公告消息', + 'messages' => '公告消息', + ], + 'fields' => [ + 'title' => '消息标题', + 'content' => '消息内容', + 'user_id' => '指定用户', + 'ext' => '扩展内容', + 'jump_type' => '跳转类型', + 'jump_link' => '跳转地址', + ], + 'options' => [ + ], +];