From 8b57f1d4ed9681ce5580c4c69d0d21cc226736a7 Mon Sep 17 00:00:00 2001 From: "kuang.yife" Date: Wed, 19 Apr 2023 09:48:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BB=91=E5=AE=9A=E9=93=B6?= =?UTF-8?q?=E8=A1=8C=E5=8D=A1=E5=88=A4=E6=96=AD=E9=97=AE=E9=A2=98=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E5=A4=8DPC=E7=AB=AF=E5=88=86=E5=85=AC=E5=8F=B8?= =?UTF-8?q?=E7=B1=BB=E7=9B=AE=E7=BC=96=E8=BE=91=E6=8C=89=E9=92=AE=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ghy/web/controller/worker/WorkerBankController.java | 2 +- .../resources/templates/goods/deptcategory/deptcategory.html | 2 +- .../templates/goods/deptcategory/deptservecategory.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ghy-admin/src/main/java/com/ghy/web/controller/worker/WorkerBankController.java b/ghy-admin/src/main/java/com/ghy/web/controller/worker/WorkerBankController.java index 2c7fcbc4..1c0b7bc6 100644 --- a/ghy-admin/src/main/java/com/ghy/web/controller/worker/WorkerBankController.java +++ b/ghy-admin/src/main/java/com/ghy/web/controller/worker/WorkerBankController.java @@ -53,7 +53,7 @@ public class WorkerBankController extends BaseController { public AjaxResult bindBankCard(@RequestBody @Valid WorkerBindBankCardRequest request) throws BaseAdaPayException { // 判断师傅是否已经审核通过,未通过审核不能绑定银行卡 WorkerCertification workerCertification = workerCertificationService.selectByWorkerId(request.getWorkerId()); - if (workerCertification != null && workerCertification.getStatus() == 1) { + if (workerCertification != null && workerCertification.getStatus() == 2) { return AjaxResult.error("师傅未通过审核,不能绑定银行卡"); } Set merchants = AdapayConfig.getMerchants(); diff --git a/ghy-admin/src/main/resources/templates/goods/deptcategory/deptcategory.html b/ghy-admin/src/main/resources/templates/goods/deptcategory/deptcategory.html index d6b0e155..5a5fe247 100644 --- a/ghy-admin/src/main/resources/templates/goods/deptcategory/deptcategory.html +++ b/ghy-admin/src/main/resources/templates/goods/deptcategory/deptcategory.html @@ -34,7 +34,7 @@