mirror of
https://github.com/certd/certd.git
synced 2026-04-28 07:57:25 +08:00
chore: comm trial
This commit is contained in:
@@ -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);
|
||||
}
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user