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
a4bdf7a7
Commit
a4bdf7a7
authored
Mar 29, 2022
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加备注
parent
1e9a515e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
5 deletions
+15
-5
center-channel/app/base/service/impl/common/regCenterOrderSve.js
+15
-5
No files found.
center-channel/app/base/service/impl/common/regCenterOrderSve.js
View file @
a4bdf7a7
...
...
@@ -129,7 +129,7 @@ class RegCenterOrderService extends AppServiceBase {
appInfo
:
pobj
.
appInfo
}
//往云服推送订单
var
baiduPush
Res
=
await
this
.
utilsPushSve
.
business2Channel
(
fqobj
,
"pushOrderICPBusinessNew"
);
let
yunfu
Res
=
await
this
.
utilsPushSve
.
business2Channel
(
fqobj
,
"pushOrderICPBusinessNew"
);
var
deliveryObj
=
{
actionBody
:
{
...
...
@@ -147,9 +147,9 @@ class RegCenterOrderService extends AppServiceBase {
};
//往资质宝推送订单
if
(
pobj
.
actionBody
.
isDirectBuy
&&
pobj
.
actionBody
.
isDirectBuy
==
1
)
{
//直接下单需执行添加订单业务员操作
if
(
baiduPushRes
&&
baiduPush
Res
.
status
==
0
)
{
if
(
baiduPushRes
.
data
&&
baiduPush
Res
.
data
.
data
)
{
var
resData
=
baiduPush
Res
.
data
.
data
;
if
(
yunfuRes
&&
yunfu
Res
.
status
==
0
)
{
if
(
yunfuRes
.
data
&&
yunfu
Res
.
data
.
data
)
{
var
resData
=
yunfu
Res
.
data
.
data
;
var
salesmanInfo
=
{
salesmanName
:
resData
.
orderList
&&
resData
.
orderList
.
length
>
0
?
resData
.
orderList
[
0
].
operatorName
:
""
,
salesmanChannelId
:
resData
.
orderList
&&
resData
.
orderList
.
length
>
0
?
resData
.
orderList
[
0
].
operator
:
""
,
...
...
@@ -293,7 +293,17 @@ class RegCenterOrderService extends AppServiceBase {
return
data
;
}
//状态更新
/***
* 状态更新
* @param pobj
* @returns {Promise<{msg: *, data: *, status: *}|{msg: *, data, bizmsg: *|string, status: number}|any>}
* status:
1:用户已支付
2:用户已上传(客户上传材料)
3:为资料未确认(暂时不用做处理)
4:用户已确认
11:方案已关闭
*/
async
regOrderStatus
(
pobj
)
{
var
actionBody
=
pobj
.
actionBody
;
var
self
=
this
;
...
...
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