Commit 12008654 by 吕明尚

修改优惠卷日志AOP监控失效不了

parent 4945015d
...@@ -19,15 +19,15 @@ import share.common.enums.YesNoEnum; ...@@ -19,15 +19,15 @@ import share.common.enums.YesNoEnum;
import share.system.domain.CouponLog; import share.system.domain.CouponLog;
import share.system.domain.SConsumerCoupon; import share.system.domain.SConsumerCoupon;
import share.system.domain.SStore; import share.system.domain.SStore;
import share.system.domain.vo.MqttxVo;
import share.system.service.CouponLogService; import share.system.service.CouponLogService;
import share.system.service.ISConsumerCouponService; import share.system.service.ISConsumerCouponService;
import share.system.service.ISStoreService; import share.system.service.ISStoreService;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import java.lang.reflect.Method; import java.lang.reflect.Method;
import java.util.*; import java.util.Date;
import java.util.concurrent.CompletableFuture; import java.util.HashMap;
import java.util.Map;
@Aspect @Aspect
......
...@@ -41,6 +41,7 @@ import share.system.service.ISCouponService; ...@@ -41,6 +41,7 @@ import share.system.service.ISCouponService;
import share.system.service.ISStoreService; import share.system.service.ISStoreService;
import share.system.service.QPService; import share.system.service.QPService;
import javax.annotation.Resource;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
import java.util.Date; import java.util.Date;
...@@ -55,6 +56,8 @@ public class QPServiceImpl implements QPService { ...@@ -55,6 +56,8 @@ public class QPServiceImpl implements QPService {
private String APP_KEY; private String APP_KEY;
@Value("${dianping.appSecret}") @Value("${dianping.appSecret}")
private String APP_SECRET; private String APP_SECRET;
@Resource
private QPService qpService;
private static final Logger logger = LoggerFactory.getLogger(QPServiceImpl.class); private static final Logger logger = LoggerFactory.getLogger(QPServiceImpl.class);
@Autowired @Autowired
...@@ -174,7 +177,7 @@ public class QPServiceImpl implements QPService { ...@@ -174,7 +177,7 @@ public class QPServiceImpl implements QPService {
} }
isConsumerCouponService.insertSConsumerCoupon(sConsumerCoupon); isConsumerCouponService.insertSConsumerCoupon(sConsumerCoupon);
//核销美团券 //核销美团券
consume(code.trim(), 1, sStore.getOpenShopUuid(), status); qpService.consume(code.trim(), 1, sStore.getOpenShopUuid(), status);
return "验劵成功"; return "验劵成功";
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment