修复绑定银行卡判断问题,修复PC端分公司类目编辑按钮问题
This commit is contained in:
parent
d6f909527f
commit
8b57f1d4ed
|
|
@ -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<Merchant> merchants = AdapayConfig.getMerchants();
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
<div class="btn-group-sm" id="toolbar" role="group">
|
||||
<a class="btn btn-primary" onclick="$.operate.add(2)" shiro:hasPermission="goods:category:add">
|
||||
<i class="fa fa-edit"></i> 修改
|
||||
<i class="fa fa-edit"></i> 添加/修改
|
||||
</a>
|
||||
<a class="btn btn-info" id="expandAllBtn">
|
||||
<i class="fa fa-exchange"></i> 展开/折叠
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
<div class="btn-group-sm" id="toolbar" role="group">
|
||||
<a class="btn btn-primary" onclick="$.operate.add(1)" shiro:hasPermission="goods:category:add">
|
||||
<i class="fa fa-edit"></i> 修改
|
||||
<i class="fa fa-edit"></i> 添加/修改
|
||||
</a>
|
||||
<a class="btn btn-info" id="expandAllBtn">
|
||||
<i class="fa fa-exchange"></i> 展开/折叠
|
||||
|
|
|
|||
Loading…
Reference in New Issue