From 7ff9c75bdf8fe220e483be01511c894cb2a4036d Mon Sep 17 00:00:00 2001 From: zhengkunwang <31820853+zhengkunwang223@users.noreply.github.com> Date: Mon, 28 Aug 2023 15:32:12 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E5=95=86=E5=BA=97=E7=89=88=E6=9C=AC=E5=8D=87=E7=BA=A7=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E6=9D=A1=E4=BB=B6=20(#2089)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/service/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/service/app.go b/backend/app/service/app.go index 23572dec7..c5c4e9d80 100644 --- a/backend/app/service/app.go +++ b/backend/app/service/app.go @@ -682,7 +682,7 @@ func (a AppService) GetAppUpdate() (*response.AppUpdateRes, error) { if err = json.Unmarshal(content, list); err != nil { return nil, err } - if list.Extra.Version != "" && !common.CompareVersion(setting.SystemVersion, list.Extra.Version) { + if list.Extra.Version != "" && setting.SystemVersion != list.Extra.Version && !common.CompareVersion(setting.SystemVersion, list.Extra.Version) { return nil, buserr.New("ErrVersionTooLow") } return res, nil