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
ce4d8020
Commit
ce4d8020
authored
Sep 18, 2020
by
linboxuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
queryTradeProduceList update
parent
59afce96
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
center-channel/app/base/service/impl/utilsSve/utilsTmOrderCallSve.js
+19
-0
center-channel/app/config/settings.js
+7
-0
No files found.
center-channel/app/base/service/impl/utilsSve/utilsTmOrderCallSve.js
View file @
ce4d8020
...
...
@@ -8,9 +8,28 @@ class UtilsTmOrderCallService extends AppServiceBase {
constructor
()
{
super
();
this
.
aliclient
=
system
.
getObject
(
"util.aliyunClient"
);
this
.
centerOrderUrl
=
settings
.
centerOrderUrl
();
this
.
aliUappId
=
settings
.
aliUappId
();
}
async
queryTradeProduceList
(
pobj
,
actionBody
)
{
//2020 0907 lin 新增 ali查询 用户确认资料支付尾款,并更新订单状态
// 1查询渠道/商品为icp/edi的订单已经支付部分款的订单。
// 这里写死 itemCode 和 订单状态
pobj
.
actionBody
.
itemCode
=
"tmjy"
pobj
.
actionBody
.
orderStatus
=
64
pobj
.
actionType
=
"queryVOrderByOrderStatusAndItemCode"
;
pobj
.
appInfo
=
{
uapp_id
:
this
.
aliUappId
}
// 随便填的。因为center-order会校验if (!pobj.userInfo) {
pobj
.
userInfo
=
{
uapp_id
:
this
.
aliUappId
}
var
url
=
this
.
centerOrderUrl
+
"action/order/springBoard"
;
var
res
=
await
this
.
restPostUrl
(
pobj
,
url
);
console
.
log
(
res
);
// 2查询渠道/商品为icp/edi的订单已经支付尾款的订单。
// 3
var
obj
=
{
BuyerStatus
:
11
,
PageNum
:
1
,
...
...
center-channel/app/config/settings.js
View file @
ce4d8020
...
...
@@ -228,6 +228,13 @@ var settings = {
return
"https://m.ucommune.com/"
// 6.29lin修改为测试环境。原因优客 目前还没有正式环境
}
},
aliUappId
:
function
()
{
if
(
this
.
env
==
"dev"
)
{
return
18
// uapp_id
}
else
{
return
18
// uapp_id
}
},
apiconfig
:
{
opLogUrl
:
function
()
{
return
settings
.
reqEsAddr
()
+
"center_channel_log/_doc?pretty"
;
...
...
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