Authored by ping

update

... ... @@ -266,7 +266,7 @@ public class OrderShareActivityServiceImpl implements IOrderShareActivityService
@Override
public DrawOrderShareCouponRespBO drawOrderShareCoupon(String mobile, long orderCode) {
log.info("drawOrderShareCoupon with mobile={}, orderCode={}", mobile, orderCode);
DrawOrderShareCouponRespBO respBO = new DrawOrderShareCouponRespBO(mobile, orderCode);
// 1、简单验证手机号
if (!validMobile(mobile)) {
... ... @@ -499,8 +499,11 @@ public class OrderShareActivityServiceImpl implements IOrderShareActivityService
* @param userType
*/
private void updateOrderShareRecord(int activityId, int uid, long orderCode, String couponId, int userType) {
log.info("updateOrderShareRecord with activityId={}, uid={}, orderCode={}, couponId={}, userType={}", activityId, uid, orderCode, couponId, userType);
addCouponHistory(activityId, uid, String.valueOf(orderCode), couponId, userType);
log.info("updateOrderShareRecord addCouponHistory success with activityId={}, uid={}, orderCode={}, couponId={}, userType={}", activityId, uid, orderCode, couponId, userType);
UserShareHistory shareHistoryInfo = getShareHistoryByOrderAndActivity(orderCode, activityId);
log.info("updateOrderShareRecord getShareHistoryByOrderAndActivity success with activityId={}, uid={}, orderCode={}, couponId={}, userType={}, shareHistoryInfo={}", activityId, uid, orderCode, couponId, userType, shareHistoryInfo);
if (shareHistoryInfo == null) {
log.error("None order share, orderCode: {}, activityId: {}", orderCode, activityId);
return;
... ...