Browse Source

增加产品导出日志

master
李可松 4 years ago
parent
commit
d59f87a63c
  1. 16
      app/Admin/Repositories/ProductExportLog.php
  2. 78
      app/AdminSupplier/Controllers/ProductExportLogController.php
  3. 1
      app/AdminSupplier/routes.php
  4. 13
      app/Models/ProductExportLog.php
  5. 212
      dcat_admin_ide_helper.php
  6. 14
      resources/lang/zh_CN/product-export-log.php

16
app/Admin/Repositories/ProductExportLog.php

@ -0,0 +1,16 @@
<?php
namespace App\Admin\Repositories;
use App\Models\ProductExportLog as Model;
use Dcat\Admin\Repositories\EloquentRepository;
class ProductExportLog extends EloquentRepository
{
/**
* Model.
*
* @var string
*/
protected $eloquentClass = Model::class;
}

78
app/AdminSupplier/Controllers/ProductExportLogController.php

@ -0,0 +1,78 @@
<?php
namespace App\AdminSupplier\Controllers;
use App\Admin\Repositories\ProductExportLog;
use Dcat\Admin\Form;
use Dcat\Admin\Grid;
use Dcat\Admin\Show;
use Dcat\Admin\Http\Controllers\AdminController;
class ProductExportLogController extends AdminController
{
/**
* Make a grid builder.
*
* @return Grid
*/
protected function grid()
{
return Grid::make(new ProductExportLog(), function (Grid $grid) {
$grid->disableActions();
$grid->disableCreateButton();
$grid->disableBatchActions();
$grid->disableRowSelector();
$grid->model()->where('supplier_id', \Admin::user()->id)->orderByDesc('id');
$grid->column('id')->sortable();
$grid->column('filename')->downloadable();
$grid->column('created_at');
$grid->filter(function (Grid\Filter $filter) {
$filter->equal('id')->width(2);
});
});
}
/**
* Make a show builder.
*
* @param mixed $id
*
* @return Show
*/
protected function detail($id)
{
return Show::make($id, new ProductExportLog(), function (Show $show) {
$show->disableDeleteButton();
$show->disableEditButton();
$show->field('id');
$show->field('filename')->file();
$show->field('created_at');
$show->field('updated_at');
});
}
/**
* Make a form builder.
*
* @return Form
*/
protected function form()
{
return Form::make(new ProductExportLog(), function (Form $form) {
$form->display('id');
$form->text('supplier_id');
$form->text('filename');
$form->display('created_at');
$form->display('updated_at');
})->saving(function (Form $form) {
return $form->response()->error('操作禁止');
})->deleting(function (Form $form) {
return $form->response()->error('操作禁止');
});
}
}

1
app/AdminSupplier/routes.php

