Browse Source

fix bug

release_toaliyun_real
lin 4 years ago
parent
commit
7530603843
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mallinkBApi/src/main/java/com/iformall/controller/WxCouponOrderController.java

+ 1
- 1
mallinkBApi/src/main/java/com/iformall/controller/WxCouponOrderController.java View File

@@ -475,7 +475,7 @@ public class WxCouponOrderController extends BaseController {
WxMerchantBUser buser = this.getLoginBUser();
WxMerchant merchantQ= new WxMerchant();
merchantQ.updateTenantInfo(buser);
merchantQ.setId(buser.getId());
merchantQ.setId(buser.getMerchantId());
WxMerchant merchant = wxMerchantService.findOne(merchantQ);
if (!(buser.getPhone().equals(merchant.getLinkPhone()))) {
return new ResultData(ErrorCode.SYS_SERVER_ERROR.getCode(),"只有商户管理员才能进行此操作");


Loading…
Cancel
Save