From 6793c01f0f987d63d30548b9a6fe2f1694f57db8 Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Mon, 28 Nov 2022 23:58:03 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/form/User.php | 12 +++++++++++- app/admin/view/default/goods/module/info.html | 2 +- app/admin/view/default/goodsbrowse/module/goods.html | 2 +- app/admin/view/default/goodscart/module/goods.html | 2 +- .../view/default/goodscomments/module/goods.html | 2 +- app/admin/view/default/goodsfavor/module/goods.html | 2 +- 6 files changed, 16 insertions(+), 6 deletions(-) diff --git a/app/admin/form/User.php b/app/admin/form/User.php index 2c97b6416..3000cbcb3 100644 --- a/app/admin/form/User.php +++ b/app/admin/form/User.php @@ -63,7 +63,17 @@ class User 'is_sort' => 1, 'search_config' => [ 'form_type' => 'input', - 'form_name' => 'id', + 'where_type' => '=', + ], + ], + [ + 'label' => '会员码', + 'view_type' => 'field', + 'view_key' => 'number_code', + 'width' => 110, + 'is_sort' => 1, + 'search_config' => [ + 'form_type' => 'input', 'where_type' => '=', ], ], diff --git a/app/admin/view/default/goods/module/info.html b/app/admin/view/default/goods/module/info.html index 5d6c4ea0f..9a2ed2a8d 100644 --- a/app/admin/view/default/goods/module/info.html +++ b/app/admin/view/default/goods/module/info.html @@ -2,7 +2,7 @@ {{if !empty($module_data)}}
- + {{$module_data.title}} {{if !empty($module_data['simple_desc'])}} diff --git a/app/admin/view/default/goodsbrowse/module/goods.html b/app/admin/view/default/goodsbrowse/module/goods.html index baece3a92..1410a4ec2 100644 --- a/app/admin/view/default/goodsbrowse/module/goods.html +++ b/app/admin/view/default/goodsbrowse/module/goods.html @@ -2,7 +2,7 @@ {{if !empty($module_data)}}
- + {{$module_data.title}} {{if !empty($module_data['simple_desc'])}} diff --git a/app/admin/view/default/goodscart/module/goods.html b/app/admin/view/default/goodscart/module/goods.html index e4376f695..119185eea 100644 --- a/app/admin/view/default/goodscart/module/goods.html +++ b/app/admin/view/default/goodscart/module/goods.html @@ -2,7 +2,7 @@ {{if !empty($module_data)}}
- + {{$module_data.title}} {{if !empty($module_data['simple_desc'])}} diff --git a/app/admin/view/default/goodscomments/module/goods.html b/app/admin/view/default/goodscomments/module/goods.html index ad4886a0c..3f0b36c88 100644 --- a/app/admin/view/default/goodscomments/module/goods.html +++ b/app/admin/view/default/goodscomments/module/goods.html @@ -3,7 +3,7 @@ {{if !empty($module_data['goods'])}} diff --git a/app/admin/view/default/goodsfavor/module/goods.html b/app/admin/view/default/goodsfavor/module/goods.html index baece3a92..1410a4ec2 100644 --- a/app/admin/view/default/goodsfavor/module/goods.html +++ b/app/admin/view/default/goodsfavor/module/goods.html @@ -2,7 +2,7 @@ {{if !empty($module_data)}}
- + {{$module_data.title}} {{if !empty($module_data['simple_desc'])}}