Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
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
蒋勇
zhichan
Commits
ff0442f9
Commit
ff0442f9
authored
Jul 03, 2020
by
linboxuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
addOrder interface otherOrder
parent
dcd92061
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
center-order/app/base/api/impl/action/order.js
+6
-0
No files found.
center-order/app/base/api/impl/action/order.js
View file @
ff0442f9
...
...
@@ -81,6 +81,12 @@ class OrderAPI extends APIBase {
var
interface_list_temp
=
interface_list
.
filter
(
f
=>
f
.
op_type
==
"addOrder"
)
if
(
interface_list_temp
&&
interface_list_temp
.
length
>
0
)
{
interface_info
=
interface_list_temp
[
0
];
}
else
{
// 2020 0703lin 修改 如果数据库配置没有addorder类型接口 那么走默认创建订单的接口
interface_info
=
{
interface_type
:
"bd"
,
interface_url
:
"service.dbcorder.orderinfoSve"
,
method_name
:
"createOtherOrder"
};
}
}
if
(
!
interface_list
||
interface_list
.
length
==
0
)
{
...
...
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