Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
order-group
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
order-group-application
order-group
Commits
ec345320
Commit
ec345320
authored
Nov 10, 2021
by
徐光兴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改逻辑。
parent
22d7fb64
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
order-application-service/src/main/java/cn/freemud/enums/ResponseResult.java
+1
-1
order-application-service/src/main/java/cn/freemud/service/impl/SellCouponOrderServiceImpl.java
+2
-2
No files found.
order-application-service/src/main/java/cn/freemud/enums/ResponseResult.java
View file @
ec345320
...
...
@@ -200,7 +200,7 @@ public enum ResponseResult {
* 支付
*/
PAY_BACKEND_CONFIG_ERROR
(
"58003"
,
"支付交易异常"
,
"Abnormal payment transaction"
),
PAY_SVC_CONFIG_ERROR
(
"58004"
,
"不支持储值卡"
,
""
),
PAY_SVC_CONFIG_ERROR
(
"58004"
,
"不支持储值卡
支付
"
,
""
),
/**
* 优惠券活动
*/
...
...
order-application-service/src/main/java/cn/freemud/service/impl/SellCouponOrderServiceImpl.java
View file @
ec345320
...
...
@@ -148,7 +148,7 @@ public class SellCouponOrderServiceImpl implements OrderFactoryService {
private
List
<
String
>
buyProductOncePartnerIds
;
@Value
(
"#{'${virtual.product.svc.pay.partnerId}'.split(',')}"
)
@Value
(
"#{'${virtual.product.svc.pay.partnerId
:
}'.split(',')}"
)
private
List
<
String
>
virtualProductSvcPayPartnerId
;
private
final
String
SUCCESS
=
"100"
;
...
...
@@ -301,7 +301,7 @@ public class SellCouponOrderServiceImpl implements OrderFactoryService {
String
partnerId
=
userLoginInfoDto
.
getPartnerId
();
String
storeId
=
requestVo
.
getShopId
();
String
userId
=
userLoginInfoDto
.
getMemberId
();
if
(
CollectionUtils
.
isNotEmpty
(
virtualProductSvcPayPartnerId
)
&&
!
virtualProductSvcPayPartnerId
.
contains
(
partnerId
))
{
if
(
StringUtils
.
isNotBlank
(
requestVo
.
getCardCode
())
&&
CollectionUtils
.
isNotEmpty
(
virtualProductSvcPayPartnerId
)
&&
!
virtualProductSvcPayPartnerId
.
contains
(
partnerId
))
{
return
ResponseUtil
.
error
(
ResponseResult
.
PAY_SVC_CONFIG_ERROR
);
}
//查询门店信息
...
...
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