🔥 The total payment amount is no longer displayed in the account settings Fix https://github.com/siyuan-note/siyuan/issues/8093

This commit is contained in:
Liang Ding 2023-04-24 08:54:16 +08:00
parent 6d45b15ee3
commit 9086a7286c
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
3 changed files with 0 additions and 8 deletions

View file

@ -117,12 +117,6 @@ ${window.siyuan.languages.account8}`;
<div class="fn__flex-1 fn__hr"></div>
<div class="ft__center">${subscriptionHTML}</div>
<div class="fn__flex-1 fn__hr"></div>
<div class="fn__flex fn__block" style="line-height: 1.625">
<div class="fn__flex-1"></div>
<span class="ft__on-surface">${window.siyuan.languages.paymentSum}</span>
<span class="fn__space"></span>
<span>${window.siyuan.user.userPaymentSum} RMB</span>
</div>
${activeSubscriptionHTML}
</div></div>`;
}

View file

@ -209,7 +209,6 @@ interface ISiyuan {
userHomeBImgURL: string
userIntro: string
userNickname: string
userPaymentSum: string
userSiYuanProExpireTime: number // -1 终身会员0 普通用户;> 0 过期时间
userSiYuanSubscriptionPlan: number // 0 年付订阅/终生1 教育优惠2 订阅试用
userSiYuanSubscriptionType: number // 0 年付1 终生2 月付

View file

@ -25,7 +25,6 @@ type User struct {
UserIntro string `json:"userIntro"`
UserNickname string `json:"userNickname"`
UserCreateTime string `json:"userCreateTime"`
UserPaymentSum string `json:"userPaymentSum"`
UserSiYuanProExpireTime float64 `json:"userSiYuanProExpireTime"`
UserToken string `json:"userToken"`
UserTokenExpireTime string `json:"userTokenExpireTime"`