Merge branch 'v2-dev-buy' into v2-dev

This commit is contained in:
xiaojunnuo
2025-11-09 02:06:57 +08:00
13 changed files with 216 additions and 89 deletions

View File

@@ -130,12 +130,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);