diff --git a/app.go b/app.go index 2f25caa..4513fc9 100644 --- a/app.go +++ b/app.go @@ -863,6 +863,7 @@ func (a *App) GetVersionInfo() *models.VersionInfo { Icon: GetImageBase(icon), Alipay: GetImageBase(alipay), Wxpay: GetImageBase(wxpay), + Wxgzh: GetImageBase(wxgzh), Content: VersionCommit, OfficialStatement: OFFICIAL_STATEMENT, } diff --git a/backend/models/models.go b/backend/models/models.go index cc56ed5..b11e276 100644 --- a/backend/models/models.go +++ b/backend/models/models.go @@ -155,6 +155,7 @@ type VersionInfo struct { Icon string `json:"icon"` Alipay string `json:"alipay"` Wxpay string `json:"wxpay"` + Wxgzh string `json:"wxgzh"` BuildTimeStamp int64 `json:"buildTimeStamp"` OfficialStatement string `json:"officialStatement"` IsDel soft_delete.DeletedAt `gorm:"softDelete:flag"` diff --git a/frontend/src/components/about.vue b/frontend/src/components/about.vue index b2f36ef..72a723d 100644 --- a/frontend/src/components/about.vue +++ b/frontend/src/components/about.vue @@ -11,6 +11,7 @@ const versionInfo = ref(''); const icon = ref('https://raw.githubusercontent.com/ArvinLovegood/go-stock/master/build/appicon.png'); const alipay =ref('https://github.com/ArvinLovegood/go-stock/raw/master/build/screenshot/alipay.jpg') const wxpay =ref('https://github.com/ArvinLovegood/go-stock/raw/master/build/screenshot/wxpay.jpg') +const wxgzh =ref('https://github.com/ArvinLovegood/go-stock/raw/dev/build/screenshot/%E6%89%AB%E7%A0%81_%E6%90%9C%E7%B4%A2%E8%81%94%E5%90%88%E4%BC%A0%E6%92%AD%E6%A0%B7%E5%BC%8F-%E7%99%BD%E8%89%B2%E7%89%88.png') const notify = useNotification() const vipLevel=ref(""); const vipStartTime=ref(""); @@ -24,6 +25,7 @@ onMounted(() => { icon.value = res.icon; alipay.value=res.alipay; wxpay.value=res.wxpay; + wxgzh.value=res.wxgzh; GetSponsorInfo().then((res) => { vipLevel.value = res.vipLevel; @@ -127,7 +129,6 @@ EventsOn("updateVersion",async (msg) => {
QQ交流群:491605333
-一个热爱编程的小白,欢迎关注我的Github
-一个热爱编程的小白,欢迎关注我的Github/微信公众号
+开源不易,如果觉得好用,可以请作者喝杯咖啡。