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
25c09b7f
Commit
25c09b7f
authored
May 20, 2022
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新接口
parent
d45955aa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
15 deletions
+18
-15
center-channel/app/base/service/impl/receiveSve/icpNeedSve.js
+2
-1
center-channel/app/base/service/impl/receiveSve/icpOrderSve.js
+16
-14
No files found.
center-channel/app/base/service/impl/receiveSve/icpNeedSve.js
View file @
25c09b7f
...
@@ -9,11 +9,12 @@ class IcpNeedService extends AppServiceBase {
...
@@ -9,11 +9,12 @@ class IcpNeedService extends AppServiceBase {
}
}
async
submitNeed
(
pobj
)
{
async
submitNeed
(
pobj
)
{
console
.
log
(
"pobj+++++++++++++++++++++++++"
,
JSON
.
stringify
(
pobj
))
if
(
!
pobj
.
intentionBizId
)
{
if
(
!
pobj
.
intentionBizId
)
{
return
system
.
getResult
(
null
,
"actionBody.intentionBizId can not be empty,6000001"
);
return
system
.
getResult
(
null
,
"actionBody.intentionBizId can not be empty,6000001"
);
}
}
let
sobj
=
pobj
;
let
sobj
=
pobj
;
sobj
.
actionBody
.
type
=
pobj
.
consultType
;
sobj
.
actionBody
=
{
type
:
pobj
.
consultType
}
;
sobj
.
actionType
=
"getProductTypeInfo"
;
sobj
.
actionType
=
"getProductTypeInfo"
;
let
url
=
settings
.
centerAppUrl
()
+
"action/opProduct/springBoard"
;
let
url
=
settings
.
centerAppUrl
()
+
"action/opProduct/springBoard"
;
let
rtn
=
await
this
.
execClient
.
execPost
(
sobj
,
url
);
let
rtn
=
await
this
.
execClient
.
execPost
(
sobj
,
url
);
...
...
center-channel/app/base/service/impl/receiveSve/icpOrderSve.js
View file @
25c09b7f
...
@@ -35,20 +35,22 @@ class IcpOrderService extends AppServiceBase {
...
@@ -35,20 +35,22 @@ class IcpOrderService extends AppServiceBase {
}
}
pobj
.
userInfo
=
{
channel_userid
:
pobj
.
userName
||
""
}
pobj
.
userInfo
=
{
channel_userid
:
pobj
.
userName
||
""
}
pobj
.
actionBody
.
totalSum
=
productItem
.
data
.
price
;
pobj
.
actionBody
=
{
pobj
.
actionBody
.
orderPrice
=
productItem
.
data
.
price
;
totalSum
:
productItem
.
data
.
price
,
pobj
.
actionBody
.
payTotalSum
=
productItem
.
data
.
price
;
orderPrice
:
productItem
.
data
.
price
,
pobj
.
actionBody
.
payCode
=
productItem
.
data
.
payCode
;
payTotalSum
:
productItem
.
data
.
price
,
pobj
.
actionBody
.
productPriceId
=
productItem
.
data
.
productPriceId
;
payCode
:
productItem
.
data
.
payCode
,
pobj
.
actionBody
.
channelItemCode
=
productItem
.
data
.
channelItemCode
;
productPriceId
:
productItem
.
data
.
productPriceId
,
pobj
.
actionBody
.
channelNeedNo
=
pobj
.
orderNo
;
channelItemCode
:
productItem
.
data
.
channelItemCode
,
pobj
.
actionBody
.
needNo
=
pobj
.
orderNo
;
channelNeedNo
:
pobj
.
orderNo
,
pobj
.
actionBody
.
bizId
=
pobj
.
orderNo
;
//适应之前的逻辑
needNo
:
pobj
.
orderNo
,
pobj
.
actionBody
.
quantity
=
1
;
bizId
:
pobj
.
orderNo
,
//适应之前的逻
pobj
.
actionBody
.
channelOrder
=
{
quantity
:
1
,
channelServiceNo
:
pobj
.
orderNo
,
channelOrder
:
{
channelOrderNo
:
pobj
.
orderNo
,
channelServiceNo
:
pobj
.
orderNo
,
orderStatus
:
2
channelOrderNo
:
pobj
.
orderNo
,
orderStatus
:
2
}
}
}
let
orderItem
=
await
this
.
utilsOrderSve
.
addOrder
(
pobj
,
pobj
.
actionBody
);
let
orderItem
=
await
this
.
utilsOrderSve
.
addOrder
(
pobj
,
pobj
.
actionBody
);
console
.
log
(
"orderItem........................................................."
,
JSON
.
stringify
(
orderItem
))
console
.
log
(
"orderItem........................................................."
,
JSON
.
stringify
(
orderItem
))
...
...
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