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
39a4ff0e
Commit
39a4ff0e
authored
Dec 08, 2020
by
刘鹏飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
coco验证券失败errcode
parent
9a517e24
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
4 deletions
+16
-4
order-application-service/src/main/java/cn/freemud/constant/ResponseCodeConstant.java
+1
-1
order-application-service/src/main/java/cn/freemud/enums/ResponseResult.java
+7
-1
shopping-cart-application-service/src/main/java/cn/freemud/enums/ResponseResult.java
+8
-2
No files found.
order-application-service/src/main/java/cn/freemud/constant/ResponseCodeConstant.java
View file @
39a4ff0e
...
@@ -9,7 +9,7 @@ public class ResponseCodeConstant {
...
@@ -9,7 +9,7 @@ public class ResponseCodeConstant {
public
final
static
String
RESPONSE_SUCCESS_STR
=
"100"
;
public
final
static
String
RESPONSE_SUCCESS_STR
=
"100"
;
public
final
static
String
COCO_RESPONSE_COUPON_ERR_STR
=
"4
6013
"
;
public
final
static
String
COCO_RESPONSE_COUPON_ERR_STR
=
"4
9000
"
;
public
final
static
String
RESPONSE_SUCCESS_OK
=
"ok"
;
public
final
static
String
RESPONSE_SUCCESS_OK
=
"ok"
;
public
final
static
Integer
RESPONSE_SUCCESS_1
=
1
;
public
final
static
Integer
RESPONSE_SUCCESS_1
=
1
;
...
...
order-application-service/src/main/java/cn/freemud/enums/ResponseResult.java
View file @
39a4ff0e
...
@@ -184,7 +184,7 @@ public enum ResponseResult {
...
@@ -184,7 +184,7 @@ public enum ResponseResult {
COUPON_VERIFICATION_FAIL
(
"46012"
,
"优惠券核销失败"
),
COUPON_VERIFICATION_FAIL
(
"46012"
,
"优惠券核销失败"
),
COUPON_CALLBACK_FAIL
(
"46013"
,
"优惠券移除卡包失败"
),
COUPON_CALLBACK_FAIL
(
"46013"
,
"优惠券移除卡包失败"
),
COUPON_INVAILD
(
"46014"
,
"优惠券失效"
),
COUPON_INVAILD
(
"46014"
,
"优惠券失效"
),
COCO_COUPON_VALIDATOR_FAIL
(
"46015"
,
"优惠券验证错误"
),
/**
/**
* 加价购商品
* 加价购商品
*/
*/
...
@@ -214,6 +214,12 @@ public enum ResponseResult {
...
@@ -214,6 +214,12 @@ public enum ResponseResult {
DELIVERY_INFO_NOT_DELIVERY
(
"60001"
,
"当前地址不可配送"
),
DELIVERY_INFO_NOT_DELIVERY
(
"60001"
,
"当前地址不可配送"
),
DELIVERY_INFO_ERROR
(
"60002"
,
"配送地址不正确"
),
DELIVERY_INFO_ERROR
(
"60002"
,
"配送地址不正确"
),
DELIVERY_CREATE_ERROR
(
"60003"
,
"运单不足,配送失败"
),
DELIVERY_CREATE_ERROR
(
"60003"
,
"运单不足,配送失败"
),
/**
* coco券验证失败
*/
COCO_COUPON_VALIDATOR_FAIL
(
"70000"
,
"优惠券验证错误"
),
;
;
...
...
shopping-cart-application-service/src/main/java/cn/freemud/enums/ResponseResult.java
View file @
39a4ff0e
...
@@ -139,7 +139,7 @@ public enum ResponseResult {
...
@@ -139,7 +139,7 @@ public enum ResponseResult {
COUPON_SHOP_NOTSUPPORT
(
"46010"
,
"优惠券在当前门店不可用"
),
COUPON_SHOP_NOTSUPPORT
(
"46010"
,
"优惠券在当前门店不可用"
),
COUPON_ORDER_WAY_ERROR
(
"46011"
,
"您选择得优惠券不适用该点餐方式"
),
COUPON_ORDER_WAY_ERROR
(
"46011"
,
"您选择得优惠券不适用该点餐方式"
),
COUPON_VERIFICATION_FAIL
(
"46012"
,
"优惠券核销失败"
),
COUPON_VERIFICATION_FAIL
(
"46012"
,
"优惠券核销失败"
),
COCO_COUPON_VALIDATOR_FAIL
(
"46013"
,
"优惠券验证错误"
),
/**
/**
* 加价购商品
* 加价购商品
*/
*/
...
@@ -153,7 +153,13 @@ public enum ResponseResult {
...
@@ -153,7 +153,13 @@ public enum ResponseResult {
*/
*/
WEICHAT_SHOP_NOTSUPPORT
(
"48001"
,
"当前门店不可用"
),
WEICHAT_SHOP_NOTSUPPORT
(
"48001"
,
"当前门店不可用"
),
WEICHAT_NOT_PRODUCTCARD
(
"48002"
,
"不是商品券不用加入购物车"
),
WEICHAT_NOT_PRODUCTCARD
(
"48002"
,
"不是商品券不用加入购物车"
),
WEICHAT_PRODUCT_NOEXIST
(
"48003"
,
"商品不存在"
);
WEICHAT_PRODUCT_NOEXIST
(
"48003"
,
"商品不存在"
),
/**
* coco验证券错误
*/
COCO_COUPON_VALIDATOR_FAIL
(
"49000"
,
"优惠券验证错误"
)
;
private
String
code
;
private
String
code
;
...
...
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