Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_ht
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pseer
gxpt_ht
Commits
12008654
Commit
12008654
authored
Mar 04, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改优惠卷日志AOP监控失效不了
parent
4945015d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
QPServiceImplAspect.java
...ain/java/share/framework/aspectj/QPServiceImplAspect.java
+3
-3
QPServiceImpl.java
...rc/main/java/share/system/service/impl/QPServiceImpl.java
+4
-1
No files found.
share-framework/src/main/java/share/framework/aspectj/QPServiceImplAspect.java
View file @
12008654
...
...
@@ -19,15 +19,15 @@ import share.common.enums.YesNoEnum;
import
share.system.domain.CouponLog
;
import
share.system.domain.SConsumerCoupon
;
import
share.system.domain.SStore
;
import
share.system.domain.vo.MqttxVo
;
import
share.system.service.CouponLogService
;
import
share.system.service.ISConsumerCouponService
;
import
share.system.service.ISStoreService
;
import
javax.servlet.http.HttpServletRequest
;
import
java.lang.reflect.Method
;
import
java.util.*
;
import
java.util.concurrent.CompletableFuture
;
import
java.util.Date
;
import
java.util.HashMap
;
import
java.util.Map
;
@Aspect
...
...
share-system/src/main/java/share/system/service/impl/QPServiceImpl.java
View file @
12008654
...
...
@@ -41,6 +41,7 @@ import share.system.service.ISCouponService;
import
share.system.service.ISStoreService
;
import
share.system.service.QPService
;
import
javax.annotation.Resource
;
import
java.math.BigDecimal
;
import
java.text.SimpleDateFormat
;
import
java.util.Date
;
...
...
@@ -55,6 +56,8 @@ public class QPServiceImpl implements QPService {
private
String
APP_KEY
;
@Value
(
"${dianping.appSecret}"
)
private
String
APP_SECRET
;
@Resource
private
QPService
qpService
;
private
static
final
Logger
logger
=
LoggerFactory
.
getLogger
(
QPServiceImpl
.
class
);
@Autowired
...
...
@@ -174,7 +177,7 @@ public class QPServiceImpl implements QPService {
}
isConsumerCouponService
.
insertSConsumerCoupon
(
sConsumerCoupon
);
//核销美团券
consume
(
code
.
trim
(),
1
,
sStore
.
getOpenShopUuid
(),
status
);
qpService
.
consume
(
code
.
trim
(),
1
,
sStore
.
getOpenShopUuid
(),
status
);
return
"验劵成功"
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment