Authored by ping

update

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