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
1e9a515e
Commit
1e9a515e
authored
Mar 29, 2022
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加日志
parent
4122c4b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
center-channel/app/base/service/impl/common/regCenterOrderSve.js
+2
-4
No files found.
center-channel/app/base/service/impl/common/regCenterOrderSve.js
View file @
1e9a515e
...
@@ -49,7 +49,6 @@ class RegCenterOrderService extends AppServiceBase {
...
@@ -49,7 +49,6 @@ class RegCenterOrderService extends AppServiceBase {
}
}
async
regPaySuccess
(
pobj
)
{
async
regPaySuccess
(
pobj
)
{
var
sobj
=
{
var
sobj
=
{
actionType
:
"getRegProducePrice"
,
actionType
:
"getRegProducePrice"
,
actionBody
:
{
actionBody
:
{
...
@@ -61,7 +60,6 @@ class RegCenterOrderService extends AppServiceBase {
...
@@ -61,7 +60,6 @@ class RegCenterOrderService extends AppServiceBase {
appInfo
:
pobj
.
appInfo
,
appInfo
:
pobj
.
appInfo
,
actionProcess
:
pobj
.
actionProcess
actionProcess
:
pobj
.
actionProcess
}
}
//TODO:加日志
var
url
=
settings
.
centerAppUrl
()
+
"action/opProduct/springBoard"
;
var
url
=
settings
.
centerAppUrl
()
+
"action/opProduct/springBoard"
;
var
rtn
=
await
this
.
execClient
.
execPost
(
sobj
,
url
);
var
rtn
=
await
this
.
execClient
.
execPost
(
sobj
,
url
);
if
(
!
rtn
||
!
rtn
.
stdout
)
{
if
(
!
rtn
||
!
rtn
.
stdout
)
{
...
@@ -85,7 +83,7 @@ class RegCenterOrderService extends AppServiceBase {
...
@@ -85,7 +83,7 @@ class RegCenterOrderService extends AppServiceBase {
orderStatus
:
2
orderStatus
:
2
}
}
var
orderrtn
=
await
this
.
utilsOrderSve
.
addOrder
(
pobj
,
pobj
.
actionBody
);
var
orderrtn
=
await
this
.
utilsOrderSve
.
addOrder
(
pobj
,
pobj
.
actionBody
);
//TODO:加日志
this
.
execClientNew
.
execLogs
(
`regOrderStatusRegPaySuccess`
,
pobj
,
"center-channel-regCenterOrderSve-regPaySuccess"
,
orderrtn
,
null
);
if
(
orderrtn
.
status
!=
0
&&
orderrtn
.
status
!=
-
1
)
{
if
(
orderrtn
.
status
!=
0
&&
orderrtn
.
status
!=
-
1
)
{
return
system
.
getResultFail
(
-
5012
,
"订单创建失败"
);
return
system
.
getResultFail
(
-
5012
,
"订单创建失败"
);
}
}
...
@@ -297,7 +295,6 @@ class RegCenterOrderService extends AppServiceBase {
...
@@ -297,7 +295,6 @@ class RegCenterOrderService extends AppServiceBase {
//状态更新
//状态更新
async
regOrderStatus
(
pobj
)
{
async
regOrderStatus
(
pobj
)
{
//TODO:加日志
var
actionBody
=
pobj
.
actionBody
;
var
actionBody
=
pobj
.
actionBody
;
var
self
=
this
;
var
self
=
this
;
if
(
actionBody
.
isDirectBuy
&&
actionBody
.
isDirectBuy
==
1
)
{
if
(
actionBody
.
isDirectBuy
&&
actionBody
.
isDirectBuy
==
1
)
{
...
@@ -313,6 +310,7 @@ class RegCenterOrderService extends AppServiceBase {
...
@@ -313,6 +310,7 @@ class RegCenterOrderService extends AppServiceBase {
pobj
.
actionType
=
"regOrderStatus"
;
pobj
.
actionType
=
"regOrderStatus"
;
var
url
=
settings
.
centerOrderUrl
()
+
"action/regapi/springBoard"
;
var
url
=
settings
.
centerOrderUrl
()
+
"action/regapi/springBoard"
;
var
rtn
=
await
this
.
restPostUrl
(
pobj
,
url
);
var
rtn
=
await
this
.
restPostUrl
(
pobj
,
url
);
this
.
execClientNew
.
execLogs
(
`regOrderStatusUpdate`
,
pobj
,
"center-channel-regCenterOrderSve-reqCenterOrder-regOrderStatus"
,
rtn
,
null
);
if
(
actionBody
.
status
==
2
)
{
if
(
actionBody
.
status
==
2
)
{
var
deliveryObj
=
{
var
deliveryObj
=
{
actionBody
:
{
actionBody
:
{
...
...
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