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
8bdc0d80
Commit
8bdc0d80
authored
Mar 01, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
c442ea95
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
169 additions
and
27 deletions
+169
-27
center-order/app/base/api/impl/action/order.js
+6
-6
center-order/app/base/service/impl/dbcorder/orderinfoSve.js
+133
-21
center-order/提示编码使用
+30
-0
No files found.
center-order/app/base/api/impl/action/order.js
View file @
8bdc0d80
...
@@ -61,7 +61,7 @@ class OrderAPI extends APIBase {
...
@@ -61,7 +61,7 @@ class OrderAPI extends APIBase {
async
addOrder
(
pobj
,
actionBody
)
{
async
addOrder
(
pobj
,
actionBody
)
{
if
(
!
actionBody
.
product_info
)
{
if
(
!
actionBody
.
product_info
)
{
return
system
.
getResult
(
null
,
"产品信息有误,200
1
0"
);
return
system
.
getResult
(
null
,
"产品信息有误,200
0
0"
);
}
}
var
interface_info
=
null
;
var
interface_info
=
null
;
var
interface_list
=
actionBody
.
product_info
.
interface_info
;
var
interface_list
=
actionBody
.
product_info
.
interface_info
;
...
@@ -80,13 +80,13 @@ class OrderAPI extends APIBase {
...
@@ -80,13 +80,13 @@ class OrderAPI extends APIBase {
}
//使用默认的其他订单
}
//使用默认的其他订单
if
(
!
interface_info
)
{
if
(
!
interface_info
)
{
return
system
.
getResult
(
null
,
"产品接口信息有误,200
3
0"
);
return
system
.
getResult
(
null
,
"产品接口信息有误,200
1
0"
);
}
}
if
(
!
interface_info
.
interface_type
)
{
if
(
!
interface_info
.
interface_type
)
{
return
system
.
getResult
(
null
,
"产品接口类型信息有误,200
5
0"
);
return
system
.
getResult
(
null
,
"产品接口类型信息有误,200
2
0"
);
}
}
if
(
!
interface_info
.
interface_url
)
{
if
(
!
interface_info
.
interface_url
)
{
return
system
.
getResult
(
null
,
"产品接口地址信息有误,200
8
0"
);
return
system
.
getResult
(
null
,
"产品接口地址信息有误,200
3
0"
);
}
}
var
refOpResult
=
await
this
.
reflexAction
(
interface_info
,
pobj
);
var
refOpResult
=
await
this
.
reflexAction
(
interface_info
,
pobj
);
return
refOpResult
;
return
refOpResult
;
...
@@ -95,11 +95,11 @@ class OrderAPI extends APIBase {
...
@@ -95,11 +95,11 @@ class OrderAPI extends APIBase {
var
refResult
=
null
;
var
refResult
=
null
;
if
(
interface_info
.
interface_type
==
"bd"
)
{
if
(
interface_info
.
interface_type
==
"bd"
)
{
if
(
!
interface_info
.
method_name
)
{
if
(
!
interface_info
.
method_name
)
{
return
system
.
getResult
(
null
,
"产品接口参数信息有误,20
11
0"
);
return
system
.
getResult
(
null
,
"产品接口参数信息有误,20
04
0"
);
}
//操作的方法名称
}
//操作的方法名称
var
invokeObj
=
system
.
getObject
(
interface_info
.
interface_url
);
var
invokeObj
=
system
.
getObject
(
interface_info
.
interface_url
);
if
(
!
invokeObj
[
interface_info
.
method_name
])
{
if
(
!
invokeObj
[
interface_info
.
method_name
])
{
return
system
.
getResult
(
null
,
"产品接口参数方法信息有误,20
13
0"
);
return
system
.
getResult
(
null
,
"产品接口参数方法信息有误,20
05
0"
);
}
}
pobj
.
interface_params
=
interface_info
.
params
;
pobj
.
interface_params
=
interface_info
.
params
;
var
params
=
[
pobj
];
var
params
=
[
pobj
];
...
...
center-order/app/base/service/impl/dbcorder/orderinfoSve.js
View file @
8bdc0d80
This diff is collapsed.
Click to expand it.
center-order/提示编码使用
0 → 100644
View file @
8bdc0d80
已经使用的编码汇总:
已经使用的编码汇总:
1.对订单操作修改
30000
30010
30020
30030
30040
30050
30060
30070
30080
30090
30100
30110
30120
30130
30140
30150
========================================================
2.添加订单操作
20000
20010
20020
20030
20040
20050
\ No newline at end of file
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