@ -41,6 +41,7 @@ Route::group([
$router->resource('withdrawak_bank', 'WithdrawalBankController');
$router->resource('deposit_log', 'DepositLogController');
$router->resource('statement', 'StatementController');
$router->resource('product/export', 'ProductExportLogController');
//api
$router->any('send_text', 'WorkorderController@sendText');
$router->any('send_image', 'WorkorderController@sendImage');

13
app/Models/ProductExportLog.php

@ -0,0 +1,13 @@
<?php
namespace App\Models;
use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\Model;
class ProductExportLog extends Model
{
use HasDateTimeFormatter;
protected $guarded = ['id'];
}

212
dcat_admin_ide_helper.php

@ -11,7 +11,6 @@ namespace Dcat\Admin {
use Illuminate\Support\Collection;
/**
* @property Grid\Column|Collection disable
* @property Grid\Column|Collection id
* @property Grid\Column|Collection name
* @property Grid\Column|Collection type
@ -50,6 +49,7 @@ namespace Dcat\Admin {
* @property Grid\Column|Collection agent_product_id
* @property Grid\Column|Collection product_id
* @property Grid\Column|Collection product_spec_id
* @property Grid\Column|Collection date
* @property Grid\Column|Collection stock
* @property Grid\Column|Collection original_price
* @property Grid\Column|Collection price
@ -62,6 +62,7 @@ namespace Dcat\Admin {
* @property Grid\Column|Collection guide_price
* @property Grid\Column|Collection verifier
* @property Grid\Column|Collection is_rec
* @property Grid\Column|Collection diy_form_id
* @property Grid\Column|Collection pictures
* @property Grid\Column|Collection know
* @property Grid\Column|Collection content
@ -71,6 +72,13 @@ namespace Dcat\Admin {
* @property Grid\Column|Collection earnest_timeout
* @property Grid\Column|Collection is_cloud
* @property Grid\Column|Collection agent_cloud_pid
* @property Grid\Column|Collection tpl_type
* @property Grid\Column|Collection extends
* @property Grid\Column|Collection longitude
* @property Grid\Column|Collection latitude
* @property Grid\Column|Collection address
* @property Grid\Column|Collection single_deposit
* @property Grid\Column|Collection verify_mobile
* @property Grid\Column|Collection setting
* @property Grid\Column|Collection appid
* @property Grid\Column|Collection appsecret
@ -79,10 +87,14 @@ namespace Dcat\Admin {
* @property Grid\Column|Collection company_name
* @property Grid\Column|Collection credit_codes
* @property Grid\Column|Collection logo
* @property Grid\Column|Collection address
* @property Grid\Column|Collection business_license
* @property Grid\Column|Collection license
* @property Grid\Column|Collection corporate_account
* @property Grid\Column|Collection deposit_bank
* @property Grid\Column|Collection contract
* @property Grid\Column|Collection director
* @property Grid\Column|Collection contact_phone
* @property Grid\Column|Collection contact_mobile
* @property Grid\Column|Collection legal_persona_name
* @property Grid\Column|Collection legal_persona_wechat
* @property Grid\Column|Collection rate
@ -94,10 +106,13 @@ namespace Dcat\Admin {
* @property Grid\Column|Collection image
* @property Grid\Column|Collection agent_product_ids
* @property Grid\Column|Collection pid
* @property Grid\Column|Collection publish_type
* @property Grid\Column|Collection code
* @property Grid\Column|Collection sulg
* @property Grid\Column|Collection level
* @property Grid\Column|Collection parent_code
* @property Grid\Column|Collection unique_id
* @property Grid\Column|Collection site
* @property Grid\Column|Collection tag
* @property Grid\Column|Collection start_at
* @property Grid\Column|Collection end_at
@ -112,10 +127,9 @@ namespace Dcat\Admin {
* @property Grid\Column|Collection images
* @property Grid\Column|Collection demand_product_id
* @property Grid\Column|Collection demand_id
* @property Grid\Column|Collection extends
* @property Grid\Column|Collection service_persons
* @property Grid\Column|Collection diy_form_id
* @property Grid\Column|Collection required
* @property Grid\Column|Collection merchant_id
* @property Grid\Column|Collection uuid
* @property Grid\Column|Collection connection
* @property Grid\Column|Collection queue
@ -123,7 +137,6 @@ namespace Dcat\Admin {
* @property Grid\Column|Collection exception
* @property Grid\Column|Collection failed_at
* @property Grid\Column|Collection photo
* @property Grid\Column|Collection license_pic
* @property Grid\Column|Collection order_no
* @property Grid\Column|Collection industry_product_id
* @property Grid\Column|Collection industry_product_spec_id
@ -133,16 +146,21 @@ namespace Dcat\Admin {
* @property Grid\Column|Collection paid_money
* @property Grid\Column|Collection paid_at
* @property Grid\Column|Collection verify_code
* @property Grid\Column|Collection trade_deposit
* @property Grid\Column|Collection timeout
* @property Grid\Column|Collection prepay_price
* @property Grid\Column|Collection prepay_timeout
* @property Grid\Column|Collection trade_deposit
* @property Grid\Column|Collection single_price
* @property Grid\Column|Collection info
* @property Grid\Column|Collection date
* @property Grid\Column|Collection single_deposit
* @property Grid\Column|Collection audit_status
* @property Grid\Column|Collection audit_opinion
* @property Grid\Column|Collection show_qrcode
* @property Grid\Column|Collection money
* @property Grid\Column|Collection industry_order_id
* @property Grid\Column|Collection desc
* @property Grid\Column|Collection transaction_id
* @property Grid\Column|Collection out_trade_no
* @property Grid\Column|Collection min_sale
* @property Grid\Column|Collection verify_mobile
* @property Grid\Column|Collection draft_id
* @property Grid\Column|Collection user_version
* @property Grid\Column|Collection user_desc
@ -156,42 +174,33 @@ namespace Dcat\Admin {
* @property Grid\Column|Collection event
* @property Grid\Column|Collection template_id
* @property Grid\Column|Collection audit_scene
* @property Grid\Column|Collection audit_status
* @property Grid\Column|Collection template_type
* @property Grid\Column|Collection to_user_name
* @property Grid\Column|Collection qrcode
* @property Grid\Column|Collection audit_id
* @property Grid\Column|Collection is_success
* @property Grid\Column|Collection message
* @property Grid\Column|Collection order_id
* @property Grid\Column|Collection agent_product_spec_id
* @property Grid\Column|Collection product_type
* @property Grid\Column|Collection cost_price
* @property Grid\Column|Collection coupon_id
* @property Grid\Column|Collection refund_info
* @property Grid\Column|Collection agent_cloud_price
* @property Grid\Column|Collection pay_user_id
* @property Grid\Column|Collection email
* @property Grid\Column|Collection token
* @property Grid\Column|Collection logitude
* @property Grid\Column|Collection latitude
* @property Grid\Column|Collection filename
* @property Grid\Column|Collection cost_price
* @property Grid\Column|Collection user_type
* @property Grid\Column|Collection access_id
* @property Grid\Column|Collection access_type
* @property Grid\Column|Collection cut_user_id
* @property Grid\Column|Collection cut_user_type
* @property Grid\Column|Collection license
* @property Grid\Column|Collection corporate_account
* @property Grid\Column|Collection deposit_bank
* @property Grid\Column|Collection contract
* @property Grid\Column|Collection publish_type
* @property Grid\Column|Collection trade_balance
* @property Grid\Column|Collection key
* @property Grid\Column|Collection descr
* @property Grid\Column|Collection categories
* @property Grid\Column|Collection channels
* @property Grid\Column|Collection money
* @property Grid\Column|Collection desc
* @property Grid\Column|Collection transaction_id
* @property Grid\Column|Collection out_trade_no
* @property Grid\Column|Collection nickname
* @property Grid\Column|Collection openid
* @property Grid\Column|Collection unionid
@ -214,7 +223,6 @@ namespace Dcat\Admin {
* @property Grid\Column|Collection workorder_id
* @property Grid\Column|Collection is_read
*
* @method Grid\Column|Collection disable(string $label = null)
* @method Grid\Column|Collection id(string $label = null)
* @method Grid\Column|Collection name(string $label = null)
* @method Grid\Column|Collection type(string $label = null)
@ -253,6 +261,7 @@ namespace Dcat\Admin {
* @method Grid\Column|Collection agent_product_id(string $label = null)
* @method Grid\Column|Collection product_id(string $label = null)
* @method Grid\Column|Collection product_spec_id(string $label = null)
* @method Grid\Column|Collection date(string $label = null)
* @method Grid\Column|Collection stock(string $label = null)
* @method Grid\Column|Collection original_price(string $label = null)
* @method Grid\Column|Collection price(string $label = null)
@ -265,6 +274,7 @@ namespace Dcat\Admin {
* @method Grid\Column|Collection guide_price(string $label = null)
* @method Grid\Column|Collection verifier(string $label = null)
* @method Grid\Column|Collection is_rec(string $label = null)
* @method Grid\Column|Collection diy_form_id(string $label = null)
* @method Grid\Column|Collection pictures(string $label = null)
* @method Grid\Column|Collection know(string $label = null)
* @method Grid\Column|Collection content(string $label = null)
@ -274,6 +284,13 @@ namespace Dcat\Admin {
* @method Grid\Column|Collection earnest_timeout(string $label = null)
* @method Grid\Column|Collection is_cloud(string $label = null)
* @method Grid\Column|Collection agent_cloud_pid(string $label = null)
* @method Grid\Column|Collection tpl_type(string $label = null)
* @method Grid\Column|Collection extends(string $label = null)
* @method Grid\Column|Collection longitude(string $label = null)
* @method Grid\Column|Collection latitude(string $label = null)
* @method Grid\Column|Collection address(string $label = null)
* @method Grid\Column|Collection single_deposit(string $label = null)
* @method Grid\Column|Collection verify_mobile(string $label = null)
* @method Grid\Column|Collection setting(string $label = null)
* @method Grid\Column|Collection appid(string $label = null)
* @method Grid\Column|Collection appsecret(string $label = null)
@ -282,10 +299,14 @@ namespace Dcat\Admin {
* @method Grid\Column|Collection company_name(string $label = null)
* @method Grid\Column|Collection credit_codes(string $label = null)
* @method Grid\Column|Collection logo(string $label = null)
* @method Grid\Column|Collection address(string $label = null)
* @method Grid\Column|Collection business_license(string $label = null)
* @method Grid\Column|Collection license(string $label = null)
* @method Grid\Column|Collection corporate_account(string $label = null)
* @method Grid\Column|Collection deposit_bank(string $label = null)
* @method Grid\Column|Collection contract(string $label = null)
* @method Grid\Column|Collection director(string $label = null)
* @method Grid\Column|Collection contact_phone(string $label = null)
* @method Grid\Column|Collection contact_mobile(string $label = null)
* @method Grid\Column|Collection legal_persona_name(string $label = null)
* @method Grid\Column|Collection legal_persona_wechat(string $label = null)
* @method Grid\Column|Collection rate(string $label = null)
@ -297,10 +318,13 @@ namespace Dcat\Admin {
* @method Grid\Column|Collection image(string $label = null)
* @method Grid\Column|Collection agent_product_ids(string $label = null)
* @method Grid\Column|Collection pid(string $label = null)
* @method Grid\Column|Collection publish_type(string $label = null)
* @method Grid\Column|Collection code(string $label = null)
* @method Grid\Column|Collection sulg(string $label = null)
* @method Grid\Column|Collection level(string $label = null)
* @method Grid\Column|Collection parent_code(string $label = null)
* @method Grid\Column|Collection unique_id(string $label = null)
* @method Grid\Column|Collection site(string $label = null)
* @method Grid\Column|Collection tag(string $label = null)
* @method Grid\Column|Collection start_at(string $label = null)
* @method Grid\Column|Collection end_at(string $label = null)
@ -315,10 +339,9 @@ namespace Dcat\Admin {
* @method Grid\Column|Collection images(string $label = null)
* @method Grid\Column|Collection demand_product_id(string $label = null)
* @method Grid\Column|Collection demand_id(string $label = null)
* @method Grid\Column|Collection extends(string $label = null)
* @method Grid\Column|Collection service_persons(string $label = null)
* @method Grid\Column|Collection diy_form_id(string $label = null)
* @method Grid\Column|Collection required(string $label = null)
* @method Grid\Column|Collection merchant_id(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)
@ -326,7 +349,6 @@ namespace Dcat\Admin {
* @method Grid\Column|Collection exception(string $label = null)
* @method Grid\Column|Collection failed_at(string $label = null)
* @method Grid\Column|Collection photo(string $label = null)
* @method Grid\Column|Collection license_pic(string $label = null)
* @method Grid\Column|Collection order_no(string $label = null)
* @method Grid\Column|Collection industry_product_id(string $label = null)
* @method Grid\Column|Collection industry_product_spec_id(string $label = null)
@ -336,16 +358,21 @@ namespace Dcat\Admin {
* @method Grid\Column|Collection paid_money(string $label = null)
* @method Grid\Column|Collection paid_at(string $label = null)
* @method Grid\Column|Collection verify_code(string $label = null)
* @method Grid\Column|Collection trade_deposit(string $label = null)
* @method Grid\Column|Collection timeout(string $label = null)
* @method Grid\Column|Collection prepay_price(string $label = null)
* @method Grid\Column|Collection prepay_timeout(string $label = null)
* @method Grid\Column|Collection trade_deposit(string $label = null)
* @method Grid\Column|Collection single_price(string $label = null)
* @method Grid\Column|Collection info(string $label = null)
* @method Grid\Column|Collection date(string $label = null)
* @method Grid\Column|Collection single_deposit(string $label = null)
* @method Grid\Column|Collection audit_status(string $label = null)
* @method Grid\Column|Collection audit_opinion(string $label = null)
* @method Grid\Column|Collection show_qrcode(string $label = null)
* @method Grid\Column|Collection money(string $label = null)
* @method Grid\Column|Collection industry_order_id(string $label = null)
* @method Grid\Column|Collection desc(string $label = null)
* @method Grid\Column|Collection transaction_id(string $label = null)
* @method Grid\Column|Collection out_trade_no(string $label = null)
* @method Grid\Column|Collection min_sale(string $label = null)
* @method Grid\Column|Collection verify_mobile(string $label = null)
* @method Grid\Column|Collection draft_id(string $label = null)
* @method Grid\Column|Collection user_version(string $label = null)
* @method Grid\Column|Collection user_desc(string $label = null)
@ -359,42 +386,33 @@ namespace Dcat\Admin {
* @method Grid\Column|Collection event(string $label = null)
* @method Grid\Column|Collection template_id(string $label = null)
* @method Grid\Column|Collection audit_scene(string $label = null)
* @method Grid\Column|Collection audit_status(string $label = null)
* @method Grid\Column|Collection template_type(string $label = null)
* @method Grid\Column|Collection to_user_name(string $label = null)
* @method Grid\Column|Collection qrcode(string $label = null)
* @method Grid\Column|Collection audit_id(string $label = null)
* @method Grid\Column|Collection is_success(string $label = null)
* @method Grid\Column|Collection message(string $label = null)
* @method Grid\Column|Collection order_id(string $label = null)
* @method Grid\Column|Collection agent_product_spec_id(string $label = null)
* @method Grid\Column|Collection product_type(string $label = null)
* @method Grid\Column|Collection cost_price(string $label = null)
* @method Grid\Column|Collection coupon_id(string $label = null)
* @method Grid\Column|Collection refund_info(string $label = null)
* @method Grid\Column|Collection agent_cloud_price(string $label = null)
* @method Grid\Column|Collection pay_user_id(string $label = null)
* @method Grid\Column|Collection email(string $label = null)
* @method Grid\Column|Collection token(string $label = null)
* @method Grid\Column|Collection logitude(string $label = null)
* @method Grid\Column|Collection latitude(string $label = null)
* @method Grid\Column|Collection filename(string $label = null)
* @method Grid\Column|Collection cost_price(string $label = null)
* @method Grid\Column|Collection user_type(string $label = null)
* @method Grid\Column|Collection access_id(string $label = null)
* @method Grid\Column|Collection access_type(string $label = null)
* @method Grid\Column|Collection cut_user_id(string $label = null)
* @method Grid\Column|Collection cut_user_type(string $label = null)
* @method Grid\Column|Collection license(string $label = null)
* @method Grid\Column|Collection corporate_account(string $label = null)
* @method Grid\Column|Collection deposit_bank(string $label = null)
* @method Grid\Column|Collection contract(string $label = null)
* @method Grid\Column|Collection publish_type(string $label = null)
* @method Grid\Column|Collection trade_balance(string $label = null)
* @method Grid\Column|Collection key(string $label = null)
* @method Grid\Column|Collection descr(string $label = null)
* @method Grid\Column|Collection categories(string $label = null)
* @method Grid\Column|Collection channels(string $label = null)
* @method Grid\Column|Collection money(string $label = null)
* @method Grid\Column|Collection desc(string $label = null)
* @method Grid\Column|Collection transaction_id(string $label = null)
* @method Grid\Column|Collection out_trade_no(string $label = null)
* @method Grid\Column|Collection nickname(string $label = null)
* @method Grid\Column|Collection openid(string $label = null)
* @method Grid\Column|Collection unionid(string $label = null)
@ -422,7 +440,6 @@ namespace Dcat\Admin {
class MiniGrid extends Grid {}
/**
* @property Show\Field|Collection disable
* @property Show\Field|Collection id
* @property Show\Field|Collection name
* @property Show\Field|Collection type
@ -461,6 +478,7 @@ namespace Dcat\Admin {
* @property Show\Field|Collection agent_product_id
* @property Show\Field|Collection product_id
* @property Show\Field|Collection product_spec_id
* @property Show\Field|Collection date
* @property Show\Field|Collection stock
* @property Show\Field|Collection original_price
* @property Show\Field|Collection price
@ -473,6 +491,7 @@ namespace Dcat\Admin {
* @property Show\Field|Collection guide_price
* @property Show\Field|Collection verifier
* @property Show\Field|Collection is_rec
* @property Show\Field|Collection diy_form_id
* @property Show\Field|Collection pictures
* @property Show\Field|Collection know
* @property Show\Field|Collection content
@ -482,6 +501,13 @@ namespace Dcat\Admin {
* @property Show\Field|Collection earnest_timeout
* @property Show\Field|Collection is_cloud
* @property Show\Field|Collection agent_cloud_pid
* @property Show\Field|Collection tpl_type
* @property Show\Field|Collection extends
* @property Show\Field|Collection longitude
* @property Show\Field|Collection latitude
* @property Show\Field|Collection address
* @property Show\Field|Collection single_deposit
* @property Show\Field|Collection verify_mobile
* @property Show\Field|Collection setting
* @property Show\Field|Collection appid
* @property Show\Field|Collection appsecret
@ -490,10 +516,14 @@ namespace Dcat\Admin {
* @property Show\Field|Collection company_name
* @property Show\Field|Collection credit_codes
* @property Show\Field|Collection logo
* @property Show\Field|Collection address
* @property Show\Field|Collection business_license
* @property Show\Field|Collection license
* @property Show\Field|Collection corporate_account
* @property Show\Field|Collection deposit_bank
* @property Show\Field|Collection contract
* @property Show\Field|Collection director
* @property Show\Field|Collection contact_phone
* @property Show\Field|Collection contact_mobile
* @property Show\Field|Collection legal_persona_name
* @property Show\Field|Collection legal_persona_wechat
* @property Show\Field|Collection rate
@ -505,10 +535,13 @@ namespace Dcat\Admin {
* @property Show\Field|Collection image
* @property Show\Field|Collection agent_product_ids
* @property Show\Field|Collection pid
* @property Show\Field|Collection publish_type
* @property Show\Field|Collection code
* @property Show\Field|Collection sulg
* @property Show\Field|Collection level
* @property Show\Field|Collection parent_code
* @property Show\Field|Collection unique_id
* @property Show\Field|Collection site
* @property Show\Field|Collection tag
* @property Show\Field|Collection start_at
* @property Show\Field|Collection end_at
@ -523,10 +556,9 @@ namespace Dcat\Admin {
* @property Show\Field|Collection images
* @property Show\Field|Collection demand_product_id
* @property Show\Field|Collection demand_id
* @property Show\Field|Collection extends
* @property Show\Field|Collection service_persons
* @property Show\Field|Collection diy_form_id
* @property Show\Field|Collection required
* @property Show\Field|Collection merchant_id
* @property Show\Field|Collection uuid
* @property Show\Field|Collection connection
* @property Show\Field|Collection queue
@ -534,7 +566,6 @@ namespace Dcat\Admin {
* @property Show\Field|Collection exception
* @property Show\Field|Collection failed_at
* @property Show\Field|Collection photo
* @property Show\Field|Collection license_pic
* @property Show\Field|Collection order_no
* @property Show\Field|Collection industry_product_id
* @property Show\Field|Collection industry_product_spec_id
@ -544,16 +575,21 @@ namespace Dcat\Admin {
* @property Show\Field|Collection paid_money
* @property Show\Field|Collection paid_at
* @property Show\Field|Collection verify_code
* @property Show\Field|Collection trade_deposit
* @property Show\Field|Collection timeout
* @property Show\Field|Collection prepay_price
* @property Show\Field|Collection prepay_timeout
* @property Show\Field|Collection trade_deposit
* @property Show\Field|Collection single_price
* @property Show\Field|Collection info
* @property Show\Field|Collection date
* @property Show\Field|Collection single_deposit
* @property Show\Field|Collection audit_status
* @property Show\Field|Collection audit_opinion
* @property Show\Field|Collection show_qrcode
* @property Show\Field|Collection money
* @property Show\Field|Collection industry_order_id
* @property Show\Field|Collection desc
* @property Show\Field|Collection transaction_id
* @property Show\Field|Collection out_trade_no
* @property Show\Field|Collection min_sale
* @property Show\Field|Collection verify_mobile
* @property Show\Field|Collection draft_id
* @property Show\Field|Collection user_version
* @property Show\Field|Collection user_desc
@ -567,42 +603,33 @@ namespace Dcat\Admin {
* @property Show\Field|Collection event
* @property Show\Field|Collection template_id
* @property Show\Field|Collection audit_scene
* @property Show\Field|Collection audit_status
* @property Show\Field|Collection template_type
* @property Show\Field|Collection to_user_name
* @property Show\Field|Collection qrcode
* @property Show\Field|Collection audit_id
* @property Show\Field|Collection is_success
* @property Show\Field|Collection message
* @property Show\Field|Collection order_id
* @property Show\Field|Collection agent_product_spec_id
* @property Show\Field|Collection product_type
* @property Show\Field|Collection cost_price
* @property Show\Field|Collection coupon_id
* @property Show\Field|Collection refund_info
* @property Show\Field|Collection agent_cloud_price
* @property Show\Field|Collection pay_user_id
* @property Show\Field|Collection email
* @property Show\Field|Collection token
* @property Show\Field|Collection logitude
* @property Show\Field|Collection latitude
* @property Show\Field|Collection filename
* @property Show\Field|Collection cost_price
* @property Show\Field|Collection user_type
* @property Show\Field|Collection access_id
* @property Show\Field|Collection access_type
* @property Show\Field|Collection cut_user_id
* @property Show\Field|Collection cut_user_type
* @property Show\Field|Collection license
* @property Show\Field|Collection corporate_account
* @property Show\Field|Collection deposit_bank
* @property Show\Field|Collection contract
* @property Show\Field|Collection publish_type
* @property Show\Field|Collection trade_balance
* @property Show\Field|Collection key
* @property Show\Field|Collection descr
* @property Show\Field|Collection categories
* @property Show\Field|Collection channels
* @property Show\Field|Collection money
* @property Show\Field|Collection desc
* @property Show\Field|Collection transaction_id
* @property Show\Field|Collection out_trade_no
* @property Show\Field|Collection nickname
* @property Show\Field|Collection openid
* @property Show\Field|Collection unionid
@ -625,7 +652,6 @@ namespace Dcat\Admin {
* @property Show\Field|Collection workorder_id
* @property Show\Field|Collection is_read
*
* @method Show\Field|Collection disable(string $label = null)
* @method Show\Field|Collection id(string $label = null)
* @method Show\Field|Collection name(string $label = null)
* @method Show\Field|Collection type(string $label = null)
@ -664,6 +690,7 @@ namespace Dcat\Admin {
* @method Show\Field|Collection agent_product_id(string $label = null)
* @method Show\Field|Collection product_id(string $label = null)
* @method Show\Field|Collection product_spec_id(string $label = null)
* @method Show\Field|Collection date(string $label = null)
* @method Show\Field|Collection stock(string $label = null)
* @method Show\Field|Collection original_price(string $label = null)
* @method Show\Field|Collection price(string $label = null)
@ -676,6 +703,7 @@ namespace Dcat\Admin {
* @method Show\Field|Collection guide_price(string $label = null)
* @method Show\Field|Collection verifier(string $label = null)
* @method Show\Field|Collection is_rec(string $label = null)
* @method Show\Field|Collection diy_form_id(string $label = null)
* @method Show\Field|Collection pictures(string $label = null)
* @method Show\Field|Collection know(string $label = null)
* @method Show\Field|Collection content(string $label = null)
@ -685,6 +713,13 @@ namespace Dcat\Admin {
* @method Show\Field|Collection earnest_timeout(string $label = null)
* @method Show\Field|Collection is_cloud(string $label = null)
* @method Show\Field|Collection agent_cloud_pid(string $label = null)
* @method Show\Field|Collection tpl_type(string $label = null)
* @method Show\Field|Collection extends(string $label = null)
* @method Show\Field|Collection longitude(string $label = null)
* @method Show\Field|Collection latitude(string $label = null)
* @method Show\Field|Collection address(string $label = null)
* @method Show\Field|Collection single_deposit(string $label = null)
* @method Show\Field|Collection verify_mobile(string $label = null)
* @method Show\Field|Collection setting(string $label = null)
* @method Show\Field|Collection appid(string $label = null)
* @method Show\Field|Collection appsecret(string $label = null)
@ -693,10 +728,14 @@ namespace Dcat\Admin {
* @method Show\Field|Collection company_name(string $label = null)
* @method Show\Field|Collection credit_codes(string $label = null)
* @method Show\Field|Collection logo(string $label = null)
* @method Show\Field|Collection address(string $label = null)
* @method Show\Field|Collection business_license(string $label = null)
* @method Show\Field|Collection license(string $label = null)
* @method Show\Field|Collection corporate_account(string $label = null)
* @method Show\Field|Collection deposit_bank(string $label = null)
* @method Show\Field|Collection contract(string $label = null)
* @method Show\Field|Collection director(string $label = null)
* @method Show\Field|Collection contact_phone(string $label = null)
* @method Show\Field|Collection contact_mobile(string $label = null)
* @method Show\Field|Collection legal_persona_name(string $label = null)
* @method Show\Field|Collection legal_persona_wechat(string $label = null)
* @method Show\Field|Collection rate(string $label = null)
@ -708,10 +747,13 @@ namespace Dcat\Admin {
* @method Show\Field|Collection image(string $label = null)
* @method Show\Field|Collection agent_product_ids(string $label = null)
* @method Show\Field|Collection pid(string $label = null)
* @method Show\Field|Collection publish_type(string $label = null)
* @method Show\Field|Collection code(string $label = null)
* @method Show\Field|Collection sulg(string $label = null)
* @method Show\Field|Collection level(string $label = null)
* @method Show\Field|Collection parent_code(string $label = null)
* @method Show\Field|Collection unique_id(string $label = null)
* @method Show\Field|Collection site(string $label = null)
* @method Show\Field|Collection tag(string $label = null)
* @method Show\Field|Collection start_at(string $label = null)
* @method Show\Field|Collection end_at(string $label = null)
@ -726,10 +768,9 @@ namespace Dcat\Admin {
* @method Show\Field|Collection images(string $label = null)
* @method Show\Field|Collection demand_product_id(string $label = null)
* @method Show\Field|Collection demand_id(string $label = null)
* @method Show\Field|Collection extends(string $label = null)
* @method Show\Field|Collection service_persons(string $label = null)
* @method Show\Field|Collection diy_form_id(string $label = null)
* @method Show\Field|Collection required(string $label = null)
* @method Show\Field|Collection merchant_id(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)
@ -737,7 +778,6 @@ namespace Dcat\Admin {
* @method Show\Field|Collection exception(string $label = null)
* @method Show\Field|Collection failed_at(string $label = null)
* @method Show\Field|Collection photo(string $label = null)
* @method Show\Field|Collection license_pic(string $label = null)
* @method Show\Field|Collection order_no(string $label = null)
* @method Show\Field|Collection industry_product_id(string $label = null)
* @method Show\Field|Collection industry_product_spec_id(string $label = null)
@ -747,16 +787,21 @@ namespace Dcat\Admin {
* @method Show\Field|Collection paid_money(string $label = null)
* @method Show\Field|Collection paid_at(string $label = null)
* @method Show\Field|Collection verify_code(string $label = null)
* @method Show\Field|Collection trade_deposit(string $label = null)
* @method Show\Field|Collection timeout(string $label = null)
* @method Show\Field|Collection prepay_price(string $label = null)
* @method Show\Field|Collection prepay_timeout(string $label = null)
* @method Show\Field|Collection trade_deposit(string $label = null)
* @method Show\Field|Collection single_price(string $label = null)
* @method Show\Field|Collection info(string $label = null)
* @method Show\Field|Collection date(string $label = null)
* @method Show\Field|Collection single_deposit(string $label = null)
* @method Show\Field|Collection audit_status(string $label = null)
* @method Show\Field|Collection audit_opinion(string $label = null)
* @method Show\Field|Collection show_qrcode(string $label = null)
* @method Show\Field|Collection money(string $label = null)
* @method Show\Field|Collection industry_order_id(string $label = null)
* @method Show\Field|Collection desc(string $label = null)
* @method Show\Field|Collection transaction_id(string $label = null)
* @method Show\Field|Collection out_trade_no(string $label = null)
* @method Show\Field|Collection min_sale(string $label = null)
* @method Show\Field|Collection verify_mobile(string $label = null)
* @method Show\Field|Collection draft_id(string $label = null)
* @method Show\Field|Collection user_version(string $label = null)
* @method Show\Field|Collection user_desc(string $label = null)
@ -770,42 +815,33 @@ namespace Dcat\Admin {
* @method Show\Field|Collection event(string $label = null)
* @method Show\Field|Collection template_id(string $label = null)
* @method Show\Field|Collection audit_scene(string $label = null)
* @method Show\Field|Collection audit_status(string $label = null)
* @method Show\Field|Collection template_type(string $label = null)
* @method Show\Field|Collection to_user_name(string $label = null)
* @method Show\Field|Collection qrcode(string $label = null)
* @method Show\Field|Collection audit_id(string $label = null)
* @method Show\Field|Collection is_success(string $label = null)
* @method Show\Field|Collection message(string $label = null)
* @method Show\Field|Collection order_id(string $label = null)
* @method Show\Field|Collection agent_product_spec_id(string $label = null)
* @method Show\Field|Collection product_type(string $label = null)
* @method Show\Field|Collection cost_price(string $label = null)
* @method Show\Field|Collection coupon_id(string $label = null)
* @method Show\Field|Collection refund_info(string $label = null)
* @method Show\Field|Collection agent_cloud_price(string $label = null)
* @method Show\Field|Collection pay_user_id(string $label = null)
* @method Show\Field|Collection email(string $label = null)
* @method Show\Field|Collection token(string $label = null)
* @method Show\Field|Collection logitude(string $label = null)
* @method Show\Field|Collection latitude(string $label = null)
* @method Show\Field|Collection filename(string $label = null)
* @method Show\Field|Collection cost_price(string $label = null)
* @method Show\Field|Collection user_type(string $label = null)
* @method Show\Field|Collection access_id(string $label = null)
* @method Show\Field|Collection access_type(string $label = null)
* @method Show\Field|Collection cut_user_id(string $label = null)
* @method Show\Field|Collection cut_user_type(string $label = null)
* @method Show\Field|Collection license(string $label = null)
* @method Show\Field|Collection corporate_account(string $label = null)
* @method Show\Field|Collection deposit_bank(string $label = null)
* @method Show\Field|Collection contract(string $label = null)
* @method Show\Field|Collection publish_type(string $label = null)
* @method Show\Field|Collection trade_balance(string $label = null)
* @method Show\Field|Collection key(string $label = null)
* @method Show\Field|Collection descr(string $label = null)
* @method Show\Field|Collection categories(string $label = null)
* @method Show\Field|Collection channels(string $label = null)
* @method Show\Field|Collection money(string $label = null)
* @method Show\Field|Collection desc(string $label = null)
* @method Show\Field|Collection transaction_id(string $label = null)
* @method Show\Field|Collection out_trade_no(string $label = null)
* @method Show\Field|Collection nickname(string $label = null)
* @method Show\Field|Collection openid(string $label = null)
* @method Show\Field|Collection unionid(string $label = null)

14
resources/lang/zh_CN/product-export-log.php

@ -0,0 +1,14 @@
<?php
return [
'labels' => [
'ProductExportLog' => '产品导出Excel日志',
'product-export-log' => '产品导出Excel日志',
'export' => '产品导出Excel日志',
],
'fields' => [
'supplier_id' => '供应商ID',
'filename' => '导出文件名',
],
'options' => [
],
];
Loading…
Cancel
Save