chore: comm trial

This commit is contained in:
xiaojunnuo
2025-08-15 00:20:38 +08:00
parent 94cbeba495
commit 1b56c0f191
3 changed files with 8 additions and 5 deletions
@@ -8,10 +8,10 @@ export async function doActive(form: any) {
});
}
export async function getVipTrial(vipType:string) {
export async function getVipTrial(vipType: string) {
return await request({
url: "/sys/plus/getVipTrial",
method: "post",
data: {vipType},
data: { vipType },
});
}
@@ -38,8 +38,8 @@ export class SysPlusController extends BaseController {
}
@Post('/getVipTrial', { summary: 'sys:settings:edit' })
async getVipTrial(@Body(ALL) body) {
const res = await this.plusService.getVipTrial();
async getVipTrial(@Body("vipType") vipType?:string) {
const res = await this.plusService.getVipTrial(vipType);
return this.ok(res);
}
//