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

- 支持💕开源 @@ -159,9 +160,8 @@ EventsOn("updateVersion",async (msg) => {

@ArvinLovegood

-

一个热爱编程的小白,欢迎关注我的Github

- - +

一个热爱编程的小白,欢迎关注我的Github/微信公众号

+

开源不易,如果觉得好用,可以请作者喝杯咖啡。

diff --git a/frontend/wailsjs/go/models.ts b/frontend/wailsjs/go/models.ts index 5b1d52c..6897338 100755 --- a/frontend/wailsjs/go/models.ts +++ b/frontend/wailsjs/go/models.ts @@ -702,6 +702,7 @@ export namespace models { icon: string; alipay: string; wxpay: string; + wxgzh: string; buildTimeStamp: number; officialStatement: string; IsDel: number; @@ -721,6 +722,7 @@ export namespace models { this.icon = source["icon"]; this.alipay = source["alipay"]; this.wxpay = source["wxpay"]; + this.wxgzh = source["wxgzh"]; this.buildTimeStamp = source["buildTimeStamp"]; this.officialStatement = source["officialStatement"]; this.IsDel = source["IsDel"]; diff --git a/main.go b/main.go index e3a1ccd..dca67a9 100644 --- a/main.go +++ b/main.go @@ -40,6 +40,9 @@ var alipay []byte //go:embed build/screenshot/wxpay.jpg var wxpay []byte +//go:embed build/screenshot/扫码_搜索联合传播样式-白色版.png +var wxgzh []byte + //go:embed build/stock_basic.json var stocksBin []byte