From b72d2cc816f704d159229c66dfd513d784e74789 Mon Sep 17 00:00:00 2001 From: h3110w0r1d <52311174+h3110w0r1d-y@users.noreply.github.com> Date: Tue, 23 May 2023 13:55:05 +0800 Subject: [PATCH] Update README.md --- README.md | 64 ++++++++++--------------------------------------------- 1 file changed, 11 insertions(+), 53 deletions(-) diff --git a/README.md b/README.md index 0abba5f..84971ae 100644 --- a/README.md +++ b/README.md @@ -30,22 +30,19 @@ rm app-update.yml # 防止自动更新 ```js var e=await this.api.bulkAccount(); e.account.pro_mode=true; +e.account.need_to_update_subscription=false; e.account.current_period={ "from": "2022-01-01T00:00:00", "until": "2099-01-01T00:00:00" }; e.account.plan_type="Premium"; e.account.user_type="Premium"; -e.account.expired_screen_type=null; - -e.account.authorized_features.show_create_team_promotions=false; +e.student=null; +e.trial=null; e.account.authorized_features.show_trial_section=false; e.account.authorized_features.show_subscription_section=true; e.account.authorized_features.show_github_account_section=false; -e.account.authorized_features.show_team_member_activation_into_identities_tour=false; -e.trial=null; -e.team=null; -e.student=null; +e.account.expired_screen_type=null; e.personal_subscription={ "now": new Date().toISOString().slice(0, -5), "status": "SUCCESS", @@ -68,52 +65,13 @@ e.personal_subscription={ "plan_type": "SINGLE", "is_expired": false }; -return ....... -``` - -搜索await this.api.login - -`const s=await this.api.login` -> `var s=await this.api.login` -```js -var s=await this.api.login({email:a,firebase_token:n,authy_token:r,password:$I.generateHash(t),device:HA.toJSON()}); -s.bulk_account.account.pro_mode=true; -s.bulk_account.account.current_period={ - "from": "2022-01-01T00:00:00", - "until": "2099-01-01T00:00:00" -}; -s.bulk_account.account.plan_type="Premium"; -s.bulk_account.account.user_type="Premium"; -s.bulk_account.account.expired_screen_type=null; - -s.bulk_account.account.authorized_features.show_create_team_promotions=false; -s.bulk_account.account.authorized_features.show_trial_section=false; -s.bulk_account.account.authorized_features.show_subscription_section=true; -s.bulk_account.account.authorized_features.show_github_account_section=false; -s.bulk_account.account.authorized_features.show_team_member_activation_into_identities_tour=false; -s.bulk_account.trial=null; -s.bulk_account.team=null; -s.bulk_account.student=null; -s.bulk_account.personal_subscription={ - "now": new Date().toISOString().slice(0, -5), - "status": "SUCCESS", - "platform": "stripe", - "current_period": { - "from": "2022-01-01T00:00:00", - "until": "2099-01-01T00:00:00" +e.access_objects=[{ + "period": { + "start": "2022-01-01T00:00:00", + "end": "2099-01-01T00:00:00" }, - "revokable": true, - "refunded": false, - "cancelable": true, - "reactivatable": false, - "currency": "usd", - "created_at": "2022-01-01T00:00:00", - "updated_at": new Date().toISOString().slice(0, -5), - "valid_until": "2099-01-01T00:00:00", - "auto_renew": true, - "price": 12.0, - "verbose_plan_name": "Termius Pro Monthly", - "plan_type": "SINGLE", - "is_expired": false -}; + "title": "Pro" +}] return ....... ``` +3. 启动Termius,登录账号,重启Termius