chore(realname): remove user端实名认证菜单注册代码
1 个文件变更
+0
-14
13172193298@163.com
| •app_plugins/realname/bootstrap.php | +0 -14 |
变更内容
diff --git a/app_plugins/realname/bootstrap.php b/app_plugins/realname/bootstrap.php
index 73fa81c..e86250c 100644
--- a/app_plugins/realname/bootstrap.php
+++ b/app_plugins/realname/bootstrap.php
@@ -182,20 +182,6 @@ mnbt_register_route('GET', '/realname/api/img', function ($params, $ctx) {
// 支付拦截:未实名插件用户禁止发起支付
mnbt_add_filter('pay.dispatch.before', 'realname_pay_guard', 10);
-/* ============================================================
- * 用户端菜单
- * ============================================================ */
-
-mnbt_register_menu('user', [
- 'title' => '实名认证',
- 'icon' => 'mdi-account-check',
- 'order' => 90,
- 'children' => [
- ['title' => '实名认证', 'page' => 'apply', 'icon' => 'mdi-card-account-details', 'multitabs' => true],
- ['title' => '认证状态', 'page' => 'status', 'icon' => 'mdi-shield-check', 'multitabs' => true],
- ],
-]);
-
/* ============================================================
* 管理员端页面与菜单
* ============================================================ */