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
80baf0d0
Commit
80baf0d0
authored
Jan 07, 2021
by
chongfu.liang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/20201123-添加美团点评渠道'
parents
ac5f04c3
e1423820
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
order-management/src/main/java/cn/freemud/management/enums/OrderSource.java
+2
-1
order-management/src/main/java/cn/freemud/management/service/adapter/OrderBeanFactory.java
+2
-1
ordercenter-sdk/src/main/java/com/freemud/application/sdk/api/ordercenter/enums/OrderClientType.java
+1
-0
No files found.
order-management/src/main/java/cn/freemud/management/enums/OrderSource.java
View file @
80baf0d0
...
@@ -10,7 +10,8 @@ public enum OrderSource {
...
@@ -10,7 +10,8 @@ public enum OrderSource {
MALL
(
"mall"
,
"非码Mall"
),
MALL
(
"mall"
,
"非码Mall"
),
SAAS
(
"saas"
,
"saas点餐"
),
SAAS
(
"saas"
,
"saas点餐"
),
ALIPAY
(
"alipay"
,
"支付宝"
),
ALIPAY
(
"alipay"
,
"支付宝"
),
EBAI
(
"ebwm"
,
"饿百外卖"
);
EBAI
(
"ebwm"
,
"饿百外卖"
),
DPZHCT
(
"dpzhct"
,
"美团点评智慧餐厅"
);
private
String
source
;
private
String
source
;
private
String
sourceName
;
private
String
sourceName
;
...
...
order-management/src/main/java/cn/freemud/management/service/adapter/OrderBeanFactory.java
View file @
80baf0d0
...
@@ -30,7 +30,8 @@ public class OrderBeanFactory {
...
@@ -30,7 +30,8 @@ public class OrderBeanFactory {
return
applicationContext
.
getBean
(
McCafeMangerServiceImpl
.
class
);
return
applicationContext
.
getBean
(
McCafeMangerServiceImpl
.
class
);
}
}
if
(
OrderSource
.
BDWM
.
getSource
().
equals
(
source
)
||
OrderSource
.
JDWM
.
getSource
().
equals
(
source
)
if
(
OrderSource
.
BDWM
.
getSource
().
equals
(
source
)
||
OrderSource
.
JDWM
.
getSource
().
equals
(
source
)
||
OrderSource
.
MTWM
.
getSource
().
equals
(
source
)
||
OrderSource
.
ELEME
.
getSource
().
equals
(
source
)
||
OrderSource
.
FMWD
.
getSource
().
equals
(
source
)
||
OrderSource
.
EBAI
.
getSource
().
equals
(
source
)){
||
OrderSource
.
MTWM
.
getSource
().
equals
(
source
)
||
OrderSource
.
ELEME
.
getSource
().
equals
(
source
)
||
OrderSource
.
FMWD
.
getSource
().
equals
(
source
)
||
OrderSource
.
EBAI
.
getSource
().
equals
(
source
)
||
OrderSource
.
DPZHCT
.
getSource
().
equals
(
source
)){
return
applicationContext
.
getBean
(
WaimaiOrderMangerServiceImpl
.
class
);
return
applicationContext
.
getBean
(
WaimaiOrderMangerServiceImpl
.
class
);
}
}
return
applicationContext
.
getBean
(
SaasOrderMangerServiceImpl
.
class
);
return
applicationContext
.
getBean
(
SaasOrderMangerServiceImpl
.
class
);
...
...
ordercenter-sdk/src/main/java/com/freemud/application/sdk/api/ordercenter/enums/OrderClientType.java
View file @
80baf0d0
...
@@ -34,6 +34,7 @@ public enum OrderClientType {
...
@@ -34,6 +34,7 @@ public enum OrderClientType {
DIANPING
(
21
,
"美团点评"
),
DIANPING
(
21
,
"美团点评"
),
KOUBEI
(
22
,
"口碑"
),
KOUBEI
(
22
,
"口碑"
),
SAASMALL
(
23
,
"微商城"
),
SAASMALL
(
23
,
"微商城"
),
DPZHCT
(
24
,
"美团点评智慧餐厅"
),
FMWD
(
25
,
"非码微店"
),
FMWD
(
25
,
"非码微店"
),
TIKTOKPAY
(
27
,
"抖音小程序"
),
TIKTOKPAY
(
27
,
"抖音小程序"
),
PARKING
(
99
,
"农工商停车"
),
PARKING
(
99
,
"农工商停车"
),
...
...
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