Browse Source

新增用户与市场关联列表

master
lanzu_qinsheng 6 years ago
parent
commit
6cbb75c661
  1. 99
      app/Admin/Controllers/LanzuAdminUserMarketController.php
  2. 16
      app/Admin/Repositories/LanzuAdminUserMarket.php
  3. 1
      app/Admin/routes.php
  4. 15
      app/Models/LanzuAdminUserMarket.php
  5. 192
      dcat_admin_ide_helper.php
  6. 13
      resources/lang/zh-CN/lanzu-admin-user-market.php

99
app/Admin/Controllers/LanzuAdminUserMarketController.php

@ -0,0 +1,99 @@
<?php
namespace App\Admin\Controllers;
use App\Admin\Repositories\LanzuAdminUserMarket;
use App\Models\AdminUsers;
use App\Models\v3\Market;
use Dcat\Admin\Form;
use Dcat\Admin\Grid;
use Dcat\Admin\Show;
use Dcat\Admin\Controllers\AdminController;
class LanzuAdminUserMarketController extends AdminController
{
/**
* Make a grid builder.
*
* @return Grid
*/
protected function grid()
{
return Grid::make(new LanzuAdminUserMarket(), function (Grid $grid) {
$grid->column('id')->sortable();
$grid->column('admin_user_id','用户名')->display(function (){
return AdminUsers::where('id',$this->admin_user_id)->first()->name;
});
$grid->column('market_id','关联市场')->display(function (){
return Market::where('id',$this->market_id)->first()->name;
});
$grid->column('created_at')->display(function ($time){
return date('Y-m-d H:i:s',$time);
});
$grid->filter(function (Grid\Filter $filter) {
$filter->equal('id');
});
$grid->disableViewButton();
});
}
/**
* Make a show builder.
*
* @param mixed $id
*
* @return Show
*/
protected function detail($id)
{
return Show::make($id, new LanzuAdminUserMarket(), function (Show $show) {
$show->field('id');
$show->field('admin_user_id');
$show->field('market_id');
$show->field('created_at');
$show->field('updated_at');
});
}
/**
* Make a form builder.
*
* @return Form
*/
protected function form()
{
$this->getAdminUser();
return Form::make(new LanzuAdminUserMarket(), function (Form $form) {
$form->display('id');
if ($form->isCreating()){
$aumIds = \App\Models\LanzuAdminUserMarket::pluck('admin_user_id')->toArray();
$form->select('admin_user_id','用户名')->options($this->getAdminUser($aumIds));
}else{
$form->select('admin_user_id','用户名')->options($this->getAdminUser(null))->disable();
}
$form->select('market_id','关联市场')->options($this->getMarket());
$form->disableViewButton();
$form->disableEditingCheck();
$form->disableCreatingCheck();
$form->disableViewCheck();
});
}
public function getAdminUser($aumIds=null)
{
if ($aumIds){
$data = AdminUsers::whereNotIn('id',$aumIds)->pluck('name','id')->toArray();
}else{
$data = AdminUsers::pluck('name','id')->toArray();
}
return $data;
}
public function getMarket()
{
$data = Market::where('status',1)->pluck('name','id')->toArray();
return $data;
}
}

16
app/Admin/Repositories/LanzuAdminUserMarket.php

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

1
app/Admin/routes.php

