- 2025-03-17
- 39
crmeb接口未授权,您无法访问,解决方案[400012]Interfaceisnotauthorized,youcannotaccess
报错代码
[2021-08-09T10:52:34+08:00][error] [400012]Interface is not authorized, you cannot access[/www/wwwroot/XXXXX.com/app/services/system/admin/SystemRoleServices.php:107]
解决方案
1.复制下面代码
INSERT INTO `eb_system_menus` (`id`, `pid`, `icon`, `menu_name`, `module`, `controller`, `action`, `api_url`, `methods`, `params`, `sort`, `is_show`, `is_show_path`, `access`, `menu_path`, `path`, `auth_type`, `header`, `is_header`, `unique_auth`, `is_del`) VALUES (NULL, '5', '', '订单详情', 'admin', '', '', 'order/info/<id>', 'GET', '[]', '0', '1', '1', '1', '', '4/5', '2', '', '0', '', '0');
2.这个sql执行下然后重新给权限
3.重新登录