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
35ab34c8
Commit
35ab34c8
authored
Jan 21, 2021
by
任晓松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加service_code,appName
parent
7f22a7da
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
3 deletions
+19
-3
center-channel/app/base/service/impl/common/centerorderSve.js
+4
-0
center-channel/app/base/service/impl/utilsSve/utilsFqAliyunSve.js
+3
-1
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
+4
-1
center-channel/app/base/service/impl/utilsSve/utilsNeedSve2.js
+7
-1
center-channel/app/base/service/impl/utilsSve/utilsOpNeedSve.js
+1
-0
No files found.
center-channel/app/base/service/impl/common/centerorderSve.js
View file @
35ab34c8
...
...
@@ -193,6 +193,8 @@ class CenterorderService extends AppServiceBase {
if
(
solutiondata
.
data
&&
solutiondata
.
data
.
channelNeedNo
)
{
pobj
.
actionBody
.
needId
=
solutiondata
.
data
.
channelNeedNo
;
}
pobj
.
actionBody
.
sku
=
data
.
data
.
service_code
;
pobj
.
actionBody
.
appName
=
pobj
.
appInfo
.
app_name
;
if
(
solutiondata
.
status
==
0
)
{
pobj
.
actionBody
.
orderNo
=
pobj
.
actionBody
.
channelOrder
.
channelOrderNo
;
this
.
utilsPushSve
.
aliBusiness2Fq
(
pobj
,
"pushOrderBusiness"
);
...
...
@@ -315,6 +317,8 @@ class CenterorderService extends AppServiceBase {
phone
:
pobj
.
actionBody
.
publishMobile
,
needId
:
solutiondata
.
data
.
channelNeedNo
,
//companyName:solutiondata.data.solutionContent.solution.CompanyName || ''
sku
:
data
.
data
.
service_code
,
appName
:
pobj
.
appInfo
.
app_name
},
appInfo
:
pobj
.
appInfo
}
...
...
center-channel/app/base/service/impl/utilsSve/utilsFqAliyunSve.js
View file @
35ab34c8
...
...
@@ -56,7 +56,9 @@ class UtilsFqAliyunService extends AppServiceBase {
pay_flow_no
:
orderInfo
.
pay_flow_no
,
// 支付流水号
pay_channel
:
orderInfo
.
pay_channel
,
// 支付渠道(微信、支付宝)(必填)
pay_time
:
orderInfo
.
pay_time
,
//付款时间
pay_payer_bank_no
:
orderInfo
.
pay_payer_bank_no
//付款人账号
pay_payer_bank_no
:
orderInfo
.
pay_payer_bank_no
,
//付款人账号
sku
:
productInfo
.
price_item
.
service_code
,
appName
:
pobj
.
appInfo
.
app_name
};
// var result = await this.opAliyunClientPost(pobj, "pushOrderBusiness", interface_params_info.opUrl, interface_params_info.key, interface_params_info.secret, params);
var
result
=
await
this
.
opAliyunClientPost
(
pobj
,
interface_params_info
.
opUrl
,
interface_params_info
.
key
,
interface_params_info
.
secret
,
params
);
...
...
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
View file @
35ab34c8
...
...
@@ -50,6 +50,7 @@ class UtilsNeedService extends AppServiceBase {
pobj
.
actionBody
.
channel_type_code
=
data
.
data
.
channel_type_code
;
pobj
.
actionBody
.
channel_type_name
=
data
.
data
.
channel_type_name
;
pobj
.
actionBody
.
type
=
pobj
.
actionBody
.
channel_type_code
;
pobj
.
actionType
.
appName
=
pobj
.
appInfo
.
app_name
;
if
(
pobj
.
actionBody
.
channel_type_code
==
5
)
{
pobj
.
actionBody
.
type
=
"ali.icp"
;
}
else
if
(
pobj
.
actionBody
.
channel_type_code
==
7
)
{
...
...
@@ -1231,7 +1232,9 @@ class UtilsNeedService extends AppServiceBase {
orderPrice
:
Number
(
pobj
.
actionBody
.
orderPrice
/
100
),
phone
:
needInfoResult
.
data
.
publishMobile
,
needId
:
solutiondata
.
data
.
channelNeedNo
,
companyName
:
solutiondata
.
data
.
solutionContent
.
solution
.
CompanyName
||
''
//1
companyName
:
solutiondata
.
data
.
solutionContent
.
solution
.
CompanyName
||
''
,
//1
sku
:
productPriceResult
.
data
.
service_code
,
appName
:
pobj
.
appInfo
.
app_name
},
appInfo
:
pobj
.
appInfo
}
...
...
center-channel/app/base/service/impl/utilsSve/utilsNeedSve2.js
View file @
35ab34c8
...
...
@@ -57,6 +57,7 @@ class UtilsNeedService2 extends AppServiceBase {
pobj
.
actionBody
.
channel_type_code
=
data
.
data
.
channel_type_code
;
pobj
.
actionBody
.
channel_type_name
=
data
.
data
.
channel_type_name
;
pobj
.
actionBody
.
type
=
pobj
.
actionBody
.
channel_type_code
;
pobj
.
actionBody
.
appName
=
pobj
.
appInfo
.
app_name
;
if
(
pobj
.
actionBody
.
channel_type_code
==
5
)
{
pobj
.
actionBody
.
type
=
"ali.icp"
;
}
else
if
(
pobj
.
actionBody
.
channel_type_code
==
7
)
{
...
...
@@ -149,6 +150,8 @@ class UtilsNeedService2 extends AppServiceBase {
pobj
.
actionBody
.
type_name
=
data
.
data
.
type_name
;
pobj
.
actionBody
.
channel_type_code
=
data
.
data
.
channel_type_code
;
pobj
.
actionBody
.
channel_type_name
=
data
.
data
.
channel_type_name
;
pobj
.
actionBody
.
appName
=
pobj
.
appInfo
.
app_name
;
pobj
.
actionBody
.
sku
=
data
.
data
.
service_code
;
pobj
.
actionType
=
"submitNeedH5"
;
var
reqUrl
=
this
.
centerOrderUrl
+
"action/need/springBoard"
;
var
result
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
...
...
@@ -1220,7 +1223,9 @@ class UtilsNeedService2 extends AppServiceBase {
orderPrice
:
Number
(
pobj
.
actionBody
.
orderPrice
/
100
),
phone
:
needInfoResult
.
data
.
publishMobile
,
needId
:
solutiondata
.
data
.
channelNeedNo
,
companyName
:
solutiondata
.
data
.
solutionContent
.
solution
.
CompanyName
||
''
//1
companyName
:
solutiondata
.
data
.
solutionContent
.
solution
.
CompanyName
||
''
,
//1
appName
:
pobj
.
appInfo
.
app_name
,
sku
:
productPriceResult
.
data
.
service_code
},
appInfo
:
pobj
.
appInfo
}
...
...
@@ -1387,6 +1392,7 @@ class UtilsNeedService2 extends AppServiceBase {
pobj
.
actionBody
.
channel_type_code
=
data
.
data
.
channel_type_code
;
pobj
.
actionBody
.
channel_type_name
=
data
.
data
.
channel_type_name
;
pobj
.
actionBody
.
type
=
pobj
.
actionBody
.
channel_type_code
;
pobj
.
actionBody
.
appName
=
pobj
.
appInfo
.
app_name
;
if
(
pobj
.
actionBody
.
channel_type_code
==
5
)
{
pobj
.
actionBody
.
type
=
"baidu.icp"
;
}
else
if
(
pobj
.
actionBody
.
channel_type_code
==
7
)
{
...
...
center-channel/app/base/service/impl/utilsSve/utilsOpNeedSve.js
View file @
35ab34c8
...
...
@@ -36,6 +36,7 @@ class UtilsOpNeedService extends AppServiceBase {
pobj
.
actionBody
.
type_name
=
opResult
.
data
.
type_name
;
pobj
.
actionBody
.
channel_type_code
=
opResult
.
data
.
channel_type_code
;
pobj
.
actionBody
.
channel_type_name
=
opResult
.
data
.
channel_type_name
;
pobj
.
actionBody
.
appName
=
pobj
.
appInfo
.
app_name
;
}
// 提交需求 暂未做推送
pobj
.
actionType
=
"opSubmitNeed"
;
...
...
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