diff --git a/LICENSE.txt b/LICENSE.txt index 356543511..32eba773b 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2021 ShopXO +Copyright (c) 2024 ShopXO免费开源商城 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 529c08844..d82954202 100755 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@
- +
'.MyLang('store_bind_account_tips').'
'); + MyViewAssign('ext_html', ''.MyLang('store_already_bind_accounts_tips').'
'); MyViewAssign('msg', $msg); return MyView('public/tips_error'); } diff --git a/app/admin/controller/Config.php b/app/admin/controller/Config.php index 4a2cc68e3..5b49bae47 100755 --- a/app/admin/controller/Config.php +++ b/app/admin/controller/Config.php @@ -35,9 +35,11 @@ class Config extends Base // 模板数据 $assign = [ // 数据 - 'data' => ConfigService::ConfigList(), + 'data' => ConfigService::ConfigList(), // 页面类型 - 'view_type' => 'index', + 'view_type' => 'index', + // 静态数据 + 'common_token_created_rules_list' => MyConst('common_token_created_rules_list'), ]; MyViewAssign($assign); return MyView(); @@ -87,6 +89,7 @@ class Config extends Base $field_list[] = 'admin_logo'; $field_list[] = 'admin_login_logo'; $field_list[] = 'admin_login_ad_images'; + $field_list[] = 'common_token_created_rules'; break; // 商店信息 diff --git a/app/admin/controller/Design.php b/app/admin/controller/Design.php index 593e98ea5..55271b676 100644 --- a/app/admin/controller/Design.php +++ b/app/admin/controller/Design.php @@ -17,7 +17,7 @@ use app\service\BrandService; use app\service\StoreService; use app\service\GoodsService; use app\service\GoodsCategoryService; -use app\layout\service\BaseLayout; +use app\module\LayoutModule; /** * 页面设计管理 @@ -44,6 +44,19 @@ class Design extends Base return MyView(); } + /** + * 详情 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2020-09-10 + * @desc description + */ + public function Detail() + { + return MyView(); + } + /** * 编辑页面 * @author Devil @@ -69,7 +82,7 @@ class Design extends Base } // 配置处理 - $layout_data = BaseLayout::ConfigAdminHandle($data['config']); + $layout_data = LayoutModule::ConfigAdminHandle($data['config']); unset($data['config']); // 商品分类 @@ -81,7 +94,7 @@ class Design extends Base 'layout_data' => $layout_data, 'data' => $data, // 页面列表 - 'pages_list' => BaseLayout::PagesList(), + 'pages_list' => LayoutModule::PagesList(), // 商品分类 'goods_category_list' => $goods_category, // 商品搜索分类(分类) @@ -90,11 +103,11 @@ class Design extends Base // 品牌 'brand_list' => BrandService::CategoryBrand(), // 静态数据 - 'border_style_type_list' => BaseLayout::ConstData('border_style_type_list'), - 'goods_view_list_show_style' => BaseLayout::ConstData('goods_view_list_show_style'), - 'many_images_view_list_show_style' => BaseLayout::ConstData('many_images_view_list_show_style'), - 'images_text_view_list_show_style' => BaseLayout::ConstData('images_text_view_list_show_style'), - 'images_magic_cube_view_list_show_style' => BaseLayout::ConstData('images_magic_cube_view_list_show_style'), + 'border_style_type_list' => LayoutModule::ConstData('border_style_type_list'), + 'goods_view_list_show_style' => LayoutModule::ConstData('goods_view_list_show_style'), + 'many_images_view_list_show_style' => LayoutModule::ConstData('many_images_view_list_show_style'), + 'images_text_view_list_show_style' => LayoutModule::ConstData('images_text_view_list_show_style'), + 'images_magic_cube_view_list_show_style' => LayoutModule::ConstData('images_magic_cube_view_list_show_style'), // 首页商品排序规则 'common_goods_order_by_type_list' => MyConst('common_goods_order_by_type_list'), 'common_data_order_by_rule_list' => MyConst('common_data_order_by_rule_list'), @@ -189,5 +202,23 @@ class Design extends Base { return ApiService::ApiDataReturn(DesignService::DesignUpload($this->data_request)); } + + /** + * 模板市场 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2022-04-19 + * @desc description + */ + public function Market() + { + $ret = DesignService::DesignMarket($this->data_request); + if($ret['code'] == 0 && isset($ret['data']['data_list'])) + { + $ret['data']['data_list'] = MyView('public/market/list', ['data_list'=>$ret['data']['data_list']]); + } + return ApiService::ApiDataReturn($ret); + } } ?> \ No newline at end of file diff --git a/app/admin/controller/Diy.php b/app/admin/controller/Diy.php new file mode 100644 index 000000000..f826966c6 --- /dev/null +++ b/app/admin/controller/Diy.php @@ -0,0 +1,196 @@ +data_request['view_type']) ? 'index' : $this->data_request['view_type']; + // 应用商店 + MyViewAssign('store_diy_url', StoreService::StoreDiyUrl()); + return MyView($view_type); + } + + /** + * 详情 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2020-09-10 + * @desc description + */ + public function Detail() + { + return MyView(); + } + + /** + * 预览 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2020-09-10 + * @desc description + */ + public function Preview() + { + MyViewAssign('data', DiyService::DiyPreviewUrl($this->data_detail)); + return MyView(); + } + + /** + * 编辑页面 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2020-09-10 + * @desc description + */ + public function SaveInfo() + { + $data = $this->data_detail; + if(empty($data)) + { + $is_auto_create = isset($this->data_request['is_auto_create']) ? intval($this->data_request['is_auto_create']) : 1; + if($is_auto_create == 1) + { + $ret = DiyService::DiySave(); + if($ret['code'] == 0) + { + return MyRedirect(MyUrl('admin/diy/saveinfo', ['id'=>$ret['data']])); + } + return MyView('public/tips_error', ['msg'=>$ret['msg']]); + } + } else { + if(!empty($data['md5_key'])) + { + $ret = DiyService::DiyLegalCheck($data['md5_key'], $data); + if($ret['code'] != 0) + { + return MyView('public/tips_error', ['msg'=>$ret['msg']]); + } + } + } + return MyView(); + } + + /** + * 下载 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2022-04-17 + * @desc description + */ + public function Download() + { + $ret = DiyService::DiyDownload($this->data_request); + if(isset($ret['code']) && $ret['code'] != 0) + { + MyViewAssign('msg', $ret['msg']); + return MyView('public/tips_error'); + } + } + + /** + * 保存 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2020-09-29 + * @desc description + */ + public function Save() + { + return ApiService::ApiDataReturn(DiyService::DiySave($this->data_request)); + } + + /** + * 状态更新 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2021-03-31 + * @desc description + */ + public function StatusUpdate() + { + return ApiService::ApiDataReturn(DiyService::DiyStatusUpdate($this->data_request)); + } + + /** + * 删除 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2021-03-31 + * @desc description + */ + public function Delete() + { + return ApiService::ApiDataReturn(DiyService::DiyDelete($this->data_request)); + } + + /** + * 导入 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2022-04-19 + * @desc description + */ + public function Upload() + { + return ApiService::ApiDataReturn(DiyService::DiyUpload($this->data_request)); + } + + /** + * 模板市场 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2022-04-19 + * @desc description + */ + public function Market() + { + $ret = DiyService::DiyMarket($this->data_request); + if($ret['code'] == 0 && isset($ret['data']['data_list'])) + { + $ret['data']['data_list'] = MyView('public/market/list', ['data_list'=>$ret['data']['data_list']]); + } + return ApiService::ApiDataReturn($ret); + } +} +?> \ No newline at end of file diff --git a/app/admin/controller/Diyapi.php b/app/admin/controller/Diyapi.php new file mode 100644 index 000000000..464576247 --- /dev/null +++ b/app/admin/controller/Diyapi.php @@ -0,0 +1,450 @@ +data_request)); + } + + /** + * 附件分类 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2024-07-18 + * @desc description + */ + public function AttachmentCategory() + { + return ApiService::ApiDataReturn(DiyApiService::AttachmentCategory($this->data_request)); + } + + /** + * 附件列表 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2024-07-18 + * @desc description + */ + public function AttachmentList() + { + return ApiService::ApiDataReturn(DiyApiService::AttachmentList($this->data_request)); + } + + /** + * 附件保存 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2024-07-18 + * @desc description + */ + public function AttachmentSave() + { + return ApiService::ApiDataReturn(DiyApiService::AttachmentSave($this->data_request)); + } + + /** + * 附件删除 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2024-07-18 + * @desc description + */ + public function AttachmentDelete() + { + return ApiService::ApiDataReturn(DiyApiService::AttachmentDelete($this->data_request)); + } + + /** + * 附件上传 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2024-07-18 + * @desc description + */ + public function AttachmentUpload() + { + return ApiService::ApiDataReturn(DiyApiService::AttachmentUpload($this->data_request)); + } + + /** + * 远程下载 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2024-07-18 + * @desc description + */ + public function AttachmentCatch() + { + return ApiService::ApiDataReturn(DiyApiService::AttachmentCatch($this->data_request)); + } + + /** + * 附件扫码上传数据 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2024-07-18 + * @desc description + */ + public function AttachmentScanUploadData() + { + return ApiService::ApiDataReturn(DiyApiService::AttachmentScanUploadData($this->data_request)); + } + + /** + * 附件移动分类 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2024-07-18 + * @desc description + */ + public function AttachmentMoveCategory() + { + return ApiService::ApiDataReturn(DiyApiService::AttachmentMoveCategory($this->data_request)); + } + + /** + * 附件分类保存 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2024-07-18 + * @desc description + */ + public function AttachmentCategorySave() + { + return ApiService::ApiDataReturn(DiyApiService::AttachmentCategorySave($this->data_request)); + } + + /** + * 附件分类删除 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2024-07-18 + * @desc description + */ + public function AttachmentCategoryDelete() + { + return ApiService::ApiDataReturn(DiyApiService::AttachmentCategoryDelete($this->data_request)); + } + + /** + * 商品列表 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2024-07-18 + * @desc description + */ + public function GoodsList() + { + return ApiService::ApiDataReturn(DiyApiService::GoodsList($this->data_request)); + } + + /** + * 自定义页面列表 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2024-07-18 + * @desc description + */ + public function CustomViewList() + { + return ApiService::ApiDataReturn(DiyApiService::CustomViewList($this->data_request)); + } + + /** + * 页面设计列表 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2024-07-18 + * @desc description + */ + public function DesignList() + { + return ApiService::ApiDataReturn(DiyApiService::DesignList($this->data_request)); + } + + /** + * 文章列表 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2024-07-18 + * @desc description + */ + public function ArticleList() + { + return ApiService::ApiDataReturn(DiyApiService::ArticleList($this->data_request)); + } + + /** + * 品牌列表 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2024-07-18 + * @desc description + */ + public function BrandList() + { + return ApiService::ApiDataReturn(DiyApiService::BrandList($this->data_request)); + } + + /** + * Diy装修列表 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2024-07-18 + * @desc description + */ + public function DiyList() + { + return ApiService::ApiDataReturn(DiyApiService::DiyList($this->data_request)); + } + + /** + * Diy装修详情 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2024-07-18 + * @desc description + */ + public function DiyDetail() + { + return ApiService::ApiDataReturn(DiyApiService::DiyDetail($this->data_request)); + } + + /** + * Diy装修保存 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2024-07-18 + * @desc description + */ + public function DiySave() + { + return ApiService::ApiDataReturn(DiyApiService::DiySave($this->data_request)); + } + + /** + * Diy装修导入 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2024-07-18 + * @desc description + */ + public function DiyUpload() + { + return ApiService::ApiDataReturn(DiyApiService::DiyUpload($this->data_request)); + } + + /** + * Diy装修导出 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2024-07-18 + * @desc description + */ + public function DiyDownload() + { + $ret = DiyApiService::DiyDownload($this->data_request); + if($ret['code'] != 0) + { + return MyView('public/tips_error', ['msg'=>$ret['msg']]); + } + return ApiService::ApiDataReturn($ret); + } + + /** + * diy模板安装 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2022-04-19 + * @desc description + */ + public function DiyInstall() + { + return ApiService::ApiDataReturn(DiyApiService::DiyInstall($this->data_request)); + } + + /** + * diy模板市场 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2022-04-19 + * @desc description + */ + public function DiyMarket() + { + return ApiService::ApiDataReturn(DiyApiService::DiyMarket($this->data_request)); + } + + /** + * 底部菜单保存 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2024-07-18 + * @desc description + */ + public function AppTabbarSave() + { + return ApiService::ApiDataReturn(DiyApiService::AppTabbarSave($this->data_request)); + } + + /** + * 底部菜单数据 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2024-07-18 + * @desc description + */ + public function AppTabbarData() + { + return ApiService::ApiDataReturn(DiyApiService::AppTabbarData($this->data_request)); + } + + + + /** + * 商品初始化 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2024-07-18 + * @desc description + */ + public function GoodsInit() + { + return ApiService::ApiDataReturn(DiyApiService::GoodsInit($this->data_request)); + } + + /** + * 商品指定数据 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2024-07-18 + * @desc description + */ + public function GoodsAppointData() + { + return ApiService::ApiDataReturn(DiyApiService::GoodsAppointData($this->data_request)); + } + + /** + * 商品自动数据 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2024-07-18 + * @desc description + */ + public function GoodsAutoData() + { + return ApiService::ApiDataReturn(DiyApiService::GoodsAutoData($this->data_request)); + } + + /** + * 文章指定数据 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2024-07-18 + * @desc description + */ + public function ArticleAppointData() + { + return ApiService::ApiDataReturn(DiyApiService::ArticleAppointData($this->data_request)); + } + + /** + * 文章自动数据 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2024-07-18 + * @desc description + */ + public function ArticleAutoData() + { + return ApiService::ApiDataReturn(DiyApiService::ArticleAutoData($this->data_request)); + } + + /** + * 用户头部数据 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2024-07-18 + * @desc description + */ + public function UserHeadData() + { + return ApiService::ApiDataReturn(DiyApiService::UserHeadData($this->data_request)); + } + + /** + * 自定义初始化 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2024-07-18 + * @desc description + */ + public function CustomInit() + { + return ApiService::ApiDataReturn(DiyApiService::CustomInit($this->data_request)); + } +} +?> \ No newline at end of file diff --git a/app/admin/controller/Errorlog.php b/app/admin/controller/Errorlog.php new file mode 100644 index 000000000..2c8ce0382 --- /dev/null +++ b/app/admin/controller/Errorlog.php @@ -0,0 +1,82 @@ +data_request; + $params['admin'] = $this->admin; + return ApiService::ApiDataReturn(ErrorLogService::ErrorLogDelete($params)); + } + + /** + * 全部删除 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2021-11-18 + * @desc description + */ + public function AllDelete() + { + $params = $this->data_request; + $params['admin'] = $this->admin; + return ApiService::ApiDataReturn(ErrorLogService::ErrorLogAllDelete($params)); + } +} +?> \ No newline at end of file diff --git a/app/admin/controller/Index.php b/app/admin/controller/Index.php index 0948ad72f..0451f1cdd 100755 --- a/app/admin/controller/Index.php +++ b/app/admin/controller/Index.php @@ -58,8 +58,8 @@ class Index extends Common */ public function Index() { - // 默认进入页面初始化 - $to_url = MyUrl('admin/index/init'); + // 默认地址 + $to_url = ''; // 是否指定页面地址 if(!empty($this->data_request['to_url'])) diff --git a/app/admin/controller/Packageupgrade.php b/app/admin/controller/Packageupgrade.php index 566dcd4ef..9cb402dbf 100644 --- a/app/admin/controller/Packageupgrade.php +++ b/app/admin/controller/Packageupgrade.php @@ -12,7 +12,7 @@ namespace app\admin\controller; use app\admin\controller\Base; use app\service\ApiService; -use app\service\PluginsUpgradeService; +use app\service\PackageUpgradeService; /** * 软件包更新 @@ -33,7 +33,7 @@ class Packageupgrade extends Base */ public function Upgrade() { - return ApiService::ApiDataReturn(PluginsUpgradeService::Run($this->data_request)); + return ApiService::ApiDataReturn(PackageUpgradeService::Run($this->data_request)); } } ?> \ No newline at end of file diff --git a/app/admin/controller/Payment.php b/app/admin/controller/Payment.php index 613099b35..91937c0c1 100755 --- a/app/admin/controller/Payment.php +++ b/app/admin/controller/Payment.php @@ -52,38 +52,45 @@ class Payment extends Base */ public function Index() { - // 插件列表 - $payment = PaymentService::PluginsPaymentList($this->nav_type); - - // 插件更新信息 - $upgrade = PaymentService::PaymentUpgradeInfo($payment['data']); - // 是否未绑定商店账号 - if($upgrade['code'] == -300) - { - return $this->NotBindStoreAccountTips($upgrade['msg']); - } - // 模板数据 $assign = [ - // 导航类型 - 'nav_type' => $this->nav_type, - // 支付插件列表 - 'data_list' => empty($payment['data']) ? [] : $payment['data'], - // 不能删除的支付方式 - 'cannot_deleted_list' => PaymentService::$cannot_deleted_list, - // 管理导航 - 'nav_data' => MyLang('payment.base_nav_list'), - // 适用平台 - 'common_platform_type' => MyConst('common_platform_type'), // 应用商店 - 'store_payment_url' => StoreService::StorePaymentUrl(), - // 支付插件更新信息 - 'upgrade_info' => $upgrade['data'], + 'store_payment_url' => StoreService::StorePaymentUrl(), ]; - // 数据赋值 + // 页面类型 + $view_type = empty($this->data_request['view_type']) ? 'index' : $this->data_request['view_type']; + if($view_type == 'index') + { + // 插件列表 + $payment = PaymentService::PluginsPaymentList($this->nav_type); + + // 插件更新信息 + $upgrade = PaymentService::PaymentUpgradeInfo($payment['data']); + // 是否未绑定商店账号 + if($upgrade['code'] == -300) + { + return $this->NotBindStoreAccountTips($upgrade['msg']); + } + + // 模板数据 + $assign = array_merge($assign, [ + // 导航类型 + 'nav_type' => $this->nav_type, + // 支付插件列表 + 'data_list' => empty($payment['data']) ? [] : $payment['data'], + // 不能删除的支付方式 + 'cannot_deleted_list' => PaymentService::$cannot_deleted_list, + // 管理导航 + 'nav_data' => MyLang('payment.base_nav_list'), + // 适用平台 + 'common_platform_type' => MyConst('common_platform_type'), + // 支付插件更新信息 + 'upgrade_info' => $upgrade['data'], + ]); + } MyViewAssign($assign); - return MyView(); + return MyView($view_type); } /** @@ -197,5 +204,23 @@ class Payment extends Base { return ApiService::ApiDataReturn(PaymentService::Upload($this->data_request)); } + + /** + * 应用市场 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2022-04-19 + * @desc description + */ + public function Market() + { + $ret = PaymentService::PaymentMarket($this->data_request); + if($ret['code'] == 0 && isset($ret['data']['data_list'])) + { + $ret['data']['data_list'] = MyView('public/market/list', ['data_list'=>$ret['data']['data_list']]); + } + return ApiService::ApiDataReturn($ret); + } } ?> \ No newline at end of file diff --git a/app/admin/controller/Pluginsadmin.php b/app/admin/controller/Pluginsadmin.php index 4693b3a97..61caf0fad 100755 --- a/app/admin/controller/Pluginsadmin.php +++ b/app/admin/controller/Pluginsadmin.php @@ -16,7 +16,7 @@ use app\service\StoreService; use app\service\PluginsAdminService; use app\service\ResourcesService; use app\service\PluginsService; -use app\service\PluginsUpgradeService; +use app\service\PackageUpgradeService; use app\service\PluginsCategoryService; /** @@ -28,24 +28,6 @@ use app\service\PluginsCategoryService; */ class Pluginsadmin extends Base { - private $view_type; - - /** - * 构造方法 - * @author Devil - * @blog http://gong.gg/ - * @version 0.0.1 - * @datetime 2016-12-03T12:39:08+0800 - */ - public function __construct() - { - // 调用父类前置方法 - parent::__construct(); - - // 小导航 - $this->view_type = empty($this->data_request['view_type']) ? 'index' : $this->data_request['view_type']; - } - /** * 列表 * @author Devil @@ -57,16 +39,13 @@ class Pluginsadmin extends Base { // 模板数据 $assign = [ - // 导航参数 - 'view_type' => $this->view_type, - // 管理导航 - 'nav_data' => MyLang('pluginsadmin.base_nav_list'), // 应用商店地址 'store_url' => StoreService::StoreUrl(), ]; // 页面类型 - if($this->view_type == 'index') + $view_type = empty($this->data_request['view_type']) ? 'index' : $this->data_request['view_type']; + if($view_type == 'index') { // 插件列表 $ret = PluginsAdminService::PluginsList(['is_power'=>true]); @@ -80,10 +59,8 @@ class Pluginsadmin extends Base $categosy = PluginsCategoryService::PluginsCategoryList(); $assign['plugins_categosy_list'] = $categosy['data']; } - - // 数据赋值 MyViewAssign($assign); - return MyView($this->view_type); + return MyView($view_type); } /** @@ -310,7 +287,25 @@ class Pluginsadmin extends Base */ public function Upgrade() { - return ApiService::ApiDataReturn(PluginsUpgradeService::Run($this->data_request)); + return ApiService::ApiDataReturn(PackageUpgradeService::Run($this->data_request)); + } + + /** + * 应用市场 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2022-04-19 + * @desc description + */ + public function Market() + { + $ret = PluginsAdminService::PluginsAdminMarket($this->data_request); + if($ret['code'] == 0 && isset($ret['data']['data_list'])) + { + $ret['data']['data_list'] = MyView('public/market/list', ['data_list'=>$ret['data']['data_list']]); + } + return ApiService::ApiDataReturn($ret); } } ?> \ No newline at end of file diff --git a/app/admin/controller/Site.php b/app/admin/controller/Site.php index b96832f42..5df1ace76 100755 --- a/app/admin/controller/Site.php +++ b/app/admin/controller/Site.php @@ -159,45 +159,47 @@ class Site extends Base // 模板数据 $assign = [ // 主/子导航 - 'nav_type' => $this->nav_type, - 'view_type' => $this->view_type, + 'nav_type' => $this->nav_type, + 'view_type' => $this->view_type, // 时区 - 'common_site_timezone_list' => MyLang('common_site_timezone_list'), + 'common_site_timezone_list' => MyLang('common_site_timezone_list'), // 平台 - 'common_platform_type' => MyConst('common_platform_type'), + 'common_platform_type' => MyConst('common_platform_type'), // 关闭开启 - 'common_close_open_list' => MyConst('common_close_open_list'), + 'common_close_open_list' => MyConst('common_close_open_list'), // 登录方式 - 'common_login_type_list' => MyConst('common_login_type_list'), + 'common_login_type_list' => MyConst('common_login_type_list'), // 用户注册类型列表 - 'common_user_reg_type_list' => MyConst('common_user_reg_type_list'), + 'common_user_reg_type_list' => MyConst('common_user_reg_type_list'), + // 图片验证码类型 + 'common_site_images_verify_rand_type_list' => MyConst('common_site_images_verify_rand_type_list'), // 图片验证码规则 - 'common_site_images_verify_rules_list' => MyConst('common_site_images_verify_rules_list'), + 'common_site_images_verify_rules_list' => MyConst('common_site_images_verify_rules_list'), // 热门搜索关键字 - 'common_search_keywords_type_list' => MyConst('common_search_keywords_type_list'), + 'common_search_keywords_type_list' => MyConst('common_search_keywords_type_list'), // 是否 - 'common_is_text_list' => MyConst('common_is_text_list'), + 'common_is_text_list' => MyConst('common_is_text_list'), // 站点类型 - 'common_site_type_list' => MyConst('common_site_type_list'), + 'common_site_type_list' => MyConst('common_site_type_list'), // 扣除库存规则 - 'common_deduction_inventory_rules_list' => MyConst('common_deduction_inventory_rules_list'), + 'common_deduction_inventory_rules_list' => MyConst('common_deduction_inventory_rules_list'), // 增加销量规则 - 'common_sales_count_inc_rules_list' => MyConst('common_sales_count_inc_rules_list'), + 'common_sales_count_inc_rules_list' => MyConst('common_sales_count_inc_rules_list'), // 首页商品排序规则 - 'common_goods_order_by_type_list' => MyConst('common_goods_order_by_type_list'), - 'common_data_order_by_rule_list' => MyConst('common_data_order_by_rule_list'), + 'common_goods_order_by_type_list' => MyConst('common_goods_order_by_type_list'), + 'common_data_order_by_rule_list' => MyConst('common_data_order_by_rule_list'), // 首页楼层数据类型 - 'common_site_floor_data_type_list' => MyConst('common_site_floor_data_type_list'), + 'common_site_floor_data_type_list' => MyConst('common_site_floor_data_type_list'), // 搜索参数类型 - 'common_goods_parameters_type_list' => MyConst('common_goods_parameters_type_list'), + 'common_goods_parameters_type_list' => MyConst('common_goods_parameters_type_list'), // 多语言 - 'common_multilingual_list' => MyConst('common_multilingual_list'), + 'common_multilingual_list' => MyConst('common_multilingual_list'), // 商品分类 - 'common_show_goods_category_level_list' => MyConst('common_show_goods_category_level_list'), + 'common_show_goods_category_level_list' => MyConst('common_show_goods_category_level_list'), // 主导航 - 'base_nav_list' => MyLang('site.base_nav_list'), + 'base_nav_list' => MyLang('site.base_nav_list'), // 网站设置导航 - 'siteset_nav_list' => MyLang('site.siteset_nav_list'), + 'siteset_nav_list' => MyLang('site.siteset_nav_list'), ]; return $assign; } diff --git a/app/admin/controller/Themeadmin.php b/app/admin/controller/Themeadmin.php index 8f417751c..e88300430 100755 --- a/app/admin/controller/Themeadmin.php +++ b/app/admin/controller/Themeadmin.php @@ -24,101 +24,56 @@ use app\service\StoreService; */ class ThemeAdmin extends Base { - private $view_type; - - /** - * 构造方法 - * @author Devil - * @blog http://gong.gg/ - * @version 0.0.1 - * @datetime 2016-12-03T12:39:08+0800 - */ - public function __construct() - { - // 调用父类前置方法 - parent::__construct(); - - // 小导航 - $this->view_type = empty($this->data_request['view_type']) ? 'index' : $this->data_request['view_type']; - } - - /** + /** * 列表 * @author Devil * @blog http://gong.gg/ * @version 0.0.1 * @datetime 2016-12-06T21:31:53+0800 */ - public function Index() - { - // 获取主题列表 - $data_list = ThemeAdminService::ThemeAdminList(); - - // 插件更新信息 - $upgrade = ThemeAdminService::ThemeAdminUpgradeInfo($data_list); - // 是否未绑定商店账号 - if($upgrade['code'] == -300) - { - return $this->NotBindStoreAccountTips($upgrade['msg']); - } - - // 模板数据 - MyViewAssign([ - // 导航参数 - 'view_type' => $this->view_type, - // 基础导航 - 'base_nav' => MyLang('theme.base_nav_list'), - // 默认主题 - 'theme' => ThemeAdminService::DefaultTheme(), - // 主题列表 - 'data_list' => $data_list, - // 主题数据管理url - 'admin_url_data' => ThemeAdminService::ThemeAdminDataUrl(), - // 插件更新信息 - 'upgrade_info' => $upgrade['data'], + public function Index() + { + // 模板数据 + $assign = [ // 应用商店 'store_theme_url' => StoreService::StoreThemeUrl(), - ]); - return MyView($this->view_type); - } + ]; + // 页面类型 + $view_type = empty($this->data_request['view_type']) ? 'index' : $this->data_request['view_type']; + if($view_type == 'index') + { + // 获取主题列表 + $data_list = ThemeAdminService::ThemeAdminList(); - /** - * 切换保存 - * @author Devil - * @blog http://gong.gg/ - * @version 1.0.0 - * @datetime 2018-12-19T00:58:47+0800 - */ - public function Save() - { - return ApiService::ApiDataReturn(ThemeAdminService::ThemeAdminSwitch($this->data_request)); - } + // 更新信息 + $upgrade = ThemeAdminService::ThemeAdminUpgradeInfo($data_list); + // 是否未绑定商店账号 + if($upgrade['code'] == -300) + { + return $this->NotBindStoreAccountTips($upgrade['msg']); + } - /** - * 删除 - * @author Devil - * @blog http://gong.gg/ - * @version 0.0.1 - * @datetime 2016-12-09T21:13:47+0800 - */ - public function Delete() - { - return ApiService::ApiDataReturn(ThemeAdminService::ThemeAdminDelete($this->data_request)); - } + // 模板数据 + $assign = array_merge($assign, [ + // 基础导航 + 'base_nav' => MyLang('theme.base_nav_list'), + // 默认主题 + 'theme' => ThemeAdminService::DefaultTheme(), + // 主题列表 + 'data_list' => $data_list, + // 主题数据管理url + 'admin_url_data' => ThemeAdminService::ThemeAdminDataUrl(), + // 插件更新信息 + 'upgrade_info' => $upgrade['data'], + // 应用商店 + 'store_theme_url' => StoreService::StoreThemeUrl(), + ]); + } + MyViewAssign($assign); + return MyView($view_type); + } - /** - * 上传安装 - * @author Devil - * @blog http://gong.gg/ - * @version 0.0.1 - * @datetime 2017-05-10T16:27:09+0800 - */ - public function Upload() - { - return ApiService::ApiDataReturn(ThemeAdminService::ThemeAdminUpload($this->data_request)); - } - - /** + /** * 打包下载 * @author Devil * @blog http://gong.gg/ @@ -135,5 +90,59 @@ class ThemeAdmin extends Base return MyView('public/tips_error'); } } + + /** + * 切换保存 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @datetime 2018-12-19T00:58:47+0800 + */ + public function Save() + { + return ApiService::ApiDataReturn(ThemeAdminService::ThemeAdminSwitch($this->data_request)); + } + + /** + * 删除 + * @author Devil + * @blog http://gong.gg/ + * @version 0.0.1 + * @datetime 2016-12-09T21:13:47+0800 + */ + public function Delete() + { + return ApiService::ApiDataReturn(ThemeAdminService::ThemeAdminDelete($this->data_request)); + } + + /** + * 上传安装 + * @author Devil + * @blog http://gong.gg/ + * @version 0.0.1 + * @datetime 2017-05-10T16:27:09+0800 + */ + public function Upload() + { + return ApiService::ApiDataReturn(ThemeAdminService::ThemeAdminUpload($this->data_request)); + } + + /** + * 模板市场 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2022-04-19 + * @desc description + */ + public function Market() + { + $ret = ThemeAdminService::ThemeAdminMarket($this->data_request); + if($ret['code'] == 0 && isset($ret['data']['data_list'])) + { + $ret['data']['data_list'] = MyView('public/market/list', ['data_list'=>$ret['data']['data_list']]); + } + return ApiService::ApiDataReturn($ret); + } } ?> \ No newline at end of file diff --git a/app/admin/form/Article.php b/app/admin/form/Article.php index 0f6d10940..22e0e74a6 100644 --- a/app/admin/form/Article.php +++ b/app/admin/form/Article.php @@ -77,12 +77,13 @@ class Article 'images_height' => 25, ], [ - 'label' => $lang['info'], - 'view_type' => 'module', - 'view_key' => 'article/module/info', - 'grid_size' => 'sm', - 'is_sort' => 1, - 'search_config' => [ + 'label' => $lang['info'], + 'view_type' => 'module', + 'view_key' => 'article/module/info', + 'grid_size' => 'sm', + 'is_sort' => 1, + 'params_where_name' => 'keywords', + 'search_config' => [ 'form_type' => 'input', 'form_name' => 'title', 'where_type' => 'like', @@ -102,12 +103,13 @@ class Article ], ], [ - 'label' => $lang['article_category_name'], - 'view_type' => 'field', - 'view_key' => 'article_category_name', - 'is_sort' => 1, - 'width' => 140, - 'search_config' => [ + 'label' => $lang['article_category_name'], + 'view_type' => 'field', + 'view_key' => 'article_category_name', + 'is_sort' => 1, + 'width' => 140, + 'params_where_name' => 'category_ids', + 'search_config' => [ 'form_type' => 'select', 'form_name' => 'article_category_id', 'where_type' => 'in', @@ -118,15 +120,16 @@ class Article ], ], [ - 'label' => $lang['is_enable'], - 'view_type' => 'status', - 'view_key' => 'is_enable', - 'post_url' => MyUrl('admin/article/statusupdate'), - 'is_form_su' => 1, - 'align' => 'center', - 'is_sort' => 1, - 'width' => 130, - 'search_config' => [ + 'label' => $lang['is_enable'], + 'view_type' => 'status', + 'view_key' => 'is_enable', + 'post_url' => MyUrl('admin/article/statusupdate'), + 'is_form_su' => 1, + 'align' => 'center', + 'is_sort' => 1, + 'width' => 130, + 'params_where_name' => 'is_enable', + 'search_config' => [ 'form_type' => 'select', 'where_type' => 'in', 'data' => MyConst('common_is_text_list'), diff --git a/app/admin/form/Attachment.php b/app/admin/form/Attachment.php new file mode 100644 index 000000000..342a9f4a2 --- /dev/null +++ b/app/admin/form/Attachment.php @@ -0,0 +1,219 @@ +'id,name']); + $this->category_list = empty($res) ? [] : array_column($res, 'name', 'id'); + } + + /** + * 入口 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2020-06-16 + * @desc description + * @param [array] $params [输入参数] + */ + public function Run($params = []) + { + $lang = MyLang('attachment.form_table'); + return [ + // 基础配置 + 'base' => [ + 'key_field' => 'id', + 'is_search' => 1, + 'is_delete' => 1, + 'is_middle' => 0, + ], + // 表单配置 + 'form' => [ + [ + 'view_type' => 'checkbox', + 'is_checked' => 0, + 'checked_text' => MyLang('reverse_select_title'), + 'not_checked_text' => MyLang('select_all_title'), + 'align' => 'center', + 'width' => 80, + ], + [ + 'label' => $lang['category_name'], + 'view_type' => 'field', + 'view_key' => 'category_name', + 'is_sort' => 1, + 'width' => 160, + 'params_where_name' => 'category_id', + 'search_config' => [ + 'form_type' => 'select', + 'form_name' => 'category_id', + 'where_type' => 'in', + 'data' => $this->category_list, + 'is_multiple' => 1, + ], + ], + [ + 'label' => $lang['type_name'], + 'view_type' => 'field', + 'view_key' => 'type_name', + 'is_sort' => 1, + 'width' => 120, + 'params_where_name' => 'type', + 'search_config' => [ + 'form_type' => 'select', + 'form_name' => 'type', + 'where_type' => 'in', + 'data' => MyConst('common_attachment_type_list'), + 'data_key' => 'id', + 'data_name' => 'name', + 'is_multiple' => 1, + ], + ], + [ + 'label' => $lang['info'], + 'view_type' => 'module', + 'view_key' => 'attachment/module/info', + 'width' => 80, + ], + [ + 'label' => $lang['original'], + 'view_type' => 'field', + 'view_key' => 'original', + 'grid_size' => 'sm', + 'is_sort' => 1, + 'params_where_name' => 'keywords', + 'search_config' => [ + 'form_type' => 'input', + 'where_type' => 'like', + ], + ], + [ + 'label' => $lang['title'], + 'view_type' => 'field', + 'view_key' => 'title', + 'is_sort' => 1, + 'search_config' => [ + 'form_type' => 'input', + 'where_type' => 'like', + ], + ], + [ + 'label' => $lang['size'], + 'view_type' => 'field', + 'view_key' => 'size', + 'is_sort' => 1, + 'search_config' => [ + 'form_type' => 'section', + ], + ], + [ + 'label' => $lang['ext'], + 'view_type' => 'field', + 'view_key' => 'ext', + 'is_sort' => 1, + 'width' => 120, + 'search_config' => [ + 'form_type' => 'input', + 'where_type' => '=', + ], + ], + [ + 'label' => $lang['url'], + 'view_type' => 'field', + 'view_key' => 'url', + 'is_copy' => 1, + 'is_sort' => 1, + 'grid_size' => 'xl', + 'search_config' => [ + 'form_type' => 'input', + 'where_type' => 'like', + ], + ], + [ + 'label' => $lang['hash'], + 'view_type' => 'field', + 'view_key' => 'hash', + 'is_copy' => 1, + 'is_sort' => 1, + 'width' => 270, + 'search_config' => [ + 'form_type' => 'input', + 'where_type' => '=', + ], + ], + [ + 'label' => $lang['add_time'], + 'view_type' => 'field', + 'view_key' => 'add_time', + 'is_sort' => 1, + 'search_config' => [ + 'form_type' => 'datetime', + ], + ], + [ + 'label' => MyLang('operate_title'), + 'view_type' => 'operate', + 'view_key' => 'attachment/module/operate', + 'align' => 'center', + 'fixed' => 'right', + ], + ], + // 数据配置 + 'data' => [ + 'table_name' => 'Attachment', + 'is_page' => 1, + 'is_handle_annex_size_unit' => 1, + 'is_handle_annex_field' => 1, + 'handle_annex_fields' => ['url'], + 'is_handle_time_field' => 1, + 'is_fixed_name_field' => 1, + 'fixed_name_data' => [ + 'category_id' => [ + 'data' => $this->category_list, + 'field' => 'category_name', + ], + 'type' => [ + 'data' => MyConst('common_attachment_type_list'), + ], + ], + ], + ]; + } +} +?> \ No newline at end of file diff --git a/app/admin/form/Brand.php b/app/admin/form/Brand.php index 26a62403c..68ec31a15 100644 --- a/app/admin/form/Brand.php +++ b/app/admin/form/Brand.php @@ -61,12 +61,25 @@ class Brand 'width' => 80, ], [ - 'label' => $lang['name'], + 'label' => $lang['id'], 'view_type' => 'field', - 'view_key' => 'name', + 'view_key' => 'id', + 'width' => 110, + 'is_copy' => 1, 'is_sort' => 1, - 'width' => 150, 'search_config' => [ + 'form_type' => 'input', + 'where_type' => '=', + ], + ], + [ + 'label' => $lang['name'], + 'view_type' => 'field', + 'view_key' => 'name', + 'is_sort' => 1, + 'width' => 150, + 'params_where_name' => 'keywords', + 'search_config' => [ 'form_type' => 'input', 'where_type' => 'like', ], @@ -101,11 +114,12 @@ class Brand ], ], [ - 'label' => $lang['brand_category_text'], - 'view_type' => 'field', - 'view_key' => 'brand_category_text', - 'width' => 140, - 'search_config' => [ + 'label' => $lang['brand_category_text'], + 'view_type' => 'field', + 'view_key' => 'brand_category_text', + 'width' => 140, + 'params_where_name' => 'category_ids', + 'search_config' => [ 'form_type' => 'select', 'form_name' => 'id', 'where_type' => 'in', @@ -117,15 +131,16 @@ class Brand ], ], [ - 'label' => $lang['is_enable'], - 'view_type' => 'status', - 'view_key' => 'is_enable', - 'post_url' => MyUrl('admin/brand/statusupdate'), - 'is_form_su' => 1, - 'align' => 'center', - 'is_sort' => 1, - 'width' => 130, - 'search_config' => [ + 'label' => $lang['is_enable'], + 'view_type' => 'status', + 'view_key' => 'is_enable', + 'post_url' => MyUrl('admin/brand/statusupdate'), + 'is_form_su' => 1, + 'align' => 'center', + 'is_sort' => 1, + 'width' => 130, + 'params_where_name' => 'is_enable', + 'search_config' => [ 'form_type' => 'select', 'where_type' => 'in', 'data' => MyConst('common_is_text_list'), diff --git a/app/admin/form/Customview.php b/app/admin/form/Customview.php index 055d5d392..c140fcf9d 100644 --- a/app/admin/form/Customview.php +++ b/app/admin/form/Customview.php @@ -56,27 +56,46 @@ class CustomView 'width' => 80, ], [ - 'label' => $lang['info'], - 'view_type' => 'module', - 'view_key' => 'customview/module/info', - 'grid_size' => 'sm', + 'label' => $lang['id'], + 'view_type' => 'field', + 'view_key' => 'id', + 'width' => 110, + 'is_copy' => 1, 'is_sort' => 1, 'search_config' => [ 'form_type' => 'input', - 'form_name' => 'title', + 'where_type' => '=', + ], + ], + [ + 'label' => $lang['logo'], + 'view_type' => 'images', + 'view_key' => 'logo', + 'images_width' => 30, + 'width' => 80, + ], + [ + 'label' => $lang['name'], + 'view_type' => 'field', + 'view_key' => 'name', + 'is_sort' => 1, + 'params_where_name' => 'keywords', + 'search_config' => [ + 'form_type' => 'input', 'where_type' => 'like', ], ], [ - 'label' => $lang['is_enable'], - 'view_type' => 'status', - 'view_key' => 'is_enable', - 'post_url' => MyUrl('admin/customview/statusupdate'), - 'is_form_su' => 1, - 'align' => 'center', - 'is_sort' => 1, - 'width' => 130, - 'search_config' => [ + 'label' => $lang['is_enable'], + 'view_type' => 'status', + 'view_key' => 'is_enable', + 'post_url' => MyUrl('admin/customview/statusupdate'), + 'is_form_su' => 1, + 'align' => 'center', + 'is_sort' => 1, + 'width' => 130, + 'params_where_name' => 'is_enable', + 'search_config' => [ 'form_type' => 'select', 'where_type' => 'in', 'data' => MyConst('common_is_text_list'), diff --git a/app/admin/form/Design.php b/app/admin/form/Design.php index 9ca663fe9..4e4a05461 100644 --- a/app/admin/form/Design.php +++ b/app/admin/form/Design.php @@ -58,7 +58,8 @@ class Design 'label' => $lang['id'], 'view_type' => 'field', 'view_key' => 'id', - 'width' => 105, + 'width' => 110, + 'is_copy' => 1, 'is_sort' => 1, 'search_config' => [ 'form_type' => 'input', @@ -66,16 +67,21 @@ class Design ], ], [ - 'label' => $lang['info'], - 'view_type' => 'module', - 'view_key' => 'design/module/info', - 'grid_size' => 'sm', - 'is_sort' => 1, - 'sort_field' => 'name', + 'label' => $lang['logo'], + 'view_type' => 'images', + 'view_key' => 'logo', + 'images_width' => 30, + 'width' => 80, + ], + [ + 'label' => $lang['name'], + 'view_type' => 'field', + 'view_key' => 'name', + 'is_sort' => 1, + 'params_where_name' => 'keywords', 'search_config' => [ 'form_type' => 'input', 'where_type' => 'like', - 'placeholder' => $lang['info_placeholder'], ], ], [ @@ -89,15 +95,16 @@ class Design ], ], [ - 'label' => $lang['is_enable'], - 'view_type' => 'status', - 'view_key' => 'is_enable', - 'post_url' => MyUrl('admin/design/statusupdate'), - 'is_form_su' => 1, - 'align' => 'center', - 'is_sort' => 1, - 'width' => 130, - 'search_config' => [ + 'label' => $lang['is_enable'], + 'view_type' => 'status', + 'view_key' => 'is_enable', + 'post_url' => MyUrl('admin/design/statusupdate'), + 'is_form_su' => 1, + 'align' => 'center', + 'is_sort' => 1, + 'width' => 130, + 'params_where_name' => 'is_enable', + 'search_config' => [ 'form_type' => 'select', 'where_type' => 'in', 'data' => MyConst('common_is_text_list'), diff --git a/app/admin/form/Diy.php b/app/admin/form/Diy.php new file mode 100644 index 000000000..46c0cadab --- /dev/null +++ b/app/admin/form/Diy.php @@ -0,0 +1,184 @@ + [ + 'key_field' => 'id', + 'status_field' => 'is_enable', + 'is_search' => 1, + 'is_delete' => 1, + 'is_middle' => 0, + ], + // 表单配置 + 'form' => [ + [ + 'view_type' => 'checkbox', + 'is_checked' => 0, + 'checked_text' => MyLang('reverse_select_title'), + 'not_checked_text' => MyLang('select_all_title'), + 'align' => 'center', + 'width' => 80, + ], + [ + 'label' => $lang['id'], + 'view_type' => 'field', + 'view_key' => 'id', + 'width' => 110, + 'is_copy' => 1, + 'is_sort' => 1, + 'search_config' => [ + 'form_type' => 'input', + 'where_type' => '=', + ], + ], + [ + 'label' => $lang['md5_key'], + 'view_type' => 'field', + 'view_key' => 'md5_key', + 'width' => 300, + 'is_copy' => 1, + 'is_sort' => 1, + 'search_config' => [ + 'form_type' => 'input', + 'where_type' => '=', + ], + ], + [ + 'label' => $lang['logo'], + 'view_type' => 'images', + 'view_key' => 'logo', + 'images_width' => 30, + 'width' => 80, + ], + [ + 'label' => $lang['name'], + 'view_type' => 'field', + 'view_key' => 'name', + 'is_sort' => 1, + 'params_where_name' => 'keywords', + 'search_config' => [ + 'form_type' => 'input', + 'where_type' => 'like', + ], + ], + [ + 'label' => $lang['describe'], + 'view_type' => 'field', + 'view_key' => 'describe', + 'text_truncate' => 2, + 'grid_size' => 'lg', + 'is_popover' => 1, + 'is_sort' => 1, + 'search_config' => [ + 'form_type' => 'input', + 'where_type' => 'like', + ], + ], + [ + 'label' => $lang['is_enable'], + 'view_type' => 'status', + 'view_key' => 'is_enable', + 'post_url' => MyUrl('admin/diy/statusupdate'), + 'is_form_su' => 1, + 'align' => 'center', + 'is_sort' => 1, + 'width' => 130, + 'params_where_name' => 'is_enable', + 'search_config' => [ + 'form_type' => 'select', + 'where_type' => 'in', + 'data' => MyConst('common_is_text_list'), + 'data_key' => 'id', + 'data_name' => 'name', + 'is_multiple' => 1, + ], + ], + [ + 'label' => $lang['access_count'], + 'view_type' => 'field', + 'view_key' => 'access_count', + 'is_sort' => 1, + 'width' => 160, + 'search_config' => [ + 'form_type' => 'section', + ], + ], + [ + 'label' => $lang['add_time'], + 'view_type' => 'field', + 'view_key' => 'add_time', + 'is_sort' => 1, + 'search_config' => [ + 'form_type' => 'datetime', + ], + ], + [ + 'label' => $lang['upd_time'], + 'view_type' => 'field', + 'view_key' => 'upd_time', + 'is_sort' => 1, + 'search_config' => [ + 'form_type' => 'datetime', + ], + ], + [ + 'label' => MyLang('operate_title'), + 'view_type' => 'operate', + 'view_key' => 'diy/module/operate', + 'align' => 'center', + 'fixed' => 'right', + ], + ], + // 数据配置 + 'data' => [ + 'table_name' => 'Diy', + 'data_handle' => 'DiyService::DiyListHandle', + 'detail_action' => ['detail', 'saveinfo', 'preview'], + 'is_page' => 1, + 'is_handle_annex_field' => 1, + 'data_params' => [ + 'is_config_handle' => 1, + ], + 'detail_params' => [ + 'is_config_data_handle' => 1 + ], + ], + ]; + } +} +?> \ No newline at end of file diff --git a/app/admin/form/Emaillog.php b/app/admin/form/Emaillog.php index 31cf8d3cf..3d3d0da7a 100644 --- a/app/admin/form/Emaillog.php +++ b/app/admin/form/Emaillog.php @@ -188,6 +188,7 @@ class EmailLog 'is_sort' => 1, 'search_config' => [ 'form_type' => 'section', + 'is_point' => 1, ], ], [ diff --git a/app/admin/form/Errorlog.php b/app/admin/form/Errorlog.php new file mode 100644 index 000000000..595fa3133 --- /dev/null +++ b/app/admin/form/Errorlog.php @@ -0,0 +1,184 @@ + [ + 'key_field' => 'id', + 'is_search' => 1, + 'is_delete' => 1, + 'is_middle' => 0, + ], + // 表单配置 + 'form' => [ + [ + 'view_type' => 'checkbox', + 'is_checked' => 0, + 'checked_text' => MyLang('reverse_select_title'), + 'not_checked_text' => MyLang('select_all_title'), + 'align' => 'center', + 'width' => 80, + ], + [ + 'label' => $lang['message'], + 'view_type' => 'field', + 'view_key' => 'message', + 'text_truncate' => 2, + 'is_popover' => 1, + 'is_sort' => 1, + 'grid_size' => 'lg', + 'search_config' => [ + 'form_type' => 'input', + 'where_type' => 'like', + ], + ], + [ + 'label' => $lang['file'], + 'view_type' => 'field', + 'view_key' => 'file', + 'text_truncate' => 2, + 'is_popover' => 1, + 'is_sort' => 1, + 'grid_size' => 'lg', + 'search_config' => [ + 'form_type' => 'input', + 'where_type' => 'like', + ], + ], + [ + 'label' => $lang['line'], + 'view_type' => 'field', + 'view_key' => 'line', + 'is_sort' => 1, + 'width' => 150, + 'search_config' => [ + 'form_type' => 'input', + ], + ], + [ + 'label' => $lang['code'], + 'view_type' => 'field', + 'view_key' => 'code', + 'is_sort' => 1, + 'width' => 130, + 'search_config' => [ + 'form_type' => 'input', + ], + ], + [ + 'label' => $lang['ip'], + 'view_type' => 'field', + 'view_key' => 'ip', + 'is_sort' => 1, + 'search_config' => [ + 'form_type' => 'input', + ], + ], + [ + 'label' => $lang['uri'], + 'view_type' => 'field', + 'view_key' => 'uri', + 'text_truncate' => 2, + 'is_popover' => 1, + 'is_sort' => 1, + 'grid_size' => 'lg', + 'search_config' => [ + 'form_type' => 'input', + 'where_type' => 'like', + ], + ], + [ + 'label' => $lang['request_params'], + 'view_type' => 'field', + 'view_type' => 'module', + 'view_key' => 'errorlog/module/request_params', + 'align' => 'left', + 'grid_size' => 'lg', + 'search_config' => [ + 'form_type' => 'input', + 'form_name' => 'request_params', + 'where_type' => 'like', + ], + ], + [ + 'label' => $lang['memory_use'], + 'view_type' => 'field', + 'view_key' => 'memory_use', + 'is_sort' => 1, + 'search_config' => [ + 'form_type' => 'input', + 'where_type' => 'like', + ], + ], + [ + 'label' => $lang['tsc'], + 'view_type' => 'field', + 'view_key' => 'tsc', + 'is_sort' => 1, + 'search_config' => [ + 'form_type' => 'section', + 'is_point' => 1, + ], + ], + [ + 'label' => $lang['add_time'], + 'view_type' => 'field', + 'view_key' => 'add_time', + 'is_sort' => 1, + 'search_config' => [ + 'form_type' => 'datetime', + ], + ], + [ + 'label' => MyLang('operate_title'), + 'view_type' => 'operate', + 'view_key' => 'errorlog/module/operate', + 'align' => 'center', + 'fixed' => 'right', + 'width' => 120, + ], + ], + // 数据配置 + 'data' => [ + 'table_name' => 'ErrorLog', + 'is_page' => 1, + 'is_handle_time_field' => 1, + ], + ]; + } +} +?> \ No newline at end of file diff --git a/app/admin/form/Goods.php b/app/admin/form/Goods.php index 4593141e2..a3265234a 100644 --- a/app/admin/form/Goods.php +++ b/app/admin/form/Goods.php @@ -74,13 +74,14 @@ class Goods ], ], [ - 'label' => $lang['info'], - 'view_type' => 'module', - 'view_key' => 'goods/module/info', - 'grid_size' => 'lg', - 'is_sort' => 1, - 'sort_field' => 'title', - 'search_config' => [ + 'label' => $lang['info'], + 'view_type' => 'module', + 'view_key' => 'goods/module/info', + 'grid_size' => 'lg', + 'is_sort' => 1, + 'sort_field' => 'title', + 'params_where_name' => 'keywords', + 'search_config' => [ 'form_type' => 'input', 'form_name' => 'id', 'where_type_custom' => 'in', @@ -89,12 +90,13 @@ class Goods ], ], [ - 'label' => $lang['category_text'], - 'view_type' => 'field', - 'view_key' => 'category_text', - 'search_config' => [ + 'label' => $lang['category_text'], + 'view_type' => 'field', + 'view_key' => 'category_text', + 'params_where_name' => 'category_ids', + 'search_config' => [ 'form_type' => 'module', - 'template' => 'lib/module/goods_category', + 'template' => 'lib/module/multi_level_category', 'form_name' => 'id', 'where_type' => 'in', 'where_value_custom' => 'WhereValueGoodsCategory', @@ -102,11 +104,13 @@ class Goods ], ], [ - 'label' => $lang['brand_name'], - 'view_type' => 'field', - 'view_key' => 'brand_name', - 'is_sort' => 1, - 'search_config' => [ + 'label' => $lang['brand_name'], + 'view_type' => 'field', + 'view_key' => 'brand_name', + 'params_where_name' => 'brand_ids', + 'is_sort' => 1, + 'width' => 140, + 'search_config' => [ 'form_type' => 'select', 'form_name' => 'brand_id', 'where_type' => 'in', @@ -150,14 +154,16 @@ class Goods ], ], [ - 'label' => $lang['is_shelves'], - 'view_type' => 'status', - 'view_key' => 'is_shelves', - 'post_url' => MyUrl('admin/goods/statusupdate'), - 'is_form_su' => 1, - 'align' => 'center', - 'is_sort' => 1, - 'search_config' => [ + 'label' => $lang['is_shelves'], + 'view_type' => 'status', + 'view_key' => 'is_shelves', + 'post_url' => MyUrl('admin/goods/statusupdate'), + 'is_form_su' => 1, + 'align' => 'center', + 'is_sort' => 1, + 'width' => 130, + 'params_where_name' => 'is_shelves', + 'search_config' => [ 'form_type' => 'select', 'where_type' => 'in', 'data' => MyConst('common_is_shelves_list'), @@ -173,6 +179,7 @@ class Goods 'post_url' => MyUrl('admin/goods/statusupdate'), 'align' => 'center', 'is_sort' => 1, + 'width' => 130, 'search_config' => [ 'form_type' => 'select', 'where_type' => 'in', @@ -189,6 +196,7 @@ class Goods 'view_data_key' => 'name', 'view_data' => MyConst('common_site_type_list'), 'is_sort' => 1, + 'width' => 140, 'search_config' => [ 'form_type' => 'select', 'where_type' => 'in', diff --git a/app/admin/form/Payment.php b/app/admin/form/Payment.php index e4b756aef..c0acccf02 100644 --- a/app/admin/form/Payment.php +++ b/app/admin/form/Payment.php @@ -51,8 +51,11 @@ class Payment ], [ 'label' => $lang['logo'], - 'view_type' => 'module', - 'view_key' => 'payment/module/logo', + 'view_type' => 'images', + 'view_key' => 'logo', + 'images_width' => 40, + 'images_height' => 40, + 'width' => 80, ], [ 'label' => $lang['version'], @@ -82,14 +85,17 @@ class Payment ], [ 'label' => $lang['enable'], - 'view_type' => 'module', - 'view_key' => 'payment/module/enable', + 'view_type' => 'status', + 'view_key' => 'is_enable', + 'post_url' => MyUrl('admin/payment/statusupdate'), + 'is_form_su' => 1, 'align' => 'center', ], [ 'label' => $lang['open_user'], - 'view_type' => 'module', - 'view_key' => 'payment/module/open_user', + 'view_type' => 'status', + 'view_key' => 'is_open_user', + 'post_url' => MyUrl('admin/payment/statusupdate'), 'align' => 'center', ], [ diff --git a/app/admin/form/Smslog.php b/app/admin/form/Smslog.php index d99b63187..68795115d 100644 --- a/app/admin/form/Smslog.php +++ b/app/admin/form/Smslog.php @@ -188,6 +188,7 @@ class SmsLog 'is_sort' => 1, 'search_config' => [ 'form_type' => 'section', + 'is_point' => 1, ], ], [ diff --git a/app/admin/form/User.php b/app/admin/form/User.php index 56eea8961..86d8f4b30 100644 --- a/app/admin/form/User.php +++ b/app/admin/form/User.php @@ -61,7 +61,7 @@ class User 'label' => $lang['id'], 'view_type' => 'field', 'view_key' => 'id', - 'width' => 105, + 'width' => 110, 'is_copy' => 1, 'is_sort' => 1, 'search_config' => [ diff --git a/app/admin/lang/cht.php b/app/admin/lang/cht.php index d0936f8e6..d773875a2 100644 --- a/app/admin/lang/cht.php +++ b/app/admin/lang/cht.php @@ -284,6 +284,7 @@ return [ 'base_nav_title' => '品牌', // 动态表格 'form_table' => [ + 'id' => '品牌ID', 'name' => '名稱', 'describe' => '描述', 'logo' => 'LOGO', @@ -336,7 +337,9 @@ return [ 'save_view_tips' => '請先保存再預覽效果', // 动态表格 'form_table' => [ - 'info' => '標題', + 'id' => '數據ID', + 'logo' => 'logo', + 'name' => '名稱', 'is_enable' => '是否啟用', 'is_header' => '是否頭部', 'is_footer' => '是否尾部', @@ -359,8 +362,8 @@ return [ // 动态表格 'form_table' => [ 'id' => '數據ID', - 'info' => '基礎資訊', - 'info_placeholder' => '請輸入名稱', + 'logo' => 'logo', + 'name' => '名稱', 'access_count' => '訪問次數', 'is_enable' => '是否啟用', 'is_header' => '是否含頭部', @@ -887,7 +890,7 @@ return [ ['name' => '未安裝', 'type' => 1], ], 'base_nav_title' => '支付方式', - 'base_upload_payment_name' => '上傳支付', + 'base_upload_payment_name' => '導入支付', 'base_nav_store_payment_name' => '更多主題下載', 'upload_top_list_tips' => [ [ @@ -937,7 +940,7 @@ return [ ['name' => '當前主題', 'type' => 'index'], ['name' => '主題安裝', 'type' => 'upload'], ], - 'base_upload_theme_name' => '上傳主題', + 'base_upload_theme_name' => '導入主題', 'base_nav_store_theme_name' => '更多主題下載', 'list_author_title' => '作者', 'list_version_title' => '適用版本', @@ -1081,11 +1084,7 @@ return [ ], // 基础导航 'base_nav_title' => '應用', - 'base_nav_list' => [ - ['name' => '應用管理', 'type' => 'index'], - ['name' => '上傳應用', 'type' => 'upload'], - ], - 'base_upload_application_name' => '上傳應用', + 'base_upload_application_name' => '導入應用', 'base_nav_more_plugins_download_name' => '更多挿件下載', // 基础页面 'base_search_input_placeholder' => '請輸入名稱/描述', @@ -1206,6 +1205,52 @@ return [ ], ], + // diy装修 + 'diy' => [ + 'nav_store_diy_name' => '更多diy範本下載', + 'nav_apptabbar_name' => '底部選單', + 'upload_list_tips' => [ + '1. 選擇已下載的diy設計zip包', + '2. 導入將自動新增一條數據', + ], + // 动态表格 + 'form_table' => [ + 'id' => '數據ID', + 'md5_key' => '唯一標識', + 'logo' => 'logo', + 'name' => '名稱', + 'describe' => '描述', + 'access_count' => '訪問次數', + 'is_enable' => '是否啟用', + 'add_time' => '創建時間', + 'upd_time' => '更新時間', + ], + ], + + // 附件 + 'attachment' => [ + 'base_nav_title' => '附件', + 'category_admin_title' => '分類管理', + // 动态表格 + 'form_table' => [ + 'category_name' => '分類', + 'type_name' => '類型', + 'info' => '附件', + 'original' => '原檔名', + 'title' => '新檔名', + 'size' => '大小', + 'ext' => '尾碼', + 'url' => 'url地址 ', + 'hash' => 'hash', + 'add_time' => '創建時間', + ], + ], + + // 附件分类 + 'attachmentcategory' => [ + 'base_nav_title' => '附件分類', + ], + // 积分日志 'integrallog' => [ // 动态表格 @@ -1460,72 +1505,84 @@ return [ 'navigation_index' => [ 'name' => '網站', 'item' => [ - 'navigation_index' => '導航管理', - 'navigation_save' => '導航添加/編輯', - 'navigation_delete' => '導航删除', - 'navigation_statusupdate' => '導航狀態更新', - 'customview_index' => '自定義頁面', - 'customview_saveinfo' => '自定義頁面添加/編輯頁面', - 'customview_save' => '自定義頁面添加/編輯', - 'customview_delete' => '自定義頁面删除', - 'customview_statusupdate' => '自定義頁面狀態更新', - 'customview_detail' => '自定義頁面詳情', - 'link_index' => '友情連結', - 'link_saveinfo' => '友情連結添加/編輯頁面', - 'link_save' => '友情連結添加/編輯', - 'link_delete' => '友情連結删除', - 'link_statusupdate' => '友情連結狀態更新', - 'link_detail' => '友情連結詳情', - 'themeadmin_index' => '主題管理', - 'themeadmin_save' => '主題管理添加/編輯', - 'themeadmin_upload' => '主題上傳安裝', - 'themeadmin_delete' => '主題删除', - 'themeadmin_download' => '主題下載', - 'themedata_index' => '主題數據', - 'themedata_saveinfo' => '主題數據添加/編輯頁面', - 'themedata_save' => '主題數據添加/編輯', - 'themedata_upload' => '主題數據上傳', - 'themedata_delete' => '主題數據删除', - 'themedata_download' => '主題數據下載', - 'slide_index' => '首頁輪播', - 'slide_saveinfo' => '輪播添加/編輯頁面', - 'slide_save' => '輪播添加/編輯', - 'slide_statusupdate' => '輪播狀態更新', - 'slide_delete' => '輪播删除', - 'slide_detail' => '輪播詳情', - 'screeningprice_index' => '篩選價格', - 'screeningprice_save' => '篩選價格添加/編輯', - 'screeningprice_delete' => '篩選價格删除', - 'region_index' => '地區管理', - 'region_save' => '地區添加/編輯', - 'region_statusupdate' => '地區狀態更新', - 'region_delete' => '地區删除', - 'region_codedata' => '獲取地區編號數據', - 'express_index' => '快遞管理', - 'express_save' => '快遞添加/編輯', - 'express_delete' => '快遞删除', - 'payment_index' => '支付方式', - 'payment_saveinfo' => '支付方式安裝/編輯頁面', - 'payment_save' => '支付方式安裝/編輯', - 'payment_delete' => '支付方式删除', - 'payment_install' => '支付方式安裝', - 'payment_statusupdate' => '支付方式狀態更新', - 'payment_uninstall' => '支付方式卸載', - 'payment_upload' => '支付方式上傳', - 'quicknav_index' => '快捷導航', - 'quicknav_saveinfo' => '快捷導航添加/編輯頁面', - 'quicknav_save' => '快捷導航添加/編輯', - 'quicknav_statusupdate' => '快捷導航狀態更新', - 'quicknav_delete' => '快捷導航删除', - 'quicknav_detail' => '快捷導航詳情', - 'design_index' => '頁面設計', - 'design_saveinfo' => '頁面設計添加/編輯頁面', - 'design_save' => '頁面設計添加/編輯', - 'design_statusupdate' => '頁面設計狀態更新', - 'design_upload' => '頁面設計導入', - 'design_download' => '頁面設計下載', - 'design_sync' => '頁面設計同步首頁', - 'design_delete' => '頁面設計删除', + 'navigation_index' => '導航管理', + 'navigation_save' => '導航添加/編輯', + 'navigation_delete' => '導航删除', + 'navigation_statusupdate' => '導航狀態更新', + 'customview_index' => '自定義頁面', + 'customview_saveinfo' => '自定義頁面添加/編輯頁面', + 'customview_save' => '自定義頁面添加/編輯', + 'customview_delete' => '自定義頁面删除', + 'customview_statusupdate' => '自定義頁面狀態更新', + 'customview_detail' => '自定義頁面詳情', + 'link_index' => '友情連結', + 'link_saveinfo' => '友情連結添加/編輯頁面', + 'link_save' => '友情連結添加/編輯', + 'link_delete' => '友情連結删除', + 'link_statusupdate' => '友情連結狀態更新', + 'link_detail' => '友情連結詳情', + 'themeadmin_index' => '主題管理', + 'themeadmin_save' => '主題管理添加/編輯', + 'themeadmin_upload' => '主題上傳安裝', + 'themeadmin_delete' => '主題删除', + 'themeadmin_download' => '主題下載', + 'themeadmin_market' => '主題範本市場', + 'themedata_index' => '主題數據', + 'themedata_saveinfo' => '主題數據添加/編輯頁面', + 'themedata_save' => '主題數據添加/編輯', + 'themedata_upload' => '主題數據上傳', + 'themedata_delete' => '主題數據删除', + 'themedata_download' => '主題數據下載', + 'slide_index' => '首頁輪播', + 'slide_saveinfo' => '輪播添加/編輯頁面', + 'slide_save' => '輪播添加/編輯', + 'slide_statusupdate' => '輪播狀態更新', + 'slide_delete' => '輪播删除', + 'slide_detail' => '輪播詳情', + 'screeningprice_index' => '篩選價格', + 'screeningprice_save' => '篩選價格添加/編輯', + 'screeningprice_delete' => '篩選價格删除', + 'region_index' => '地區管理', + 'region_save' => '地區添加/編輯', + 'region_statusupdate' => '地區狀態更新', + 'region_delete' => '地區删除', + 'region_codedata' => '獲取地區編號數據', + 'express_index' => '快遞管理', + 'express_save' => '快遞添加/編輯', + 'express_delete' => '快遞删除', + 'payment_index' => '支付方式', + 'payment_saveinfo' => '支付方式安裝/編輯頁面', + 'payment_save' => '支付方式安裝/編輯', + 'payment_delete' => '支付方式删除', + 'payment_install' => '支付方式安裝', + 'payment_statusupdate' => '支付方式狀態更新', + 'payment_uninstall' => '支付方式卸載', + 'payment_upload' => '支付方式上傳', + 'payment_market' => '支付挿件市場', + 'quicknav_index' => '快捷導航', + 'quicknav_saveinfo' => '快捷導航添加/編輯頁面', + 'quicknav_save' => '快捷導航添加/編輯', + 'quicknav_statusupdate' => '快捷導航狀態更新', + 'quicknav_delete' => '快捷導航删除', + 'quicknav_detail' => '快捷導航詳情', + 'design_index' => '頁面設計', + 'design_saveinfo' => '頁面設計添加/編輯頁面', + 'design_save' => '頁面設計添加/編輯', + 'design_statusupdate' => '頁面設計狀態更新', + 'design_upload' => '頁面設計導入', + 'design_download' => '頁面設計下載', + 'design_sync' => '頁面設計同步首頁', + 'design_delete' => '頁面設計删除', + 'design_market' => '頁面設計範本市場', + 'attachment_index' => '附件管理', + 'attachment_detail' => '附件管理詳情', + 'attachment_saveinfo' => '附件管理添加/編輯頁面', + 'attachment_save' => '附件管理添加/編輯', + 'attachment_delete' => '附件管理删除', + 'attachmentcategory_index' => '附件分類', + 'attachmentcategory_save' => '附件分類添加/編輯', + 'attachmentcategory_statusupdate' => '附件狀態更新', + 'attachmentcategory_delete' => '附件分類删除', ] ], 'brand_index' => [ @@ -1565,29 +1622,69 @@ return [ 'app_index' => [ 'name' => '手機', 'item' => [ - 'appconfig_index' => '基礎配寘', - 'appconfig_save' => '基礎配寘保存', - 'apphomenav_index' => '首頁導航', - 'apphomenav_saveinfo' => '首頁導航添加/編輯頁面', - 'apphomenav_save' => '首頁導航添加/編輯', - 'apphomenav_statusupdate' => '首頁導航狀態更新', - 'apphomenav_delete' => '首頁導航删除', - 'apphomenav_detail' => '首頁導航詳情', - 'appcenternav_index' => '用戶中心導航', - 'appcenternav_saveinfo' => '用戶中心導航添加/編輯頁面', - 'appcenternav_save' => '用戶中心導航添加/編輯', - 'appcenternav_statusupdate' => '用戶中心導航狀態更新', - 'appcenternav_delete' => '用戶中心導航删除', - 'appcenternav_detail' => '用戶中心導航詳情', - 'appmini_index' => '小程式清單', - 'appmini_created' => '小程式包生成', - 'appmini_delete' => '小程式包删除', - 'appmini_themeupload' => '小程式主題上傳', - 'appmini_themesave' => '小程式主題切換', - 'appmini_themedelete' => '小程式主題切換', - 'appmini_themedownload' => '小程式主題下載', - 'appmini_config' => '小程式配寘', - 'appmini_save' => '小程式配寘保存', + 'appconfig_index' => '基礎配寘', + 'appconfig_save' => '基礎配寘保存', + 'appmini_index' => '小程式清單', + 'appmini_created' => '小程式包生成', + 'appmini_delete' => '小程式包删除', + 'appmini_themeupload' => '小程式主題上傳', + 'appmini_themesave' => '小程式主題切換', + 'appmini_themedelete' => '小程式主題切換', + 'appmini_themedownload' => '小程式主題下載', + 'appmini_config' => '小程式配寘', + 'appmini_save' => '小程式配寘保存', + 'diy_index' => 'DIY裝修', + 'diy_saveinfo' => 'DIY裝修添加/編輯頁面', + 'diy_save' => 'DIY裝修添加/編輯', + 'diy_statusupdate' => 'DIY裝修狀態更新', + 'diy_delete' => 'DIY裝修删除', + 'diy_download' => 'DIY裝修匯出', + 'diy_upload' => 'DIY裝修導入', + 'diy_detail' => 'DIY裝修詳情', + 'diy_preview' => 'DIY裝修預覽', + 'diy_market' => 'DIY裝修範本市場', + 'diy_apptabbar' => 'DIY裝修底部選單', + 'diyapi_init' => 'DIY裝修-公共初始化', + 'diyapi_attachmentcategory' => 'DIY裝修-附件分類', + 'diyapi_attachmentlist' => 'DIY裝修-附件清單', + 'diyapi_attachmentsave' => 'DIY裝修-附件保存', + 'diyapi_attachmentdelete' => 'DIY裝修-附件删除', + 'diyapi_attachmentupload' => 'DIY裝修-附件上傳', + 'diyapi_attachmentcatch' => 'DIY裝修-附件遠程下載', + 'diyapi_attachmentscanuploaddata' => 'DIY裝修-附件掃碼上傳數據', + 'diyapi_attachmentmovecategory' => 'DIY裝修-附件移動分類', + 'diyapi_attachmentcategorysave' => 'DIY裝修-附件分類保存', + 'diyapi_attachmentcategorydelete' => 'DIY裝修-附件分類删除', + 'diyapi_goodslist' => 'DIY裝修-商品列表', + 'diyapi_customviewlist' => 'DIY裝修-自定義頁面清單', + 'diyapi_designlist' => 'DIY裝修-頁面設計清單', + 'diyapi_articlelist' => 'DIY裝修-文章列表', + 'diyapi_brandlist' => 'DIY裝修-品牌列表', + 'diyapi_diylist' => 'DIY裝修-DIY裝修清單', + 'diyapi_diydetail' => 'DIY裝修-DIY裝修詳情', + 'diyapi_diysave' => 'DIY裝修-DIY裝修保存', + 'diyapi_diyupload' => 'DIY裝修-DIY裝修導入', + 'diyapi_diydownload' => 'DIY裝修-DIY裝修匯出', + 'diyapi_diyinstall' => 'DIY裝修-DIY裝修範本安裝', + 'diyapi_diymarket' => 'DIY裝修-DIY裝修範本市場', + 'diyapi_goodsappointdata' => 'DIY裝修-商品指定數據', + 'diyapi_goodsautodata' => 'DIY裝修-商品自動數據', + 'diyapi_articleappointdata' => 'DIY裝修-文章指定數據', + 'diyapi_articleautodata' => 'DIY裝修-文章自動數據', + 'diyapi_userheaddata' => 'DIY裝修-用戶頭部數據', + 'diyapi_custominit' => 'DIY裝修-自定義初始化', + 'apphomenav_index' => '首頁導航', + 'apphomenav_saveinfo' => '首頁導航添加/編輯頁面', + 'apphomenav_save' => '首頁導航添加/編輯', + 'apphomenav_statusupdate' => '首頁導航狀態更新', + 'apphomenav_delete' => '首頁導航删除', + 'apphomenav_detail' => '首頁導航詳情', + 'appcenternav_index' => '用戶中心導航', + 'appcenternav_saveinfo' => '用戶中心導航添加/編輯頁面', + 'appcenternav_save' => '用戶中心導航添加/編輯', + 'appcenternav_statusupdate' => '用戶中心導航狀態更新', + 'appcenternav_delete' => '用戶中心導航删除', + 'appcenternav_detail' => '用戶中心導航詳情', ] ], 'article_index' => [ @@ -1621,6 +1718,16 @@ return [ 'integrallog_detail' => '積分日誌詳情', 'smslog_index' => '簡訊日誌', 'smslog_detail' => '簡訊日誌詳情', + 'smslog_delete' => '簡訊日誌删除', + 'smslog_alldelete' => '簡訊日誌全部删除', + 'emaillog_index' => '郵件日誌', + 'emaillog_detail' => '郵件日誌詳情', + 'emaillog_delete' => '郵件日誌删除', + 'emaillog_alldelete' => '郵件日誌全部删除', + 'errorlog_index' => '錯誤日誌', + 'errorlog_detail' => '錯誤日誌詳情', + 'errorlog_delete' => '錯誤日誌删除', + 'errorlog_alldelete' => '錯誤日誌全部删除', ] ], 'store_index' => [ @@ -1637,6 +1744,7 @@ return [ 'pluginsadmin_install' => '應用安裝', 'pluginsadmin_uninstall' => '應用卸載', 'pluginsadmin_sortsave' => '應用排序保存', + 'pluginsadmin_market' => '應用挿件市場', 'store_index' => '應用商店', 'packageinstall_index' => '套裝軟體安裝頁面', 'packageinstall_install' => '套裝軟體安裝', diff --git a/app/admin/lang/en.php b/app/admin/lang/en.php index 9accf6c23..13460415f 100644 --- a/app/admin/lang/en.php +++ b/app/admin/lang/en.php @@ -284,6 +284,7 @@ return [ 'base_nav_title' => 'Brand', // 动态表格 'form_table' => [ + 'id' => 'Brand ID', 'name' => 'Name', 'describe' => 'Describe', 'logo' => 'LOGO', @@ -336,7 +337,9 @@ return [ 'save_view_tips' => 'Please save before previewing the effect', // 动态表格 'form_table' => [ - 'info' => 'Title', + 'id' => 'Data ID', + 'logo' => 'logo', + 'name' => 'name', 'is_enable' => 'Enable or not', 'is_header' => 'Header or not', 'is_footer' => 'Footer or not', @@ -363,8 +366,8 @@ return [ // 动态表格 'form_table' => [ 'id' => 'Data ID', - 'info' => 'Base Info', - 'info_placeholder' => 'Please enter a name', + 'logo' => 'logo', + 'name' => 'Name', 'access_count' => 'Access Count', 'is_enable' => 'Enable or not', 'is_header' => 'Header or not', @@ -905,7 +908,7 @@ return [ ['name' => 'Not Installed', 'type' => 1], ], 'base_nav_title' => 'PaymentMethod', - 'base_upload_payment_name' => 'Upload payment', + 'base_upload_payment_name' => 'Import payment', 'base_nav_store_payment_name' => 'More PaymentMethod downloads', 'upload_top_list_tips' => [ [ @@ -955,7 +958,7 @@ return [ ['name' => 'Current Theme', 'type' => 'index'], ['name' => 'Theme Install', 'type' => 'upload'], ], - 'base_upload_theme_name' => 'Upload Theme', + 'base_upload_theme_name' => 'Import Theme', 'base_nav_store_theme_name' => 'More topic downloads', 'list_author_title' => 'Author', 'list_version_title' => 'Applicable Version', @@ -1099,11 +1102,7 @@ return [ ], // 基础导航 'base_nav_title' => 'Plugins', - 'base_nav_list' => [ - ['name' => 'Application Management', 'type' => 'index'], - ['name' => 'Upload Application', 'type' => 'upload'], - ], - 'base_upload_application_name' => 'Upload application', + 'base_upload_application_name' => 'Import application', 'base_nav_more_plugins_download_name' => 'More plug-in downloads', // 基础页面 'base_search_input_placeholder' => 'Please enter a name/description', @@ -1224,6 +1223,52 @@ return [ ], ], + // diy装修 + 'diy' => [ + 'nav_store_diy_name' => 'More DIY template downloads', + 'nav_apptabbar_name' => 'Bottom menu', + 'upload_list_tips' => [ + '1. Select the downloaded DIY design zip file', + '2. Importing will automatically add a new piece of data', + ], + // 动态表格 + 'form_table' => [ + 'id' => 'Data ID', + 'md5_key' => 'unique identification', + 'logo' => 'logo', + 'name' => 'name', + 'describe' => 'describe', + 'access_count' => 'Number of visits', + 'is_enable' => 'Is it enabled', + 'add_time' => 'Creation time', + 'upd_time' => 'Update time', + ], + ], + + // 附件 + 'attachment' => [ + 'base_nav_title' => 'annex', + 'category_admin_title' => 'Category management', + // 动态表格 + 'form_table' => [ + 'category_name' => 'Category', + 'type_name' => 'Type', + 'info' => 'Info', + 'original' => 'Original file name', + 'title' => 'New file name', + 'size' => 'Size', + 'ext' => 'Suffix', + 'url' => 'Url address ', + 'hash' => 'Hash', + 'add_time' => 'Creation time', + ], + ], + + // 附件分类 + 'attachmentcategory' => [ + 'base_nav_title' => 'Attachment Category', + ], + // 积分日志 'integrallog' => [ // 动态表格 @@ -1478,72 +1523,84 @@ return [ 'navigation_index' => [ 'name' => 'Web', 'item' => [ - 'navigation_index' => 'Navigation admin', - 'navigation_save' => 'Navigation add/edit', - 'navigation_delete' => 'Navigation delete', - 'navigation_statusupdate' => 'Navigation status update', - 'customview_index' => 'Custom page', - 'customview_saveinfo' => 'Custom page add/edit page', - 'customview_save' => 'Custom page add/edit', - 'customview_delete' => 'Custom page delete', - 'customview_statusupdate' => 'Custom page status update', - 'customview_detail' => 'Custom page details', - 'link_index' => 'Links', - 'link_saveinfo' => 'Link add/edit page', - 'link_save' => 'Add / Edit Links', - 'link_delete' => 'Link delete', - 'link_statusupdate' => 'Link status update', - 'link_detail' => 'Link details', - 'themeadmin_index' => 'Theme admin', - 'themeadmin_save' => 'Theme admin add/edit', - 'themeadmin_upload' => 'Theme upload and installation', - 'themeadmin_delete' => 'Theme delete', - 'themeadmin_download' => 'Theme download', - 'themedata_index' => 'Theme data', - 'themedata_saveinfo' => 'Theme data add/edit page', - 'themedata_save' => 'Theme data add/edit', - 'themedata_upload' => 'Theme data upload', - 'themedata_delete' => 'Theme data delete', - 'themedata_download' => 'Theme data download', - 'slide_index' => 'HomePage Slide', - 'slide_saveinfo' => 'Carousel add/edit page', - 'slide_save' => 'Carousel add/edit', - 'slide_statusupdate' => 'Rotation status update', - 'slide_delete' => 'Rotation delete', - 'slide_detail' => 'Rotation details', - 'screeningprice_index' => 'Screening price', - 'screeningprice_save' => 'Filter price add/edit', - 'screeningprice_delete' => 'Filter price delete', - 'region_index' => 'Regional admin', - 'region_save' => 'Region add/edit', - 'region_statusupdate' => 'Regional status update', - 'region_delete' => 'Region delete', - 'region_codedata' => 'Get area number data', - 'express_index' => 'Express Management', - 'express_save' => 'Express add/edit', - 'express_delete' => 'Express delete', - 'payment_index' => 'Payment method', - 'payment_saveinfo' => 'Payment method installation / editing page', - 'payment_save' => 'Payment method installation / editing', - 'payment_delete' => 'Payment method delete', - 'payment_install' => 'Payment method installation', - 'payment_statusupdate' => 'Payment method status update', - 'payment_uninstall' => 'Payment method unloading', - 'payment_upload' => 'Payment method upload', - 'quicknav_index' => 'Quick navigation', - 'quicknav_saveinfo' => 'Quick navigation add/edit page', - 'quicknav_save' => 'Quick navigation add/edit', - 'quicknav_statusupdate' => 'Quick navigation status update', - 'quicknav_delete' => 'Quick navigation delete', - 'quicknav_detail' => 'Quick navigation details', - 'design_index' => 'Page design', - 'design_saveinfo' => 'Page design add/edit page', - 'design_save' => 'Page design add/edit', - 'design_statusupdate' => 'Page design status update', - 'design_upload' => 'Page design import', - 'design_download' => 'Page Design Download', - 'design_sync' => 'Page design synchronization home page', - 'design_delete' => 'Page design delete', + 'navigation_index' => 'Navigation admin', + 'navigation_save' => 'Navigation add/edit', + 'navigation_delete' => 'Navigation delete', + 'navigation_statusupdate' => 'Navigation status update', + 'customview_index' => 'Custom page', + 'customview_saveinfo' => 'Custom page add/edit page', + 'customview_save' => 'Custom page add/edit', + 'customview_delete' => 'Custom page delete', + 'customview_statusupdate' => 'Custom page status update', + 'customview_detail' => 'Custom page details', + 'link_index' => 'Links', + 'link_saveinfo' => 'Link add/edit page', + 'link_save' => 'Add / Edit Links', + 'link_delete' => 'Link delete', + 'link_statusupdate' => 'Link status update', + 'link_detail' => 'Link details', + 'themeadmin_index' => 'Theme admin', + 'themeadmin_save' => 'Theme admin add/edit', + 'themeadmin_upload' => 'Theme upload and installation', + 'themeadmin_delete' => 'Theme delete', + 'themeadmin_download' => 'Theme download', + 'themeadmin_market' => 'Theme template market', + 'themedata_index' => 'Theme data', + 'themedata_saveinfo' => 'Theme data add/edit page', + 'themedata_save' => 'Theme data add/edit', + 'themedata_upload' => 'Theme data upload', + 'themedata_delete' => 'Theme data delete', + 'themedata_download' => 'Theme data download', + 'slide_index' => 'HomePage Slide', + 'slide_saveinfo' => 'Carousel add/edit page', + 'slide_save' => 'Carousel add/edit', + 'slide_statusupdate' => 'Rotation status update', + 'slide_delete' => 'Rotation delete', + 'slide_detail' => 'Rotation details', + 'screeningprice_index' => 'Screening price', + 'screeningprice_save' => 'Filter price add/edit', + 'screeningprice_delete' => 'Filter price delete', + 'region_index' => 'Regional admin', + 'region_save' => 'Region add/edit', + 'region_statusupdate' => 'Regional status update', + 'region_delete' => 'Region delete', + 'region_codedata' => 'Get area number data', + 'express_index' => 'Express Management', + 'express_save' => 'Express add/edit', + 'express_delete' => 'Express delete', + 'payment_index' => 'Payment method', + 'payment_saveinfo' => 'Payment method installation / editing page', + 'payment_save' => 'Payment method installation / editing', + 'payment_delete' => 'Payment method delete', + 'payment_install' => 'Payment method installation', + 'payment_statusupdate' => 'Payment method status update', + 'payment_uninstall' => 'Payment method unloading', + 'payment_upload' => 'Payment method upload', + 'payment_market' => 'Payment Plugin Market', + 'quicknav_index' => 'Quick navigation', + 'quicknav_saveinfo' => 'Quick navigation add/edit page', + 'quicknav_save' => 'Quick navigation add/edit', + 'quicknav_statusupdate' => 'Quick navigation status update', + 'quicknav_delete' => 'Quick navigation delete', + 'quicknav_detail' => 'Quick navigation details', + 'design_index' => 'Page design', + 'design_saveinfo' => 'Page design add/edit page', + 'design_save' => 'Page design add/edit', + 'design_statusupdate' => 'Page design status update', + 'design_upload' => 'Page design import', + 'design_download' => 'Page Design Download', + 'design_sync' => 'Page design synchronization home page', + 'design_delete' => 'Page design delete', + 'design_market' => 'Page design template market', + 'attachment_index' => 'Annex manage', + 'attachment_detail' => 'Annex manage Details', + 'attachment_saveinfo' => 'Annex manage Add/Edit Page', + 'attachment_save' => 'Annex manage Add/Edit', + 'attachment_delete' => 'Annex manage deletion', + 'attachmentcategory_index' => 'Annex category', + 'attachmentcategory_save' => 'Annex category add/edit', + 'attachmentcategory_statusupdate' => 'Annex status update', + 'attachmentcategory_delete' => 'Annex category deletion', ] ], 'brand_index' => [ @@ -1555,9 +1612,9 @@ return [ 'brand_statusupdate' => 'Brand status update', 'brand_delete' => 'Brand delete', 'brand_detail' => 'Brand details', - 'brandcategory_index' => 'Brand classification', + 'brandcategory_index' => 'Brand category', 'brandcategory_save' => 'Brand category add/edit', - 'brandcategory_delete' => 'Brand classification delete', + 'brandcategory_delete' => 'Brand category delete', ] ], 'warehouse_index' => [ @@ -1583,29 +1640,69 @@ return [ 'app_index' => [ 'name' => 'Mobile', 'item' => [ - 'appconfig_index' => 'Basic config', - 'appconfig_save' => 'Basic config saving', - 'apphomenav_index' => 'Home page navigation', - 'apphomenav_saveinfo' => 'Home navigation add/edit page', - 'apphomenav_save' => 'Home page navigation add/edit', - 'apphomenav_statusupdate' => 'Homepage navigation status update', - 'apphomenav_delete' => 'Home page navigation delete', - 'apphomenav_detail' => 'Home page navigation details', - 'appcenternav_index' => 'User center navigation', - 'appcenternav_saveinfo' => 'User center navigation add/edit page', - 'appcenternav_save' => 'User center navigation add/edit', - 'appcenternav_statusupdate' => 'User center navigation status update', - 'appcenternav_delete' => 'User center navigation delete', - 'appcenternav_detail' => 'User center navigation details', - 'appmini_index' => 'Applet list', - 'appmini_created' => 'Applet package generation', - 'appmini_delete' => 'Applet package delete', - 'appmini_themeupload' => 'Applet theme upload', - 'appmini_themesave' => 'Applet theme switching', - 'appmini_themedelete' => 'Applet theme switching', - 'appmini_themedownload' => 'Applet theme download', - 'appmini_config' => 'Applet config', - 'appmini_save' => 'Applet config save', + 'appconfig_index' => 'Basic config', + 'appconfig_save' => 'Basic config saving', + 'appmini_index' => 'Applet list', + 'appmini_created' => 'Applet package generation', + 'appmini_delete' => 'Applet package delete', + 'appmini_themeupload' => 'Applet theme upload', + 'appmini_themesave' => 'Applet theme switching', + 'appmini_themedelete' => 'Applet theme switching', + 'appmini_themedownload' => 'Applet theme download', + 'appmini_config' => 'Applet config', + 'appmini_save' => 'Applet config save', + 'diy_index' => 'DIY decoration', + 'diy_saveinfo' => 'DIY Decoration Add/Edit Page', + 'diy_save' => 'DIY decoration addition/editing', + 'diy_statusupdate' => 'DIY decoration status update', + 'diy_delete' => 'DIY Decoration Delete', + 'diy_download' => 'DIY decoration export', + 'diy_upload' => 'DIY decoration import', + 'diy_detail' => 'DIY Decoration Details', + 'diy_preview' => 'DIY Decoration Preview', + 'diy_market' => 'DIY decoration template market', + 'diy_apptabbar' => 'DIY Decoration Bottom Menu', + 'diyapi_init' => 'DIY Decoration - Public Initialization', + 'diyapi_attachmentcategory' => 'DIY Decoration - Attachment Classification', + 'diyapi_attachmentlist' => 'DIY Decoration - Attachment List', + 'diyapi_attachmentsave' => 'DIY Decoration - Attachment Storage', + 'diyapi_attachmentdelete' => 'DIY Decoration - Attachment Deletion', + 'diyapi_attachmentupload' => 'DIY Decoration - Attachment Upload', + 'diyapi_attachmentcatch' => 'DIY Decoration - Remote Download of Accessories', + 'diyapi_attachmentscanuploaddata' => 'DIY Decoration - Scan the QR code for attachments and upload data', + 'diyapi_attachmentmovecategory' => 'DIY Decoration - Attachment Mobile Classification', + 'diyapi_attachmentcategorysave' => 'DIY Decoration - Attachment Classification and Storage', + 'diyapi_attachmentcategorydelete' => 'DIY Decoration - Attachment Category Delete', + 'diyapi_goodslist' => 'DIY Decoration - Product List', + 'diyapi_customviewlist' => 'DIY Decoration - Custom Page List', + 'diyapi_designlist' => 'DIY Decoration - Page Design List', + 'diyapi_articlelist' => 'DIY Decoration - Article List', + 'diyapi_brandlist' => 'DIY Decoration - Brand List', + 'diyapi_diylist' => 'DIY Decoration - DIY Decoration List', + 'diyapi_diydetail' => 'DIY Decoration - DIY Decoration Details', + 'diyapi_diysave' => 'DIY decoration - DIY decoration preservation', + 'diyapi_diyupload' => 'DIY Decoration - DIY Decoration Import', + 'diyapi_diydownload' => 'DIY Decoration - DIY Decoration Export', + 'diyapi_diyinstall' => 'DIY decoration - DIY decoration template installation', + 'diyapi_diymarket' => 'DIY Decoration - DIY Decoration Template Market', + 'diyapi_goodsappointdata' => 'DIY Decoration - Product Specific Data', + 'diyapi_goodsautodata' => 'DIY Decoration - Automated Product Data', + 'diyapi_articleappointdata' => 'DIY Decoration - Article Specific Data', + 'diyapi_articleautodata' => 'DIY Decoration - Automatic Article Data', + 'diyapi_userheaddata' => 'DIY Decoration - User Head Data', + 'diyapi_custominit' => 'DIY Decoration - Custom Initialization', + 'apphomenav_index' => 'Home page navigation', + 'apphomenav_saveinfo' => 'Home navigation add/edit page', + 'apphomenav_save' => 'Home page navigation add/edit', + 'apphomenav_statusupdate' => 'Homepage navigation status update', + 'apphomenav_delete' => 'Home page navigation delete', + 'apphomenav_detail' => 'Home page navigation details', + 'appcenternav_index' => 'User center navigation', + 'appcenternav_saveinfo' => 'User center navigation add/edit page', + 'appcenternav_save' => 'User center navigation add/edit', + 'appcenternav_statusupdate' => 'User center navigation status update', + 'appcenternav_delete' => 'User center navigation delete', + 'appcenternav_detail' => 'User center navigation details', ] ], 'article_index' => [ @@ -1639,6 +1736,16 @@ return [ 'integrallog_detail' => 'Points log details', 'smslog_index' => 'SMS log', 'smslog_detail' => 'SMS log details', + 'smslog_delete' => 'Delete SMS logs', + 'smslog_alldelete' => 'Delete all SMS logs', + 'emaillog_index' => 'Email log', + 'emaillog_detail' => 'Email log details', + 'emaillog_delete' => 'Email log deletion', + 'emaillog_alldelete' => 'Delete all email logs', + 'errorlog_index' => 'Error log', + 'errorlog_detail' => 'Error log details', + 'errorlog_delete' => 'Error log deletion', + 'errorlog_alldelete' => 'Delete all error logs', ] ], 'store_index' => [ @@ -1655,6 +1762,7 @@ return [ 'pluginsadmin_install' => 'Application installation', 'pluginsadmin_uninstall' => 'Apps Uninstall', 'pluginsadmin_sortsave' => 'Apply sort save', + 'pluginsadmin_market' => 'Application Plugin Market', 'store_index' => 'App store', 'packageinstall_index' => 'Package installation page', 'packageinstall_install' => 'Package installation', diff --git a/app/admin/lang/spa.php b/app/admin/lang/spa.php index b30308bed..8d286b816 100644 --- a/app/admin/lang/spa.php +++ b/app/admin/lang/spa.php @@ -284,6 +284,7 @@ return [ 'base_nav_title' => 'Marca', // 动态表格 'form_table' => [ + 'id' => 'ID de marca', 'name' => 'Nombre', 'describe' => 'Descripción', 'logo' => 'LOGO', @@ -336,7 +337,9 @@ return [ 'save_view_tips' => 'Guarde antes de Previsualizar el efecto', // 动态表格 'form_table' => [ - 'info' => 'Título', + 'id' => 'ID de datos', + 'logo' => 'logo', + 'name' => 'Nombre', 'is_enable' => 'Si habilitar', 'is_header' => 'Si la cabeza', 'is_footer' => 'Si la cola', @@ -359,8 +362,8 @@ return [ // 动态表格 'form_table' => [ 'id' => 'ID de datos', - 'info' => 'Información básica', - 'info_placeholder' => 'Por favor, introduzca el nombre', + 'logo' => 'logo', + 'name' => 'Nombre', 'access_count' => 'Número de visitas', 'is_enable' => 'Si habilitar', 'is_header' => 'Si incluye la cabeza', @@ -887,7 +890,7 @@ return [ ['name' => 'No instalado', 'type' => 1], ], 'base_nav_title' => 'Método de pago', - 'base_upload_payment_name' => 'Cargar pago', + 'base_upload_payment_name' => 'Importar pago', 'base_nav_store_payment_name' => 'Descarga de más métodos de pago', 'upload_top_list_tips' => [ [ @@ -937,7 +940,7 @@ return [ ['name' => 'Temas actuales', 'type' => 'index'], ['name' => 'Instalación temática', 'type' => 'upload'], ], - 'base_upload_theme_name' => 'Subir Tema', + 'base_upload_theme_name' => 'Importar temas', 'base_nav_store_theme_name' => 'Descarga de más temas', 'list_author_title' => 'Autor', 'list_version_title' => 'Versión aplicable', @@ -1081,11 +1084,7 @@ return [ ], // 基础导航 'base_nav_title' => 'Aplicación', - 'base_nav_list' => [ - ['name' => 'Gestión de aplicaciones', 'type' => 'index'], - ['name' => 'Cargar aplicación', 'type' => 'upload'], - ], - 'base_upload_application_name' => 'Cargar aplicación', + 'base_upload_application_name' => 'Importar aplicaciones', 'base_nav_more_plugins_download_name' => 'Descarga de más plug - ins', // 基础页面 'base_search_input_placeholder' => 'Introduzca el nombre / descripción', @@ -1206,6 +1205,52 @@ return [ ], ], + // diy装修 + 'diy' => [ + 'nav_store_diy_name' => 'Más descargas de plantillas DIY', + 'nav_apptabbar_name' => 'Menú inferior', + 'upload_list_tips' => [ + '1. Elija el paquete zip de diseño DIY descargado', + '2. La importación agregará automáticamente un nuevo dato', + ], + // 动态表格 + 'form_table' => [ + 'id' => 'ID de datos', + 'md5_key' => 'Identificación única', + 'logo' => 'logo', + 'name' => 'Nombre', + 'describe' => 'Descripción', + 'access_count' => 'Número de visitas', + 'is_enable' => 'Si habilitar', + 'add_time' => 'Tiempo de creación', + 'upd_time' => 'Tiempo de actualización', + ], + ], + + // 附件 + 'attachment' => [ + 'base_nav_title' => 'Anexo', + 'category_admin_title' => 'Gestión clasificada', + // 动态表格 + 'form_table' => [ + 'category_name' => 'Clasificación', + 'type_name' => 'Tipo', + 'info' => 'Anexo', + 'original' => 'Nombre del archivo original', + 'title' => 'Nuevo nombre de archivo', + 'size' => 'Tamaño', + 'ext' => 'Sufijo', + 'url' => 'Dirección URL ', + 'hash' => 'hash', + 'add_time' => 'Tiempo de creación', + ], + ], + + // 附件分类 + 'attachmentcategory' => [ + 'base_nav_title' => 'Clasificación de los anexos', + ], + // 积分日志 'integrallog' => [ // 动态表格 @@ -1460,72 +1505,84 @@ return [ 'navigation_index' => [ 'name' => 'Gestión del sitio web', 'item' => [ - 'navigation_index' => 'Gestión de la navegación', - 'navigation_save' => 'Navegación añadir / editar', - 'navigation_delete' => 'Eliminar navegación', - 'navigation_statusupdate' => 'Actualización del Estado de navegación', - 'customview_index' => 'Página personalizada', - 'customview_saveinfo' => 'Página personalizada para agregar / editar Página', - 'customview_save' => 'Añadir / editar página personalizada', - 'customview_delete' => 'Eliminar página personalizada', - 'customview_statusupdate' => 'Actualización del Estado de la página personalizada', - 'customview_detail' => 'Detalles de la página personalizada', - 'link_index' => 'Enlace amistoso', - 'link_saveinfo' => 'Enlace de amistad para agregar / editar Página', - 'link_save' => 'Añadir / editar enlaces de amistad', - 'link_delete' => 'Eliminar enlaces de amistad', - 'link_statusupdate' => 'Actualización del Estado del enlace de amistad', - 'link_detail' => 'Detalles del enlace amistoso', - 'themeadmin_index' => 'Gestión temática', - 'themeadmin_save' => 'Gestión temática añadir / editar', - 'themeadmin_upload' => 'Instalación de carga de temas', - 'themeadmin_delete' => 'Eliminación del tema', - 'themeadmin_download' => 'Descarga del tema', - 'themedata_index' => 'Datos temáticos', - 'themedata_saveinfo' => 'Página de adición / edición de datos temáticos', - 'themedata_save' => 'Añadir / editar datos temáticos', - 'themedata_upload' => 'Carga de datos temáticos', - 'themedata_delete' => 'Eliminación de datos temáticos', - 'themedata_download' => 'Descarga de datos temáticos', - 'slide_index' => 'Rotación de la página de inicio', - 'slide_saveinfo' => 'Página de adición / edición de la rotación', - 'slide_save' => 'Añadir / editar a la rotación', - 'slide_statusupdate' => 'Actualización del Estado de rotación', - 'slide_delete' => 'Eliminación de la rotación', - 'slide_detail' => 'Detalles de la rotación', - 'screeningprice_index' => 'Precio de selección', - 'screeningprice_save' => 'Filtrar precio añadir / editar', - 'screeningprice_delete' => 'Eliminar el precio del filtro', - 'region_index' => 'Gestión regional', - 'region_save' => 'Área añadir / editar', - 'region_statusupdate' => 'Actualización del Estado regional', - 'region_delete' => 'Área eliminada', - 'region_codedata' => 'Obtención de datos de numeración regional', - 'express_index' => 'Gestión de mensajería', - 'express_save' => 'Añadir / editar mensajería', - 'express_delete' => 'Eliminación de mensajería', - 'payment_index' => 'Método de pago', - 'payment_saveinfo' => 'Página de instalación / edición del método de pago', - 'payment_save' => 'Instalación / edición del método de pago', - 'payment_delete' => 'Eliminación del método de pago', - 'payment_install' => 'Instalación del método de pago', - 'payment_statusupdate' => 'Actualización del Estado del método de pago', - 'payment_uninstall' => 'Descarga del método de pago', - 'payment_upload' => 'Método de pago cargado', - 'quicknav_index' => 'Navegación rápida', - 'quicknav_saveinfo' => 'Navegación rápida para agregar / editar páginas', - 'quicknav_save' => 'Navegación rápida añadir / editar', - 'quicknav_statusupdate' => 'Actualización del Estado de navegación rápida', - 'quicknav_delete' => 'Navegación rápida eliminada', - 'quicknav_detail' => 'Detalles de navegación rápida', - 'design_index' => 'Diseño de página', - 'design_saveinfo' => 'Diseño de página para agregar / editar páginas', - 'design_save' => 'Diseño de página añadir / editar', - 'design_statusupdate' => 'Actualización del Estado de diseño de la página', - 'design_upload' => 'Importación de diseño de página', - 'design_download' => 'Descarga de diseño de página', - 'design_sync' => 'Página de inicio de sincronización de diseño de página', - 'design_delete' => 'Diseño de página eliminado', + 'navigation_index' => 'Gestión de la navegación', + 'navigation_save' => 'Navegación añadir / editar', + 'navigation_delete' => 'Eliminar navegación', + 'navigation_statusupdate' => 'Actualización del Estado de navegación', + 'customview_index' => 'Página personalizada', + 'customview_saveinfo' => 'Página personalizada para agregar / editar Página', + 'customview_save' => 'Añadir / editar página personalizada', + 'customview_delete' => 'Eliminar página personalizada', + 'customview_statusupdate' => 'Actualización del Estado de la página personalizada', + 'customview_detail' => 'Detalles de la página personalizada', + 'link_index' => 'Enlace amistoso', + 'link_saveinfo' => 'Enlace de amistad para agregar / editar Página', + 'link_save' => 'Añadir / editar enlaces de amistad', + 'link_delete' => 'Eliminar enlaces de amistad', + 'link_statusupdate' => 'Actualización del Estado del enlace de amistad', + 'link_detail' => 'Detalles del enlace amistoso', + 'themeadmin_index' => 'Gestión temática', + 'themeadmin_save' => 'Gestión temática añadir / editar', + 'themeadmin_upload' => 'Instalación de carga de temas', + 'themeadmin_delete' => 'Eliminación del tema', + 'themeadmin_download' => 'Descarga del tema', + 'themeadmin_market' => 'Plantilla temática Mercado', + 'themedata_index' => 'Datos temáticos', + 'themedata_saveinfo' => 'Página de adición / edición de datos temáticos', + 'themedata_save' => 'Añadir / editar datos temáticos', + 'themedata_upload' => 'Carga de datos temáticos', + 'themedata_delete' => 'Eliminación de datos temáticos', + 'themedata_download' => 'Descarga de datos temáticos', + 'slide_index' => 'Rotación de la página de inicio', + 'slide_saveinfo' => 'Página de adición / edición de la rotación', + 'slide_save' => 'Añadir / editar a la rotación', + 'slide_statusupdate' => 'Actualización del Estado de rotación', + 'slide_delete' => 'Eliminación de la rotación', + 'slide_detail' => 'Detalles de la rotación', + 'screeningprice_index' => 'Precio de selección', + 'screeningprice_save' => 'Filtrar precio añadir / editar', + 'screeningprice_delete' => 'Eliminar el precio del filtro', + 'region_index' => 'Gestión regional', + 'region_save' => 'Área añadir / editar', + 'region_statusupdate' => 'Actualización del Estado regional', + 'region_delete' => 'Área eliminada', + 'region_codedata' => 'Obtención de datos de numeración regional', + 'express_index' => 'Gestión de mensajería', + 'express_save' => 'Añadir / editar mensajería', + 'express_delete' => 'Eliminación de mensajería', + 'payment_index' => 'Método de pago', + 'payment_saveinfo' => 'Página de instalación / edición del método de pago', + 'payment_save' => 'Instalación / edición del método de pago', + 'payment_delete' => 'Eliminación del método de pago', + 'payment_install' => 'Instalación del método de pago', + 'payment_statusupdate' => 'Actualización del Estado del método de pago', + 'payment_uninstall' => 'Descarga del método de pago', + 'payment_upload' => 'Método de pago cargado', + 'payment_market' => 'Mercado de complementos de pago', + 'quicknav_index' => 'Navegación rápida', + 'quicknav_saveinfo' => 'Navegación rápida para agregar / editar páginas', + 'quicknav_save' => 'Navegación rápida añadir / editar', + 'quicknav_statusupdate' => 'Actualización del Estado de navegación rápida', + 'quicknav_delete' => 'Navegación rápida eliminada', + 'quicknav_detail' => 'Detalles de navegación rápida', + 'design_index' => 'Diseño de página', + 'design_saveinfo' => 'Diseño de página para agregar / editar páginas', + 'design_save' => 'Diseño de página añadir / editar', + 'design_statusupdate' => 'Actualización del Estado de diseño de la página', + 'design_upload' => 'Importación de diseño de página', + 'design_download' => 'Descarga de diseño de página', + 'design_sync' => 'Página de inicio de sincronización de diseño de página', + 'design_delete' => 'Diseño de página eliminado', + 'design_market' => 'Plantilla de diseño de página Mercado', + 'attachment_index' => 'Gestión de Anexos', + 'attachment_detail' => 'Detalles de la gestión de Anexos', + 'attachment_saveinfo' => 'Gestión de accesorios añadir / editar Página', + 'attachment_save' => 'Gestión de anexos añadir / editar', + 'attachment_delete' => 'Eliminación de la gestión de Anexos', + 'attachmentcategory_index' => 'Clasificación de los anexos', + 'attachmentcategory_save' => 'Clasificación de anexos añadir / editar', + 'attachmentcategory_statusupdate' => 'Actualización del Estado del Anexo', + 'attachmentcategory_delete' => 'Eliminación de la clasificación de Anexos', ] ], 'brand_index' => [ @@ -1565,29 +1622,69 @@ return [ 'app_index' => [ 'name' => 'Gestión de teléfonos móviles', 'item' => [ - 'appconfig_index' => 'Configuración básica', - 'appconfig_save' => 'Guardar configuración básica', - 'apphomenav_index' => 'Navegación en la página de inicio', - 'apphomenav_saveinfo' => 'Página de inicio navegación añadir / editar Página', - 'apphomenav_save' => 'Navegación de página de inicio añadir / editar', - 'apphomenav_statusupdate' => 'Actualización del Estado de navegación de la página de inicio', - 'apphomenav_delete' => 'Eliminar la navegación de la página de inicio', - 'apphomenav_detail' => 'Detalles de la navegación en la página de inicio', - 'appcenternav_index' => 'Navegación del Centro de usuarios', - 'appcenternav_saveinfo' => 'Navegación del Centro de usuarios para agregar / editar páginas', - 'appcenternav_save' => 'Navegación del Centro de usuarios añadir / editar', - 'appcenternav_statusupdate' => 'Actualización del Estado de navegación del Centro de usuarios', - 'appcenternav_delete' => 'Eliminación de navegación del Centro de usuarios', - 'appcenternav_detail' => 'Detalles de navegación del Centro de usuarios', - 'appmini_index' => 'Lista de applets', - 'appmini_created' => 'Generación de pequeños paquetes', - 'appmini_delete' => 'Eliminación de paquetes pequeños', - 'appmini_themeupload' => 'Carga del tema del applet', - 'appmini_themesave' => 'Cambio de tema del applet', - 'appmini_themedelete' => 'Cambio de tema del applet', - 'appmini_themedownload' => 'Descarga del tema del applet', - 'appmini_config' => 'Configuración del applet', - 'appmini_save' => 'Guardar la configuración del applet', + 'appconfig_index' => 'Configuración básica', + 'appconfig_save' => 'Guardar configuración básica', + 'appmini_index' => 'Lista de applets', + 'appmini_created' => 'Generación de pequeños paquetes', + 'appmini_delete' => 'Eliminación de paquetes pequeños', + 'appmini_themeupload' => 'Carga del tema del applet', + 'appmini_themesave' => 'Cambio de tema del applet', + 'appmini_themedelete' => 'Cambio de tema del applet', + 'appmini_themedownload' => 'Descarga del tema del applet', + 'appmini_config' => 'Configuración del applet', + 'appmini_save' => 'Guardar la configuración del applet', + 'diy_index' => 'Decoración de bricolaje', + 'diy_saveinfo' => 'Página añadir / editar decoración de bricolaje', + 'diy_save' => 'Añadir / editar decoración de bricolaje', + 'diy_statusupdate' => 'Actualización del Estado de decoración de bricolaje', + 'diy_delete' => 'Decoración de bricolaje eliminada', + 'diy_download' => 'Exportación de decoración de bricolaje', + 'diy_upload' => 'Importación de decoración de bricolaje', + 'diy_detail' => 'Detalles de la decoración de bricolaje', + 'diy_preview' => 'Vista previa de la decoración de bricolaje', + 'diy_market' => 'Plantilla de decoración de bricolaje Mercado', + 'diy_apptabbar' => 'Menú inferior de la decoración de bricolaje', + 'diyapi_init' => 'Decoración de bricolaje - iniciación pública', + 'diyapi_attachmentcategory' => 'Decoración de bricolaje - Clasificación de accesorios', + 'diyapi_attachmentlist' => 'Decoración de bricolaje - Lista de accesorios', + 'diyapi_attachmentsave' => 'Decoración de bricolaje - conservación de accesorios', + 'diyapi_attachmentdelete' => 'Decoración de bricolaje - Eliminación de accesorios', + 'diyapi_attachmentupload' => 'Decoración de bricolaje - carga de accesorios', + 'diyapi_attachmentcatch' => 'Decoración de bricolaje - descarga remota de accesorios', + 'diyapi_attachmentscanuploaddata' => 'Decoración de bricolaje - Código de escaneo de accesorios para cargar datos', + 'diyapi_attachmentmovecategory' => 'Decoración de bricolaje - Clasificación móvil de accesorios', + 'diyapi_attachmentcategorysave' => 'Decoración de bricolaje - conservación clasificada de accesorios', + 'diyapi_attachmentcategorydelete' => 'Decoración de bricolaje - Eliminación de la clasificación de accesorios', + 'diyapi_goodslist' => 'Decoración de bricolaje - Lista de productos', + 'diyapi_customviewlist' => 'Decoración de bricolaje - Lista de páginas personalizadas', + 'diyapi_designlist' => 'Decoración de bricolaje - Lista de diseños de páginas', + 'diyapi_articlelist' => 'Decoración de bricolaje - Lista de artículos', + 'diyapi_brandlist' => 'Decoración de bricolaje - Lista de marcas', + 'diyapi_diylist' => 'Decoración de bricolaje - Lista de decoración de bricolaje', + 'diyapi_diydetail' => 'Decoración de bricolaje - detalles de la decoración de bricolaje', + 'diyapi_diysave' => 'Decoración de bricolaje - conservación de la decoración de bricolaje', + 'diyapi_diyupload' => 'Decoración de bricolaje - importación de decoración de bricolaje', + 'diyapi_diydownload' => 'Decoración de bricolaje - exportación de decoración de bricolaje', + 'diyapi_diyinstall' => 'Decoración de bricolaje - instalación de ENCOFRADOS de decoración de bricolaje', + 'diyapi_diymarket' => 'Decoración de bricolaje - mercado de ENCOFRADOS de decoración de bricolaje', + 'diyapi_goodsappointdata' => 'Decoración de bricolaje - datos de designación de productos', + 'diyapi_goodsautodata' => 'Decoración de bricolaje - datos automáticos de la mercancía', + 'diyapi_articleappointdata' => 'Decoración de bricolaje - datos especificados en el artículo', + 'diyapi_articleautodata' => 'Decoración de bricolaje - datos automáticos del artículo', + 'diyapi_userheaddata' => 'Decoración de bricolaje - datos de la cabeza del usuario', + 'diyapi_custominit' => 'Decoración de bricolaje - iniciación personalizada', + 'apphomenav_index' => 'Navegación en la página de inicio', + 'apphomenav_saveinfo' => 'Página de inicio navegación añadir / editar Página', + 'apphomenav_save' => 'Navegación de página de inicio añadir / editar', + 'apphomenav_statusupdate' => 'Actualización del Estado de navegación de la página de inicio', + 'apphomenav_delete' => 'Eliminar la navegación de la página de inicio', + 'apphomenav_detail' => 'Detalles de la navegación en la página de inicio', + 'appcenternav_index' => 'Navegación del Centro de usuarios', + 'appcenternav_saveinfo' => 'Navegación del Centro de usuarios para agregar / editar páginas', + 'appcenternav_save' => 'Navegación del Centro de usuarios añadir / editar', + 'appcenternav_statusupdate' => 'Actualización del Estado de navegación del Centro de usuarios', + 'appcenternav_delete' => 'Eliminación de navegación del Centro de usuarios', + 'appcenternav_detail' => 'Detalles de navegación del Centro de usuarios', ] ], 'article_index' => [ @@ -1621,6 +1718,16 @@ return [ 'integrallog_detail' => 'Detalles del registro de puntos', 'smslog_index' => 'Registro de mensajes cortos', 'smslog_detail' => 'Detalles del registro de mensajes cortos', + 'smslog_delete' => 'Eliminación del registro de mensajes cortos', + 'smslog_alldelete' => 'Todos los registros de mensajes cortos se eliminan', + 'emaillog_index' => 'Registro de correo', + 'emaillog_detail' => 'Detalles del registro de correo', + 'emaillog_delete' => 'Eliminación del registro de correo', + 'emaillog_alldelete' => 'Eliminar todos los registros de correo', + 'errorlog_index' => 'Registro de errores', + 'errorlog_detail' => 'Detalles del registro de errores', + 'errorlog_delete' => 'Eliminación del registro de errores', + 'errorlog_alldelete' => 'Todos los registros de errores se eliminan', ] ], 'store_index' => [ @@ -1637,6 +1744,7 @@ return [ 'pluginsadmin_install' => 'Instalación de aplicaciones', 'pluginsadmin_uninstall' => 'Desinstalación de aplicaciones', 'pluginsadmin_sortsave' => 'Ordenar y guardar aplicaciones', + 'pluginsadmin_market' => 'Mercado de plug - INS de aplicaciones', 'store_index' => 'Tienda de aplicaciones', 'packageinstall_index' => 'Página de instalación de paquetes de software', 'packageinstall_install' => 'Instalación de paquetes de software', diff --git a/app/admin/lang/zh.php b/app/admin/lang/zh.php index daefe93f9..635e841e0 100755 --- a/app/admin/lang/zh.php +++ b/app/admin/lang/zh.php @@ -284,6 +284,7 @@ return [ 'base_nav_title' => '品牌', // 动态表格 'form_table' => [ + 'id' => '品牌ID', 'name' => '名称', 'describe' => '描述', 'logo' => 'LOGO', @@ -336,7 +337,9 @@ return [ 'save_view_tips' => '请先保存再预览效果', // 动态表格 'form_table' => [ - 'info' => '标题', + 'id' => '数据ID', + 'logo' => 'logo', + 'name' => '名称', 'is_enable' => '是否启用', 'is_header' => '是否头部', 'is_footer' => '是否尾部', @@ -359,8 +362,8 @@ return [ // 动态表格 'form_table' => [ 'id' => '数据ID', - 'info' => '基础信息', - 'info_placeholder' => '请输入名称', + 'logo' => 'logo', + 'name' => '名称', 'access_count' => '访问次数', 'is_enable' => '是否启用', 'is_header' => '是否含头部', @@ -888,7 +891,7 @@ return [ ['name' => '未安装', 'type' => 1], ], 'base_nav_title' => '支付方式', - 'base_upload_payment_name' => '上传支付', + 'base_upload_payment_name' => '导入支付', 'base_nav_store_payment_name' => '更多支付方式下载', 'upload_top_list_tips' => [ [ @@ -938,7 +941,7 @@ return [ ['name' => '当前主题', 'type' => 'index'], ['name' => '主题安装', 'type' => 'upload'], ], - 'base_upload_theme_name' => '上传主题', + 'base_upload_theme_name' => '导入主题', 'base_nav_store_theme_name' => '更多主题下载', 'list_author_title' => '作者', 'list_version_title' => '适用版本', @@ -1082,11 +1085,7 @@ return [ ], // 基础导航 'base_nav_title' => '应用', - 'base_nav_list' => [ - ['name' => '应用管理', 'type' => 'index'], - ['name' => '上传应用', 'type' => 'upload'], - ], - 'base_upload_application_name' => '上传应用', + 'base_upload_application_name' => '导入应用', 'base_nav_more_plugins_download_name' => '更多插件下载', // 基础页面 'base_search_input_placeholder' => '请输入名称/描述', @@ -1207,6 +1206,52 @@ return [ ], ], + // diy装修 + 'diy' => [ + 'nav_store_diy_name' => '更多diy模板下载', + 'nav_apptabbar_name' => '底部菜单', + 'upload_list_tips' => [ + '1. 选择已下载的diy设计zip包', + '2. 导入将自动新增一条数据', + ], + // 动态表格 + 'form_table' => [ + 'id' => '数据ID', + 'md5_key' => '唯一标识', + 'logo' => 'logo', + 'name' => '名称', + 'describe' => '描述', + 'access_count' => '访问次数', + 'is_enable' => '是否启用', + 'add_time' => '创建时间', + 'upd_time' => '更新时间', + ], + ], + + // 附件 + 'attachment' => [ + 'base_nav_title' => '附件', + 'category_admin_title' => '分类管理', + // 动态表格 + 'form_table' => [ + 'category_name' => '分类', + 'type_name' => '类型', + 'info' => '附件', + 'original' => '原文件名', + 'title' => '新文件名', + 'size' => '大小', + 'ext' => '后缀', + 'url' => 'url地址 ', + 'hash' => 'hash', + 'add_time' => '创建时间', + ], + ], + + // 附件分类 + 'attachmentcategory' => [ + 'base_nav_title' => '附件分类', + ], + // 积分日志 'integrallog' => [ // 动态表格 @@ -1280,6 +1325,23 @@ return [ ], ], + // 错误日志 + 'errorlog' => [ + // 动态表格 + 'form_table' => [ + 'message' => '错误信息', + 'file' => '错误文件路径', + 'line' => '错误文件行号', + 'code' => '错误编码', + 'ip' => '请求ip', + 'uri' => 'uri地址段', + 'request_params' => '请求参数', + 'memory_use' => '使用内存', + 'tsc' => '耗时(秒)', + 'add_time' => '添加时间', + ], + ], + // sql控制台 'sqlconsole' => [ 'top_tips' => 'PS:非开发人员请不要随意执行任何SQL语句,操作可能导致将整个系统数据库被删除。', @@ -1461,75 +1523,87 @@ return [ 'navigation_index' => [ 'name' => '网站', 'item' => [ - 'navigation_index' => '导航管理', - 'navigation_save' => '导航添加/编辑', - 'navigation_delete' => '导航删除', - 'navigation_statusupdate' => '导航状态更新', - 'customview_index' => '自定义页面', - 'customview_saveinfo' => '自定义页面添加/编辑页面', - 'customview_save' => '自定义页面添加/编辑', - 'customview_delete' => '自定义页面删除', - 'customview_statusupdate' => '自定义页面状态更新', - 'customview_detail' => '自定义页面详情', - 'link_index' => '友情链接', - 'link_saveinfo' => '友情链接添加/编辑页面', - 'link_save' => '友情链接添加/编辑', - 'link_delete' => '友情链接删除', - 'link_statusupdate' => '友情链接状态更新', - 'link_detail' => '友情链接详情', - 'themeadmin_index' => '主题管理', - 'themeadmin_save' => '主题管理添加/编辑', - 'themeadmin_upload' => '主题上传安装', - 'themeadmin_delete' => '主题删除', - 'themeadmin_download' => '主题下载', - 'themedata_index' => '主题数据', - 'themedata_saveinfo' => '主题数据添加/编辑页面', - 'themedata_save' => '主题数据添加/编辑', - 'themedata_upload' => '主题数据上传', - 'themedata_delete' => '主题数据删除', - 'themedata_download' => '主题数据下载', - 'themedata_detail' => '主题数据详情', - 'themedata_goodssearch' => '主题数据商品搜索', - 'themedata_articlesearch' => '主题数据文章搜索', - 'slide_index' => '首页轮播', - 'slide_saveinfo' => '轮播添加/编辑页面', - 'slide_save' => '轮播添加/编辑', - 'slide_statusupdate' => '轮播状态更新', - 'slide_delete' => '轮播删除', - 'slide_detail' => '轮播详情', - 'screeningprice_index' => '筛选价格', - 'screeningprice_save' => '筛选价格添加/编辑', - 'screeningprice_delete' => '筛选价格删除', - 'region_index' => '地区管理', - 'region_save' => '地区添加/编辑', - 'region_statusupdate' => '地区状态更新', - 'region_delete' => '地区删除', - 'region_codedata' => '获取地区编号数据', - 'express_index' => '快递管理', - 'express_save' => '快递添加/编辑', - 'express_delete' => '快递删除', - 'payment_index' => '支付方式', - 'payment_saveinfo' => '支付方式安装/编辑页面', - 'payment_save' => '支付方式安装/编辑', - 'payment_delete' => '支付方式删除', - 'payment_install' => '支付方式安装', - 'payment_statusupdate' => '支付方式状态更新', - 'payment_uninstall' => '支付方式卸载', - 'payment_upload' => '支付方式上传', - 'quicknav_index' => '快捷导航', - 'quicknav_saveinfo' => '快捷导航添加/编辑页面', - 'quicknav_save' => '快捷导航添加/编辑', - 'quicknav_statusupdate' => '快捷导航状态更新', - 'quicknav_delete' => '快捷导航删除', - 'quicknav_detail' => '快捷导航详情', - 'design_index' => '页面设计', - 'design_saveinfo' => '页面设计添加/编辑页面', - 'design_save' => '页面设计添加/编辑', - 'design_statusupdate' => '页面设计状态更新', - 'design_upload' => '页面设计导入', - 'design_download' => '页面设计下载', - 'design_sync' => '页面设计同步首页', - 'design_delete' => '页面设计删除', + 'navigation_index' => '导航管理', + 'navigation_save' => '导航添加/编辑', + 'navigation_delete' => '导航删除', + 'navigation_statusupdate' => '导航状态更新', + 'customview_index' => '自定义页面', + 'customview_saveinfo' => '自定义页面添加/编辑页面', + 'customview_save' => '自定义页面添加/编辑', + 'customview_delete' => '自定义页面删除', + 'customview_statusupdate' => '自定义页面状态更新', + 'customview_detail' => '自定义页面详情', + 'link_index' => '友情链接', + 'link_saveinfo' => '友情链接添加/编辑页面', + 'link_save' => '友情链接添加/编辑', + 'link_delete' => '友情链接删除', + 'link_statusupdate' => '友情链接状态更新', + 'link_detail' => '友情链接详情', + 'themeadmin_index' => '主题管理', + 'themeadmin_save' => '主题管理添加/编辑', + 'themeadmin_upload' => '主题上传安装', + 'themeadmin_delete' => '主题删除', + 'themeadmin_download' => '主题下载', + 'themeadmin_market' => '主题模板市场', + 'themedata_index' => '主题数据', + 'themedata_saveinfo' => '主题数据添加/编辑页面', + 'themedata_save' => '主题数据添加/编辑', + 'themedata_upload' => '主题数据上传', + 'themedata_delete' => '主题数据删除', + 'themedata_download' => '主题数据下载', + 'themedata_detail' => '主题数据详情', + 'themedata_goodssearch' => '主题数据商品搜索', + 'themedata_articlesearch' => '主题数据文章搜索', + 'slide_index' => '首页轮播', + 'slide_saveinfo' => '轮播添加/编辑页面', + 'slide_save' => '轮播添加/编辑', + 'slide_statusupdate' => '轮播状态更新', + 'slide_delete' => '轮播删除', + 'slide_detail' => '轮播详情', + 'screeningprice_index' => '筛选价格', + 'screeningprice_save' => '筛选价格添加/编辑', + 'screeningprice_delete' => '筛选价格删除', + 'region_index' => '地区管理', + 'region_save' => '地区添加/编辑', + 'region_statusupdate' => '地区状态更新', + 'region_delete' => '地区删除', + 'region_codedata' => '获取地区编号数据', + 'express_index' => '快递管理', + 'express_save' => '快递添加/编辑', + 'express_delete' => '快递删除', + 'payment_index' => '支付方式', + 'payment_saveinfo' => '支付方式安装/编辑页面', + 'payment_save' => '支付方式安装/编辑', + 'payment_delete' => '支付方式删除', + 'payment_install' => '支付方式安装', + 'payment_statusupdate' => '支付方式状态更新', + 'payment_uninstall' => '支付方式卸载', + 'payment_upload' => '支付方式上传', + 'payment_market' => '支付插件市场', + 'quicknav_index' => '快捷导航', + 'quicknav_saveinfo' => '快捷导航添加/编辑页面', + 'quicknav_save' => '快捷导航添加/编辑', + 'quicknav_statusupdate' => '快捷导航状态更新', + 'quicknav_delete' => '快捷导航删除', + 'quicknav_detail' => '快捷导航详情', + 'design_index' => '页面设计', + 'design_saveinfo' => '页面设计添加/编辑页面', + 'design_save' => '页面设计添加/编辑', + 'design_statusupdate' => '页面设计状态更新', + 'design_upload' => '页面设计导入', + 'design_download' => '页面设计下载', + 'design_sync' => '页面设计同步首页', + 'design_delete' => '页面设计删除', + 'design_market' => '页面设计模板市场', + 'attachment_index' => '附件管理', + 'attachment_detail' => '附件管理详情', + 'attachment_saveinfo' => '附件管理添加/编辑页面', + 'attachment_save' => '附件管理添加/编辑', + 'attachment_delete' => '附件管理删除', + 'attachmentcategory_index' => '附件分类', + 'attachmentcategory_save' => '附件分类添加/编辑', + 'attachmentcategory_statusupdate' => '附件状态更新', + 'attachmentcategory_delete' => '附件分类删除', ] ], 'brand_index' => [ @@ -1569,29 +1643,69 @@ return [ 'app_index' => [ 'name' => '手机', 'item' => [ - 'appconfig_index' => '基础配置', - 'appconfig_save' => '基础配置保存', - 'apphomenav_index' => '首页导航', - 'apphomenav_saveinfo' => '首页导航添加/编辑页面', - 'apphomenav_save' => '首页导航添加/编辑', - 'apphomenav_statusupdate' => '首页导航状态更新', - 'apphomenav_delete' => '首页导航删除', - 'apphomenav_detail' => '首页导航详情', - 'appcenternav_index' => '用户中心导航', - 'appcenternav_saveinfo' => '用户中心导航添加/编辑页面', - 'appcenternav_save' => '用户中心导航添加/编辑', - 'appcenternav_statusupdate' => '用户中心导航状态更新', - 'appcenternav_delete' => '用户中心导航删除', - 'appcenternav_detail' => '用户中心导航详情', - 'appmini_index' => '小程序列表', - 'appmini_created' => '小程序包生成', - 'appmini_delete' => '小程序包删除', - 'appmini_themeupload' => '小程序主题上传', - 'appmini_themesave' => '小程序主题切换', - 'appmini_themedelete' => '小程序主题切换', - 'appmini_themedownload' => '小程序主题下载', - 'appmini_config' => '小程序配置', - 'appmini_save' => '小程序配置保存', + 'appconfig_index' => '基础配置', + 'appconfig_save' => '基础配置保存', + 'appmini_index' => '小程序列表', + 'appmini_created' => '小程序包生成', + 'appmini_delete' => '小程序包删除', + 'appmini_themeupload' => '小程序主题上传', + 'appmini_themesave' => '小程序主题切换', + 'appmini_themedelete' => '小程序主题切换', + 'appmini_themedownload' => '小程序主题下载', + 'appmini_config' => '小程序配置', + 'appmini_save' => '小程序配置保存', + 'diy_index' => 'DIY装修', + 'diy_saveinfo' => 'DIY装修添加/编辑页面', + 'diy_save' => 'DIY装修添加/编辑', + 'diy_statusupdate' => 'DIY装修状态更新', + 'diy_delete' => 'DIY装修删除', + 'diy_download' => 'DIY装修导出', + 'diy_upload' => 'DIY装修导入', + 'diy_detail' => 'DIY装修详情', + 'diy_preview' => 'DIY装修预览', + 'diy_market' => 'DIY装修模板市场', + 'diy_apptabbar' => 'DIY装修底部菜单', + 'diyapi_init' => 'DIY装修-公共初始化', + 'diyapi_attachmentcategory' => 'DIY装修-附件分类', + 'diyapi_attachmentlist' => 'DIY装修-附件列表', + 'diyapi_attachmentsave' => 'DIY装修-附件保存', + 'diyapi_attachmentdelete' => 'DIY装修-附件删除', + 'diyapi_attachmentupload' => 'DIY装修-附件上传', + 'diyapi_attachmentcatch' => 'DIY装修-附件远程下载', + 'diyapi_attachmentscanuploaddata' => 'DIY装修-附件扫码上传数据', + 'diyapi_attachmentmovecategory' => 'DIY装修-附件移动分类', + 'diyapi_attachmentcategorysave' => 'DIY装修-附件分类保存', + 'diyapi_attachmentcategorydelete' => 'DIY装修-附件分类删除', + 'diyapi_goodslist' => 'DIY装修-商品列表', + 'diyapi_customviewlist' => 'DIY装修-自定义页面列表', + 'diyapi_designlist' => 'DIY装修-页面设计列表', + 'diyapi_articlelist' => 'DIY装修-文章列表', + 'diyapi_brandlist' => 'DIY装修-品牌列表', + 'diyapi_diylist' => 'DIY装修-DIY装修列表', + 'diyapi_diydetail' => 'DIY装修-DIY装修详情', + 'diyapi_diysave' => 'DIY装修-DIY装修保存', + 'diyapi_diyupload' => 'DIY装修-DIY装修导入', + 'diyapi_diydownload' => 'DIY装修-DIY装修导出', + 'diyapi_diyinstall' => 'DIY装修-DIY装修模板安装', + 'diyapi_diymarket' => 'DIY装修-DIY装修模板市场', + 'diyapi_goodsappointdata' => 'DIY装修-商品指定数据', + 'diyapi_goodsautodata' => 'DIY装修-商品自动数据', + 'diyapi_articleappointdata' => 'DIY装修-文章指定数据', + 'diyapi_articleautodata' => 'DIY装修-文章自动数据', + 'diyapi_userheaddata' => 'DIY装修-用户头部数据', + 'diyapi_custominit' => 'DIY装修-自定义初始化', + 'apphomenav_index' => '首页导航', + 'apphomenav_saveinfo' => '首页导航添加/编辑页面', + 'apphomenav_save' => '首页导航添加/编辑', + 'apphomenav_statusupdate' => '首页导航状态更新', + 'apphomenav_delete' => '首页导航删除', + 'apphomenav_detail' => '首页导航详情', + 'appcenternav_index' => '用户中心导航', + 'appcenternav_saveinfo' => '用户中心导航添加/编辑页面', + 'appcenternav_save' => '用户中心导航添加/编辑', + 'appcenternav_statusupdate' => '用户中心导航状态更新', + 'appcenternav_delete' => '用户中心导航删除', + 'appcenternav_detail' => '用户中心导航详情', ] ], 'article_index' => [ @@ -1625,6 +1739,16 @@ return [ 'integrallog_detail' => '积分日志详情', 'smslog_index' => '短信日志', 'smslog_detail' => '短信日志详情', + 'smslog_delete' => '短信日志删除', + 'smslog_alldelete' => '短信日志全部删除', + 'emaillog_index' => '邮件日志', + 'emaillog_detail' => '邮件日志详情', + 'emaillog_delete' => '邮件日志删除', + 'emaillog_alldelete' => '邮件日志全部删除', + 'errorlog_index' => '错误日志', + 'errorlog_detail' => '错误日志详情', + 'errorlog_delete' => '错误日志删除', + 'errorlog_alldelete' => '错误日志全部删除', ] ], 'store_index' => [ @@ -1641,6 +1765,7 @@ return [ 'pluginsadmin_install' => '应用安装', 'pluginsadmin_uninstall' => '应用卸载', 'pluginsadmin_sortsave' => '应用排序保存', + 'pluginsadmin_market' => '应用插件市场', 'store_index' => '应用商店', 'packageinstall_index' => '软件包安装页面', 'packageinstall_install' => '软件包安装', diff --git a/app/admin/view/default/agreement/logout.html b/app/admin/view/default/agreement/logout.html index 580ffafc0..69e71e00d 100644 --- a/app/admin/view/default/agreement/logout.html +++ b/app/admin/view/default/agreement/logout.html @@ -23,7 +23,7 @@ {{:MyLang('agreement.view_detail_name')}}