...
|
...
|
@@ -125,6 +125,7 @@ public class OrderShareActivityServiceImpl implements IOrderShareActivityService |
|
|
// 活动不存在
|
|
|
log.warn("there is not activity,params is ordercode={},uid={},flag=2", ordercode, uid);
|
|
|
bo.setFlag(2);
|
|
|
bo.setReturnMsg("不存在分享活动");
|
|
|
return bo;
|
|
|
}
|
|
|
bo.setH5Title(activitydb.getH5Title());
|
...
|
...
|
@@ -133,6 +134,7 @@ public class OrderShareActivityServiceImpl implements IOrderShareActivityService |
|
|
// 不显示APP内弹框,即活动作废
|
|
|
log.warn("activity is disabled,params is ordercode={},uid={},flag=6",ordercode,uid);
|
|
|
bo.setFlag(6);
|
|
|
bo.setReturnMsg("不显示APP内弹框");
|
|
|
return bo;
|
|
|
}
|
|
|
|
...
|
...
|
@@ -142,12 +144,14 @@ public class OrderShareActivityServiceImpl implements IOrderShareActivityService |
|
|
// 活动已结束
|
|
|
log.warn("activity is over ,params is ordercode={},uid={},flag=3", ordercode, uid);
|
|
|
bo.setFlag(3);
|
|
|
bo.setReturnMsg("本次活动已经结束");
|
|
|
return bo;
|
|
|
}
|
|
|
if (activitydb.getBeginTime() > nowtime) {
|
|
|
// 活动未开始
|
|
|
log.warn("activity could not started ,params is ordercode={},uid={},flag=4", ordercode, uid);
|
|
|
bo.setFlag(4);
|
|
|
bo.setReturnMsg("本次活动未开始");
|
|
|
return bo;
|
|
|
}
|
|
|
|
...
|
...
|
@@ -199,6 +203,7 @@ public class OrderShareActivityServiceImpl implements IOrderShareActivityService |
|
|
// 已达到分享最大数
|
|
|
log.warn("share has been finished ,params is ordercode={},uid={},flag=5", ordercode, uid);
|
|
|
bo.setFlag(5);
|
|
|
bo.setReturnMsg("优惠券已经领光了");
|
|
|
return bo;
|
|
|
}
|
|
|
}
|
...
|
...
|
|