From d844ccdd06499536d01fcd74525a8a3aa348a48a Mon Sep 17 00:00:00 2001 From: gazebo Date: Thu, 25 Jul 2019 15:16:46 +0800 Subject: [PATCH] - checkBankBranch --- business/jxstore/cms/store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index 5c7ec1514..681b427da 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -505,7 +505,7 @@ func isUpdateStoreNeedSync(valid map[string]interface{}) bool { func checkBankBranch(payeeBankBranchName string) (err error) { if payeeBankBranchName != "" { - if strings.Index(payeeBankBranchName, "支行") == -1 || strings.Index(payeeBankBranchName, "分行") == -1 { + if strings.Index(payeeBankBranchName, "支行") == -1 && strings.Index(payeeBankBranchName, "分行") == -1 { err = fmt.Errorf("支行信息异常,你可能没有在使用最新的版本,请强制刷新浏览器或联系开发") } }