@ -26,6 +26,7 @@ Route::group([
$router->resource('/cs_withdraw', 'LanzuCsWithdrawController');
$router->resource('/service_reward', 'LanzuServiceRewardController');
$router->resource('/financial_record', 'LanzuFinancialRecord');
$router->resource('/admin_user_market', 'LanzuAdminUserMarketController');
$router->any('/mm_list', 'LanzuMmWithdrawController@mmInfoList');
$router->any('/api/getMarket', 'LanzuMmInfoController@getMarket');

15
app/Models/LanzuAdminUserMarket.php

@ -0,0 +1,15 @@
<?php
namespace App\Models;
use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\Model;
class LanzuAdminUserMarket extends Model
{
use HasDateTimeFormatter;
protected $table = 'lanzu_admin_user_market';
protected $dateFormat = 'U';
}

192
dcat_admin_ide_helper.php

@ -38,22 +38,13 @@ namespace Dcat\Admin {
* @property Grid\Column|Collection imgs
* @property Grid\Column|Collection addtime
* @property Grid\Column|Collection sort
* @property Grid\Column|Collection coordinates
* @property Grid\Column|Collection remark
* @property Grid\Column|Collection poundage
* @property Grid\Column|Collection dn_poundage
* @property Grid\Column|Collection dm_poundage
* @property Grid\Column|Collection yd_poundage
* @property Grid\Column|Collection loudspeaker_imei
* @property Grid\Column|Collection dishes_menu_intro
* @property Grid\Column|Collection create_time
* @property Grid\Column|Collection logo_url
* @property Grid\Column|Collection mm_user_id
* @property Grid\Column|Collection store_applet_img
* @property Grid\Column|Collection cash_code_img
* @property Grid\Column|Collection tel
* @property Grid\Column|Collection is_rest
* @property Grid\Column|Collection is_open
* @property Grid\Column|Collection width
* @property Grid\Column|Collection award_money
* @property Grid\Column|Collection img
* @property Grid\Column|Collection start_at
* @property Grid\Column|Collection freight
* @property Grid\Column|Collection money
* @property Grid\Column|Collection mp_id
* @property Grid\Column|Collection is_pay
@ -68,6 +59,7 @@ namespace Dcat\Admin {
* @property Grid\Column|Collection repay
* @property Grid\Column|Collection category_text
* @property Grid\Column|Collection value
* @property Grid\Column|Collection width
* @property Grid\Column|Collection start_time_text
* @property Grid\Column|Collection end_time_text
* @property Grid\Column|Collection full_amount
@ -91,11 +83,21 @@ namespace Dcat\Admin {
* @property Grid\Column|Collection store_id
* @property Grid\Column|Collection store_name
* @property Grid\Column|Collection new_user_total
* @property Grid\Column|Collection mm_user_id
* @property Grid\Column|Collection logo_url
* @property Grid\Column|Collection store_applet_img
* @property Grid\Column|Collection cash_code_img
* @property Grid\Column|Collection is_open
* @property Grid\Column|Collection cover_img_url
* @property Grid\Column|Collection price
* @property Grid\Column|Collection category_id
* @property Grid\Column|Collection goods_category_id
* @property Grid\Column|Collection on_sale
* @property Grid\Column|Collection order_num
* @property Grid\Column|Collection state
* @property Grid\Column|Collection pay_time
* @property Grid\Column|Collection time
* @property Grid\Column|Collection head_url
* @property Grid\Column|Collection parent_id
* @property Grid\Column|Collection order
* @property Grid\Column|Collection icon
@ -183,7 +185,6 @@ namespace Dcat\Admin {
* @property Grid\Column|Collection refreshtime
* @property Grid\Column|Collection deletetime
* @property Grid\Column|Collection switch
* @property Grid\Column|Collection state
* @property Grid\Column|Collection gender
* @property Grid\Column|Collection birthday
* @property Grid\Column|Collection bio
@ -276,9 +277,7 @@ namespace Dcat\Admin {
* @property Grid\Column|Collection item
* @property Grid\Column|Collection area_name
* @property Grid\Column|Collection num
* @property Grid\Column|Collection img
* @property Grid\Column|Collection stars
* @property Grid\Column|Collection time
* @property Grid\Column|Collection order_id
* @property Grid\Column|Collection hf
* @property Grid\Column|Collection hf_time
@ -375,14 +374,12 @@ namespace Dcat\Admin {
* @property Grid\Column|Collection display
* @property Grid\Column|Collection introduction
* @property Grid\Column|Collection hx_id
* @property Grid\Column|Collection order_num
* @property Grid\Column|Collection goods_type
* @property Grid\Column|Collection goods_num
* @property Grid\Column|Collection pay_type
* @property Grid\Column|Collection receive_name
* @property Grid\Column|Collection receive_tel
* @property Grid\Column|Collection receive_address
* @property Grid\Column|Collection pay_time
* @property Grid\Column|Collection cz_time
* @property Grid\Column|Collection question
* @property Grid\Column|Collection answer
@ -412,9 +409,16 @@ namespace Dcat\Admin {
* @property Grid\Column|Collection waimai_pay_temp
* @property Grid\Column|Collection dangmian_pay_temp
* @property Grid\Column|Collection ziti_pay_temp
* @property Grid\Column|Collection coordinates
* @property Grid\Column|Collection poundage
* @property Grid\Column|Collection dn_poundage
* @property Grid\Column|Collection dm_poundage
* @property Grid\Column|Collection yd_poundage
* @property Grid\Column|Collection dada_number
* @property Grid\Column|Collection is_open_dada
* @property Grid\Column|Collection tel
* @property Grid\Column|Collection loudspeaker_imei
* @property Grid\Column|Collection dishes_menu_intro
* @property Grid\Column|Collection create_time
* @property Grid\Column|Collection deleted_at
* @property Grid\Column|Collection sender
* @property Grid\Column|Collection is_email
@ -557,8 +561,6 @@ namespace Dcat\Admin {
* @property Grid\Column|Collection sss_shop_token
* @property Grid\Column|Collection time4
* @property Grid\Column|Collection announcement
* @property Grid\Column|Collection start_at
* @property Grid\Column|Collection freight
* @property Grid\Column|Collection yyzz
* @property Grid\Column|Collection md_area
* @property Grid\Column|Collection md_type
@ -585,7 +587,6 @@ namespace Dcat\Admin {
* @property Grid\Column|Collection store_mchid
* @property Grid\Column|Collection cash_code
* @property Grid\Column|Collection store_wallet
* @property Grid\Column|Collection award_money
* @property Grid\Column|Collection add_time
* @property Grid\Column|Collection category
* @property Grid\Column|Collection xyh_open
@ -1216,7 +1217,6 @@ namespace Dcat\Admin {
* @property Grid\Column|Collection service_personnel_id
* @property Grid\Column|Collection user_created_at
* @property Grid\Column|Collection qr_url
* @property Grid\Column|Collection head_url
* @property Grid\Column|Collection set_reward
* @property Grid\Column|Collection device_name
* @property Grid\Column|Collection bind_time
@ -1266,22 +1266,13 @@ namespace Dcat\Admin {
* @method Grid\Column|Collection imgs(string $label = null)
* @method Grid\Column|Collection addtime(string $label = null)
* @method Grid\Column|Collection sort(string $label = null)
* @method Grid\Column|Collection coordinates(string $label = null)
* @method Grid\Column|Collection remark(string $label = null)
* @method Grid\Column|Collection poundage(string $label = null)
* @method Grid\Column|Collection dn_poundage(string $label = null)
* @method Grid\Column|Collection dm_poundage(string $label = null)
* @method Grid\Column|Collection yd_poundage(string $label = null)
* @method Grid\Column|Collection loudspeaker_imei(string $label = null)
* @method Grid\Column|Collection dishes_menu_intro(string $label = null)
* @method Grid\Column|Collection create_time(string $label = null)
* @method Grid\Column|Collection logo_url(string $label = null)
* @method Grid\Column|Collection mm_user_id(string $label = null)
* @method Grid\Column|Collection store_applet_img(string $label = null)
* @method Grid\Column|Collection cash_code_img(string $label = null)
* @method Grid\Column|Collection tel(string $label = null)
* @method Grid\Column|Collection is_rest(string $label = null)
* @method Grid\Column|Collection is_open(string $label = null)
* @method Grid\Column|Collection width(string $label = null)
* @method Grid\Column|Collection award_money(string $label = null)
* @method Grid\Column|Collection img(string $label = null)
* @method Grid\Column|Collection start_at(string $label = null)
* @method Grid\Column|Collection freight(string $label = null)
* @method Grid\Column|Collection money(string $label = null)
* @method Grid\Column|Collection mp_id(string $label = null)
* @method Grid\Column|Collection is_pay(string $label = null)
@ -1296,6 +1287,7 @@ namespace Dcat\Admin {
* @method Grid\Column|Collection repay(string $label = null)
* @method Grid\Column|Collection category_text(string $label = null)
* @method Grid\Column|Collection value(string $label = null)
* @method Grid\Column|Collection width(string $label = null)
* @method Grid\Column|Collection start_time_text(string $label = null)
* @method Grid\Column|Collection end_time_text(string $label = null)
* @method Grid\Column|Collection full_amount(string $label = null)
@ -1319,11 +1311,21 @@ namespace Dcat\Admin {
* @method Grid\Column|Collection store_id(string $label = null)
* @method Grid\Column|Collection store_name(string $label = null)
* @method Grid\Column|Collection new_user_total(string $label = null)
* @method Grid\Column|Collection mm_user_id(string $label = null)
* @method Grid\Column|Collection logo_url(string $label = null)
* @method Grid\Column|Collection store_applet_img(string $label = null)
* @method Grid\Column|Collection cash_code_img(string $label = null)
* @method Grid\Column|Collection is_open(string $label = null)
* @method Grid\Column|Collection cover_img_url(string $label = null)
* @method Grid\Column|Collection price(string $label = null)
* @method Grid\Column|Collection category_id(string $label = null)
* @method Grid\Column|Collection goods_category_id(string $label = null)
* @method Grid\Column|Collection on_sale(string $label = null)
* @method Grid\Column|Collection order_num(string $label = null)
* @method Grid\Column|Collection state(string $label = null)
* @method Grid\Column|Collection pay_time(string $label = null)
* @method Grid\Column|Collection time(string $label = null)
* @method Grid\Column|Collection head_url(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)
@ -1411,7 +1413,6 @@ namespace Dcat\Admin {
* @method Grid\Column|Collection refreshtime(string $label = null)
* @method Grid\Column|Collection deletetime(string $label = null)
* @method Grid\Column|Collection switch(string $label = null)
* @method Grid\Column|Collection state(string $label = null)
* @method Grid\Column|Collection gender(string $label = null)
* @method Grid\Column|Collection birthday(string $label = null)
* @method Grid\Column|Collection bio(string $label = null)
@ -1504,9 +1505,7 @@ namespace Dcat\Admin {
* @method Grid\Column|Collection item(string $label = null)
* @method Grid\Column|Collection area_name(string $label = null)
* @method Grid\Column|Collection num(string $label = null)
* @method Grid\Column|Collection img(string $label = null)
* @method Grid\Column|Collection stars(string $label = null)
* @method Grid\Column|Collection time(string $label = null)
* @method Grid\Column|Collection order_id(string $label = null)
* @method Grid\Column|Collection hf(string $label = null)
* @method Grid\Column|Collection hf_time(string $label = null)
@ -1603,14 +1602,12 @@ namespace Dcat\Admin {
* @method Grid\Column|Collection display(string $label = null)
* @method Grid\Column|Collection introduction(string $label = null)
* @method Grid\Column|Collection hx_id(string $label = null)
* @method Grid\Column|Collection order_num(string $label = null)
* @method Grid\Column|Collection goods_type(string $label = null)
* @method Grid\Column|Collection goods_num(string $label = null)
* @method Grid\Column|Collection pay_type(string $label = null)
* @method Grid\Column|Collection receive_name(string $label = null)
* @method Grid\Column|Collection receive_tel(string $label = null)
* @method Grid\Column|Collection receive_address(string $label = null)
* @method Grid\Column|Collection pay_time(string $label = null)
* @method Grid\Column|Collection cz_time(string $label = null)
* @method Grid\Column|Collection question(string $label = null)
* @method Grid\Column|Collection answer(string $label = null)
@ -1640,9 +1637,16 @@ namespace Dcat\Admin {
* @method Grid\Column|Collection waimai_pay_temp(string $label = null)
* @method Grid\Column|Collection dangmian_pay_temp(string $label = null)
* @method Grid\Column|Collection ziti_pay_temp(string $label = null)
* @method Grid\Column|Collection coordinates(string $label = null)
* @method Grid\Column|Collection poundage(string $label = null)
* @method Grid\Column|Collection dn_poundage(string $label = null)
* @method Grid\Column|Collection dm_poundage(string $label = null)
* @method Grid\Column|Collection yd_poundage(string $label = null)
* @method Grid\Column|Collection dada_number(string $label = null)
* @method Grid\Column|Collection is_open_dada(string $label = null)
* @method Grid\Column|Collection tel(string $label = null)
* @method Grid\Column|Collection loudspeaker_imei(string $label = null)
* @method Grid\Column|Collection dishes_menu_intro(string $label = null)
* @method Grid\Column|Collection create_time(string $label = null)
* @method Grid\Column|Collection deleted_at(string $label = null)
* @method Grid\Column|Collection sender(string $label = null)
* @method Grid\Column|Collection is_email(string $label = null)
@ -1785,8 +1789,6 @@ namespace Dcat\Admin {
* @method Grid\Column|Collection sss_shop_token(string $label = null)
* @method Grid\Column|Collection time4(string $label = null)
* @method Grid\Column|Collection announcement(string $label = null)
* @method Grid\Column|Collection start_at(string $label = null)
* @method Grid\Column|Collection freight(string $label = null)
* @method Grid\Column|Collection yyzz(string $label = null)
* @method Grid\Column|Collection md_area(string $label = null)
* @method Grid\Column|Collection md_type(string $label = null)
@ -1813,7 +1815,6 @@ namespace Dcat\Admin {
* @method Grid\Column|Collection store_mchid(string $label = null)
* @method Grid\Column|Collection cash_code(string $label = null)
* @method Grid\Column|Collection store_wallet(string $label = null)
* @method Grid\Column|Collection award_money(string $label = null)
* @method Grid\Column|Collection add_time(string $label = null)
* @method Grid\Column|Collection category(string $label = null)
* @method Grid\Column|Collection xyh_open(string $label = null)
@ -2444,7 +2445,6 @@ namespace Dcat\Admin {
* @method Grid\Column|Collection service_personnel_id(string $label = null)
* @method Grid\Column|Collection user_created_at(string $label = null)
* @method Grid\Column|Collection qr_url(string $label = null)
* @method Grid\Column|Collection head_url(string $label = null)
* @method Grid\Column|Collection set_reward(string $label = null)
* @method Grid\Column|Collection device_name(string $label = null)
* @method Grid\Column|Collection bind_time(string $label = null)
@ -2499,22 +2499,13 @@ namespace Dcat\Admin {
* @property Show\Field|Collection imgs
* @property Show\Field|Collection addtime
* @property Show\Field|Collection sort
* @property Show\Field|Collection coordinates
* @property Show\Field|Collection remark
* @property Show\Field|Collection poundage
* @property Show\Field|Collection dn_poundage
* @property Show\Field|Collection dm_poundage
* @property Show\Field|Collection yd_poundage
* @property Show\Field|Collection loudspeaker_imei
* @property Show\Field|Collection dishes_menu_intro
* @property Show\Field|Collection create_time
* @property Show\Field|Collection logo_url
* @property Show\Field|Collection mm_user_id
* @property Show\Field|Collection store_applet_img
* @property Show\Field|Collection cash_code_img
* @property Show\Field|Collection tel
* @property Show\Field|Collection is_rest
* @property Show\Field|Collection is_open
* @property Show\Field|Collection width
* @property Show\Field|Collection award_money
* @property Show\Field|Collection img
* @property Show\Field|Collection start_at
* @property Show\Field|Collection freight
* @property Show\Field|Collection money
* @property Show\Field|Collection mp_id
* @property Show\Field|Collection is_pay
@ -2529,6 +2520,7 @@ namespace Dcat\Admin {
* @property Show\Field|Collection repay
* @property Show\Field|Collection category_text
* @property Show\Field|Collection value
* @property Show\Field|Collection width
* @property Show\Field|Collection start_time_text
* @property Show\Field|Collection end_time_text
* @property Show\Field|Collection full_amount
@ -2552,11 +2544,21 @@ namespace Dcat\Admin {
* @property Show\Field|Collection store_id
* @property Show\Field|Collection store_name
* @property Show\Field|Collection new_user_total
* @property Show\Field|Collection mm_user_id
* @property Show\Field|Collection logo_url
* @property Show\Field|Collection store_applet_img
* @property Show\Field|Collection cash_code_img
* @property Show\Field|Collection is_open
* @property Show\Field|Collection cover_img_url
* @property Show\Field|Collection price
* @property Show\Field|Collection category_id
* @property Show\Field|Collection goods_category_id
* @property Show\Field|Collection on_sale
* @property Show\Field|Collection order_num
* @property Show\Field|Collection state
* @property Show\Field|Collection pay_time
* @property Show\Field|Collection time
* @property Show\Field|Collection head_url
* @property Show\Field|Collection parent_id
* @property Show\Field|Collection order
* @property Show\Field|Collection icon
@ -2644,7 +2646,6 @@ namespace Dcat\Admin {
* @property Show\Field|Collection refreshtime
* @property Show\Field|Collection deletetime
* @property Show\Field|Collection switch
* @property Show\Field|Collection state
* @property Show\Field|Collection gender
* @property Show\Field|Collection birthday
* @property Show\Field|Collection bio
@ -2737,9 +2738,7 @@ namespace Dcat\Admin {
* @property Show\Field|Collection item
* @property Show\Field|Collection area_name
* @property Show\Field|Collection num
* @property Show\Field|Collection img
* @property Show\Field|Collection stars
* @property Show\Field|Collection time
* @property Show\Field|Collection order_id
* @property Show\Field|Collection hf
* @property Show\Field|Collection hf_time
@ -2836,14 +2835,12 @@ namespace Dcat\Admin {
* @property Show\Field|Collection display
* @property Show\Field|Collection introduction
* @property Show\Field|Collection hx_id
* @property Show\Field|Collection order_num
* @property Show\Field|Collection goods_type
* @property Show\Field|Collection goods_num
* @property Show\Field|Collection pay_type
* @property Show\Field|Collection receive_name
* @property Show\Field|Collection receive_tel
* @property Show\Field|Collection receive_address
* @property Show\Field|Collection pay_time
* @property Show\Field|Collection cz_time
* @property Show\Field|Collection question
* @property Show\Field|Collection answer
@ -2873,9 +2870,16 @@ namespace Dcat\Admin {
* @property Show\Field|Collection waimai_pay_temp
* @property Show\Field|Collection dangmian_pay_temp
* @property Show\Field|Collection ziti_pay_temp
* @property Show\Field|Collection coordinates
* @property Show\Field|Collection poundage
* @property Show\Field|Collection dn_poundage
* @property Show\Field|Collection dm_poundage
* @property Show\Field|Collection yd_poundage
* @property Show\Field|Collection dada_number
* @property Show\Field|Collection is_open_dada
* @property Show\Field|Collection tel
* @property Show\Field|Collection loudspeaker_imei
* @property Show\Field|Collection dishes_menu_intro
* @property Show\Field|Collection create_time
* @property Show\Field|Collection deleted_at
* @property Show\Field|Collection sender
* @property Show\Field|Collection is_email
@ -3018,8 +3022,6 @@ namespace Dcat\Admin {
* @property Show\Field|Collection sss_shop_token
* @property Show\Field|Collection time4
* @property Show\Field|Collection announcement
* @property Show\Field|Collection start_at
* @property Show\Field|Collection freight
* @property Show\Field|Collection yyzz
* @property Show\Field|Collection md_area
* @property Show\Field|Collection md_type
@ -3046,7 +3048,6 @@ namespace Dcat\Admin {
* @property Show\Field|Collection store_mchid
* @property Show\Field|Collection cash_code
* @property Show\Field|Collection store_wallet
* @property Show\Field|Collection award_money
* @property Show\Field|Collection add_time
* @property Show\Field|Collection category
* @property Show\Field|Collection xyh_open
@ -3677,7 +3678,6 @@ namespace Dcat\Admin {
* @property Show\Field|Collection service_personnel_id
* @property Show\Field|Collection user_created_at
* @property Show\Field|Collection qr_url
* @property Show\Field|Collection head_url
* @property Show\Field|Collection set_reward
* @property Show\Field|Collection device_name
* @property Show\Field|Collection bind_time
@ -3727,22 +3727,13 @@ namespace Dcat\Admin {
* @method Show\Field|Collection imgs(string $label = null)
* @method Show\Field|Collection addtime(string $label = null)
* @method Show\Field|Collection sort(string $label = null)
* @method Show\Field|Collection coordinates(string $label = null)
* @method Show\Field|Collection remark(string $label = null)
* @method Show\Field|Collection poundage(string $label = null)
* @method Show\Field|Collection dn_poundage(string $label = null)
* @method Show\Field|Collection dm_poundage(string $label = null)
* @method Show\Field|Collection yd_poundage(string $label = null)
* @method Show\Field|Collection loudspeaker_imei(string $label = null)
* @method Show\Field|Collection dishes_menu_intro(string $label = null)
* @method Show\Field|Collection create_time(string $label = null)
* @method Show\Field|Collection logo_url(string $label = null)
* @method Show\Field|Collection mm_user_id(string $label = null)
* @method Show\Field|Collection store_applet_img(string $label = null)
* @method Show\Field|Collection cash_code_img(string $label = null)
* @method Show\Field|Collection tel(string $label = null)
* @method Show\Field|Collection is_rest(string $label = null)
* @method Show\Field|Collection is_open(string $label = null)
* @method Show\Field|Collection width(string $label = null)
* @method Show\Field|Collection award_money(string $label = null)
* @method Show\Field|Collection img(string $label = null)
* @method Show\Field|Collection start_at(string $label = null)
* @method Show\Field|Collection freight(string $label = null)
* @method Show\Field|Collection money(string $label = null)
* @method Show\Field|Collection mp_id(string $label = null)
* @method Show\Field|Collection is_pay(string $label = null)
@ -3757,6 +3748,7 @@ namespace Dcat\Admin {
* @method Show\Field|Collection repay(string $label = null)
* @method Show\Field|Collection category_text(string $label = null)
* @method Show\Field|Collection value(string $label = null)
* @method Show\Field|Collection width(string $label = null)
* @method Show\Field|Collection start_time_text(string $label = null)
* @method Show\Field|Collection end_time_text(string $label = null)
* @method Show\Field|Collection full_amount(string $label = null)
@ -3780,11 +3772,21 @@ namespace Dcat\Admin {
* @method Show\Field|Collection store_id(string $label = null)
* @method Show\Field|Collection store_name(string $label = null)
* @method Show\Field|Collection new_user_total(string $label = null)
* @method Show\Field|Collection mm_user_id(string $label = null)
* @method Show\Field|Collection logo_url(string $label = null)
* @method Show\Field|Collection store_applet_img(string $label = null)
* @method Show\Field|Collection cash_code_img(string $label = null)
* @method Show\Field|Collection is_open(string $label = null)
* @method Show\Field|Collection cover_img_url(string $label = null)
* @method Show\Field|Collection price(string $label = null)
* @method Show\Field|Collection category_id(string $label = null)
* @method Show\Field|Collection goods_category_id(string $label = null)
* @method Show\Field|Collection on_sale(string $label = null)
* @method Show\Field|Collection order_num(string $label = null)
* @method Show\Field|Collection state(string $label = null)
* @method Show\Field|Collection pay_time(string $label = null)
* @method Show\Field|Collection time(string $label = null)
* @method Show\Field|Collection head_url(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)
@ -3872,7 +3874,6 @@ namespace Dcat\Admin {
* @method Show\Field|Collection refreshtime(string $label = null)
* @method Show\Field|Collection deletetime(string $label = null)
* @method Show\Field|Collection switch(string $label = null)
* @method Show\Field|Collection state(string $label = null)
* @method Show\Field|Collection gender(string $label = null)
* @method Show\Field|Collection birthday(string $label = null)
* @method Show\Field|Collection bio(string $label = null)
@ -3965,9 +3966,7 @@ namespace Dcat\Admin {
* @method Show\Field|Collection item(string $label = null)
* @method Show\Field|Collection area_name(string $label = null)
* @method Show\Field|Collection num(string $label = null)
* @method Show\Field|Collection img(string $label = null)
* @method Show\Field|Collection stars(string $label = null)
* @method Show\Field|Collection time(string $label = null)
* @method Show\Field|Collection order_id(string $label = null)
* @method Show\Field|Collection hf(string $label = null)
* @method Show\Field|Collection hf_time(string $label = null)
@ -4064,14 +4063,12 @@ namespace Dcat\Admin {
* @method Show\Field|Collection display(string $label = null)
* @method Show\Field|Collection introduction(string $label = null)
* @method Show\Field|Collection hx_id(string $label = null)
* @method Show\Field|Collection order_num(string $label = null)
* @method Show\Field|Collection goods_type(string $label = null)
* @method Show\Field|Collection goods_num(string $label = null)
* @method Show\Field|Collection pay_type(string $label = null)
* @method Show\Field|Collection receive_name(string $label = null)
* @method Show\Field|Collection receive_tel(string $label = null)
* @method Show\Field|Collection receive_address(string $label = null)
* @method Show\Field|Collection pay_time(string $label = null)
* @method Show\Field|Collection cz_time(string $label = null)
* @method Show\Field|Collection question(string $label = null)
* @method Show\Field|Collection answer(string $label = null)
@ -4101,9 +4098,16 @@ namespace Dcat\Admin {
* @method Show\Field|Collection waimai_pay_temp(string $label = null)
* @method Show\Field|Collection dangmian_pay_temp(string $label = null)
* @method Show\Field|Collection ziti_pay_temp(string $label = null)
* @method Show\Field|Collection coordinates(string $label = null)
* @method Show\Field|Collection poundage(string $label = null)
* @method Show\Field|Collection dn_poundage(string $label = null)
* @method Show\Field|Collection dm_poundage(string $label = null)
* @method Show\Field|Collection yd_poundage(string $label = null)
* @method Show\Field|Collection dada_number(string $label = null)
* @method Show\Field|Collection is_open_dada(string $label = null)
* @method Show\Field|Collection tel(string $label = null)
* @method Show\Field|Collection loudspeaker_imei(string $label = null)
* @method Show\Field|Collection dishes_menu_intro(string $label = null)
* @method Show\Field|Collection create_time(string $label = null)
* @method Show\Field|Collection deleted_at(string $label = null)
* @method Show\Field|Collection sender(string $label = null)
* @method Show\Field|Collection is_email(string $label = null)
@ -4246,8 +4250,6 @@ namespace Dcat\Admin {
* @method Show\Field|Collection sss_shop_token(string $label = null)
* @method Show\Field|Collection time4(string $label = null)
* @method Show\Field|Collection announcement(string $label = null)
* @method Show\Field|Collection start_at(string $label = null)
* @method Show\Field|Collection freight(string $label = null)
* @method Show\Field|Collection yyzz(string $label = null)
* @method Show\Field|Collection md_area(string $label = null)
* @method Show\Field|Collection md_type(string $label = null)
@ -4274,7 +4276,6 @@ namespace Dcat\Admin {
* @method Show\Field|Collection store_mchid(string $label = null)
* @method Show\Field|Collection cash_code(string $label = null)
* @method Show\Field|Collection store_wallet(string $label = null)
* @method Show\Field|Collection award_money(string $label = null)
* @method Show\Field|Collection add_time(string $label = null)
* @method Show\Field|Collection category(string $label = null)
* @method Show\Field|Collection xyh_open(string $label = null)
@ -4905,7 +4906,6 @@ namespace Dcat\Admin {
* @method Show\Field|Collection service_personnel_id(string $label = null)
* @method Show\Field|Collection user_created_at(string $label = null)
* @method Show\Field|Collection qr_url(string $label = null)
* @method Show\Field|Collection head_url(string $label = null)
* @method Show\Field|Collection set_reward(string $label = null)
* @method Show\Field|Collection device_name(string $label = null)
* @method Show\Field|Collection bind_time(string $label = null)

13
resources/lang/zh-CN/lanzu-admin-user-market.php

@ -0,0 +1,13 @@
<?php
return [
'labels' => [
'LanzuAdminUserMarket' => '用户市场关联',
'admin_user_market'=>'用户关联市场'
],
'fields' => [
'admin_user_id' => '用户登陆账号ID',
'market_id' => '市场ID',
],
'options' => [
],
];
Loading…
Cancel
Save