perf: favicon支持自定义

This commit is contained in:
xiaojunnuo
2024-12-09 00:12:15 +08:00
parent 4042577c0b
commit 8b9c47daf1
6 changed files with 42 additions and 15 deletions

View File

@@ -14,9 +14,9 @@ export class SysPlusController extends BaseController {
@Post('/active', { summary: 'sys:settings:edit' })
async active(@Body(ALL) body) {
const { code } = body;
const { code, inviteCode } = body;
await this.plusService.active(code);
await this.plusService.active(code, inviteCode);
return this.ok(true);
}