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
b270a0f3
Commit
b270a0f3
authored
Sep 07, 2020
by
linboxuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
queryTradeProduceList
parent
3ad2f9c0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
57 additions
and
0 deletions
+57
-0
center-channel/app/base/api/impl/opaction/tmOrderCall.js
+42
-0
center-channel/app/base/service/impl/utilsSve/utilsTmOrderCallSve.js
+15
-0
No files found.
center-channel/app/base/api/impl/opaction/tmOrderCall.js
0 → 100644
View file @
b270a0f3
var
WEBBase
=
require
(
"../../web.base"
);
var
system
=
require
(
"../../../system"
);
var
settings
=
require
(
"../../../../config/settings"
);
class
ProductAPI
extends
WEBBase
{
constructor
()
{
super
();
this
.
utilsOrderSve
=
system
.
getObject
(
"service.utilsSve.utilsOrderSve"
);
}
/**
* 接口跳转-POST请求
* action_process 执行的流程
* action_type 执行的类型
* action_body 执行的参数
*/
async
springBoard
(
pobj
,
qobj
,
req
)
{
if
(
!
pobj
.
actionProcess
)
{
return
system
.
getResult
(
null
,
"actionProcess参数不能为空"
);
}
if
(
!
pobj
.
actionType
)
{
return
system
.
getResult
(
null
,
"actionType参数不能为空"
);
}
var
result
=
await
this
.
opActionProcess
(
pobj
,
pobj
.
actionType
,
req
);
return
result
;
}
async
opActionProcess
(
pobj
,
action_type
,
req
)
{
pobj
.
requestId
=
req
.
requestId
;
var
opResult
=
null
;
console
.
log
(
"11111"
,
opResult
)
switch
(
action_type
)
{
case
"queryTradeProduceList"
:
//2020 0907 lin 新增 ali查询 用户确认资料支付尾款,并更新订单状态
opResult
=
await
this
.
utilsTmOrderCallSve
.
queryTradeProduceList
(
pobj
,
pobj
.
actionBody
);
break
;
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
break
;
}
console
.
log
(
opResult
)
return
opResult
;
}
}
module
.
exports
=
ProductAPI
;
center-channel/app/base/service/impl/utilsSve/utilsTmOrderCallSve.js
0 → 100644
View file @
b270a0f3
const
system
=
require
(
"../../../system"
);
var
settings
=
require
(
"../../../../config/settings"
);
const
querystring
=
require
(
'querystring'
);
const
AppServiceBase
=
require
(
"../../app.base"
);
//订单操作类
class
UtilsOpOrderService
extends
AppServiceBase
{
constructor
()
{
super
();
}
async
queryTradeProduceList
(
pobj
,
actionBody
)
{
//修改联系人
return
system
.
getResultSuccess
();
}
}
module
.
exports
=
UtilsOpOrderService
;
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