Explorar el Código

fix export

release_toaliyun_real
lin hace 3 años
padre
commit
73433dd196
Se han modificado 1 ficheros con 1 adiciones y 5 borrados
  1. +1
    -5
      mallinkBApi/src/main/java/com/iformall/controller/WxCouponOrderController.java

+ 1
- 5
mallinkBApi/src/main/java/com/iformall/controller/WxCouponOrderController.java Ver fichero

@@ -473,11 +473,7 @@ public class WxCouponOrderController extends BaseController {
public ResultData getVerifiedExportUrl(@ModelAttribute WxCouponOrderBVo wxCouponOrder) {
//只有B端管理员才能操作这个
WxMerchantBUser buser = this.getLoginBUser();
WxMerchant merchantQ= new WxMerchant();
merchantQ.updateTenantInfo(buser);
merchantQ.setId(buser.getMerchantId());
WxMerchant merchant = wxMerchantService.findOne(merchantQ);
if (!(buser.getPhone().equals(merchant.getLinkPhone()))) {
if (buser.getIsAdmin() != EnumYesOrNo.YES.getCode()) {
return new ResultData(ErrorCode.SYS_SERVER_ERROR.getCode(),"只有商户管理员才能进行此操作");
}
if (wxCouponOrder == null) wxCouponOrder = new WxCouponOrderBVo();


Cargando…
Cancelar
Guardar