feat: 新增发票抬头、晒单、钱包日志等模型及后台管理功能

- 新增 invoice_title、showcase、wallet_log 模型及对应语言包
- 新增后台控制器、视图及搜索字段配置
- 修复服务类目删除保护逻辑
- 优化后台登录页面文案及样式
- 新增前端角色切换逻辑及页面拦截
- 新增 SVG 图标及样式变量
- 修复接口权限及下拉框默认值问题
这个提交包含在:
2026-11-11 17:02:35 +08:00
父节点 5908cf6b16
当前提交 fafddceaf2
共有 332 个文件被更改,包括 33892 次插入 和 8835 次删除

查看文件

@@ -15,9 +15,9 @@ class Demo extends Api
//如果接口已经设置无需登录,那也就无需鉴权了
//
// 无需登录的接口,*表示全部
protected $noNeedLogin = ['test', 'test1'];
protected $noNeedLogin = [];
// 无需鉴权的接口,*表示全部
protected $noNeedRight = ['test2'];
protected $noNeedRight = [];
/**
* 测试方法
@@ -40,7 +40,7 @@ class Demo extends Api
*/
public function test()
{
$this->success('返回成功', $this->request->param());
$this->error('无权限访问测试接口', null, 403);
}
/**
@@ -49,7 +49,7 @@ class Demo extends Api
*/
public function test1()
{
$this->success('返回成功', ['action' => 'test1']);
$this->error('无权限访问测试接口', null, 403);
}
/**
@@ -58,7 +58,7 @@ class Demo extends Api
*/
public function test2()
{
$this->success('返回成功', ['action' => 'test2']);
$this->error('无权限访问测试接口', null, 403);
}
/**
@@ -67,7 +67,7 @@ class Demo extends Api
*/
public function test3()
{
$this->success('返回成功', ['action' => 'test3']);
$this->error('无权限访问测试接口', null, 403);
}
}