| @@ -255,7 +255,7 @@ public class TtCouponGoodsServiceImpl implements TtCouponGoodsService { | |||||
| return new ResultData(); | return new ResultData(); | ||||
| } catch (WxErrorException e) { | } catch (WxErrorException e) { | ||||
| throw new Exception(e.getMessage()); | |||||
| throw new Exception(e.getError().getErrorMsg()); | |||||
| // logger.error(e.getMessage()); | // logger.error(e.getMessage()); | ||||
| // return new ResultData(ErrorCode.SYS_SERVER_ERROR.getCode(),e.getMessage()); | // return new ResultData(ErrorCode.SYS_SERVER_ERROR.getCode(),e.getMessage()); | ||||
| } catch (Exception e){ | } catch (Exception e){ | ||||
| @@ -300,7 +300,7 @@ public class TtCouponGoodsServiceImpl implements TtCouponGoodsService { | |||||
| } | } | ||||
| } catch (WxErrorException e) { | } catch (WxErrorException e) { | ||||
| e.printStackTrace(); | e.printStackTrace(); | ||||
| return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),e.getMessage()); | |||||
| return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),e.getError().getErrorMsg()); | |||||
| } | } | ||||
| } | } | ||||
| @@ -334,7 +334,7 @@ public class TtCouponGoodsServiceImpl implements TtCouponGoodsService { | |||||
| } | } | ||||
| } catch (WxErrorException e) { | } catch (WxErrorException e) { | ||||
| e.printStackTrace(); | e.printStackTrace(); | ||||
| return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),e.getMessage()); | |||||
| return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),e.getError().getErrorMsg()); | |||||
| } | } | ||||
| } | } | ||||
| @@ -374,7 +374,7 @@ public class TtCouponGoodsServiceImpl implements TtCouponGoodsService { | |||||
| } catch (WxErrorException e) { | } catch (WxErrorException e) { | ||||
| e.printStackTrace(); | e.printStackTrace(); | ||||
| return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),e.getMessage()); | |||||
| return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),e.getError().getErrorMsg()); | |||||
| } | } | ||||
| } | } | ||||
| @@ -399,7 +399,7 @@ public class TtCouponGoodsServiceImpl implements TtCouponGoodsService { | |||||
| } catch (WxErrorException e) { | } catch (WxErrorException e) { | ||||
| e.printStackTrace(); | e.printStackTrace(); | ||||
| return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),e.getMessage()); | |||||
| return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),e.getError().getErrorMsg()); | |||||
| } | } | ||||
| } | } | ||||
| @@ -425,7 +425,7 @@ public class TtCouponGoodsServiceImpl implements TtCouponGoodsService { | |||||
| } catch (WxErrorException e) { | } catch (WxErrorException e) { | ||||
| e.printStackTrace(); | e.printStackTrace(); | ||||
| return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),e.getMessage()); | |||||
| return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),e.getError().getErrorMsg()); | |||||
| } | } | ||||
| } | } | ||||
| @@ -522,7 +522,7 @@ public class TtCouponGoodsServiceImpl implements TtCouponGoodsService { | |||||
| return new ResultData(poiPlanPage); | return new ResultData(poiPlanPage); | ||||
| } catch (WxErrorException e) { | } catch (WxErrorException e) { | ||||
| e.printStackTrace(); | e.printStackTrace(); | ||||
| return new ResultData(ErrorCode.SYS_SERVER_ERROR.getCode(),e.getMessage()); | |||||
| return new ResultData(ErrorCode.SYS_SERVER_ERROR.getCode(),e.getError().getErrorMsg()); | |||||
| } | } | ||||
| } | } | ||||
| @@ -538,7 +538,7 @@ public class TtCouponGoodsServiceImpl implements TtCouponGoodsService { | |||||
| return new ResultData(poiOrientedPlanPage); | return new ResultData(poiOrientedPlanPage); | ||||
| } catch (WxErrorException e) { | } catch (WxErrorException e) { | ||||
| e.printStackTrace(); | e.printStackTrace(); | ||||
| return new ResultData(ErrorCode.SYS_SERVER_ERROR.getCode(),e.getMessage()); | |||||
| return new ResultData(ErrorCode.SYS_SERVER_ERROR.getCode(),e.getError().getErrorMsg()); | |||||
| } | } | ||||
| } | } | ||||
| @@ -587,7 +587,7 @@ public class TtCouponGoodsServiceImpl implements TtCouponGoodsService { | |||||
| } | } | ||||
| } catch (WxErrorException e) { | } catch (WxErrorException e) { | ||||
| e.printStackTrace(); | e.printStackTrace(); | ||||
| return new ResultData(ErrorCode.SYS_SERVER_ERROR.getCode(),e.getMessage()); | |||||
| return new ResultData(ErrorCode.SYS_SERVER_ERROR.getCode(),e.getError().getErrorMsg()); | |||||
| } catch (MallinkException e){ | } catch (MallinkException e){ | ||||
| return new ResultData(e.getErrorCode(),e.getMessage()); | return new ResultData(e.getErrorCode(),e.getMessage()); | ||||
| } | } | ||||
| @@ -672,7 +672,7 @@ public class TtCouponGoodsServiceImpl implements TtCouponGoodsService { | |||||
| } catch (WxErrorException e) { | } catch (WxErrorException e) { | ||||
| e.printStackTrace(); | e.printStackTrace(); | ||||
| return new ResultData(ErrorCode.SYS_SERVER_ERROR.getCode(),e.getMessage()); | |||||
| return new ResultData(ErrorCode.SYS_SERVER_ERROR.getCode(),e.getError().getErrorMsg()); | |||||
| } | } | ||||
| } | } | ||||
| @@ -716,7 +716,7 @@ public class TtCouponGoodsServiceImpl implements TtCouponGoodsService { | |||||
| return new ResultData(); | return new ResultData(); | ||||
| }catch (WxErrorException e) { | }catch (WxErrorException e) { | ||||
| e.printStackTrace(); | e.printStackTrace(); | ||||
| return new ResultData(ErrorCode.SYS_SERVER_ERROR.getCode(),e.getMessage()); | |||||
| return new ResultData(ErrorCode.SYS_SERVER_ERROR.getCode(),e.getError().getErrorMsg()); | |||||
| } | } | ||||
| } | } | ||||
| @@ -745,7 +745,7 @@ public class TtCouponGoodsServiceImpl implements TtCouponGoodsService { | |||||
| return new ResultData(); | return new ResultData(); | ||||
| }catch (WxErrorException e) { | }catch (WxErrorException e) { | ||||
| e.printStackTrace(); | e.printStackTrace(); | ||||
| return new ResultData(ErrorCode.SYS_SERVER_ERROR.getCode(),e.getMessage()); | |||||
| return new ResultData(ErrorCode.SYS_SERVER_ERROR.getCode(),e.getError().getErrorMsg()); | |||||
| } | } | ||||
| } | } | ||||
| @@ -782,6 +782,7 @@ public class TtCouponGoodsServiceImpl implements TtCouponGoodsService { | |||||
| delDouyinIdList.add(douyinId); | delDouyinIdList.add(douyinId); | ||||
| } catch (WxErrorException e) { | } catch (WxErrorException e) { | ||||
| e.printStackTrace(); | e.printStackTrace(); | ||||
| logger.error("定向计划删除达人失败{}"+e.getMessage()); | |||||
| logger.error("定向计划删除达人失败"+oldTakeRate.getId()+"del--"+douyinId); | logger.error("定向计划删除达人失败"+oldTakeRate.getId()+"del--"+douyinId); | ||||
| } | } | ||||
| } | } | ||||
| @@ -822,7 +823,7 @@ public class TtCouponGoodsServiceImpl implements TtCouponGoodsService { | |||||
| } | } | ||||
| } catch (WxErrorException e) { | } catch (WxErrorException e) { | ||||
| e.printStackTrace(); | e.printStackTrace(); | ||||
| return new ResultData(ErrorCode.SYS_SERVER_ERROR.getCode(),e.getMessage()); | |||||
| return new ResultData(ErrorCode.SYS_SERVER_ERROR.getCode(),e.getError().getErrorMsg()); | |||||
| } | } | ||||
| } | } | ||||
| @@ -845,7 +846,7 @@ public class TtCouponGoodsServiceImpl implements TtCouponGoodsService { | |||||
| } | } | ||||
| } catch (WxErrorException e) { | } catch (WxErrorException e) { | ||||
| e.printStackTrace(); | e.printStackTrace(); | ||||
| return new ResultData(ErrorCode.SYS_SERVER_ERROR.getCode(),e.getMessage()); | |||||
| return new ResultData(ErrorCode.SYS_SERVER_ERROR.getCode(),e.getError().getErrorMsg()); | |||||
| } | } | ||||
| } | } | ||||