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
@@ -111,12 +111,15 @@ export class PlusService {
return res.accessToken;
}
async getVipTrial() {
async getVipTrial(vipType= "plus") {
await this.register();
const plusRequestService = await this.getPlusRequestService();
const res = await plusRequestService.request({
url: '/activation/subject/vip/trialGet',
method: 'POST',
data:{
vipType
}
});
if (res.license) {
await this.updateLicense(res.license);