Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
郭成尧
7 years ago
Commit
95ef30a1c378f6582fc40510f5ebd75bd14327cb
2 parents
1dc89361
15ddea74
Merge branch 'feature/vip2' into 'release/6.6'
Feature/vip2 See merge request
!1370
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
2 deletions
apps/activity/models/droit-util.js
apps/cart/controllers/pay.js
apps/cart/models/pay.js
public/scss/index.css
apps/activity/models/droit-util.js
View file @
95ef30a
...
...
@@ -110,7 +110,14 @@ function droitHtml(contents) {
item
.
content
=
{
banner
:
`
http
:
//img11.static.yhbimg.com/sort/2018/03/26/13/0100d72b57f8c364e69cdfeb708b5d852a.jpg${imageView2}`,
intros
:
[
{
title
:
'Dear:'
,
data
:
[
'近期将针对有货的VIP会员推出专享升级礼包服务,等级提升后即可领取,服务即将开启请随时关注最新APP会员权益动态!'
]},
{
title
:
'特权介绍'
,
data
:
[
'会员专享升级礼包,具体以实际领取为准。'
]
},
{
title
:
'领取说明'
,
data
:
[
'升级礼包在升级当日7天内可领取,领取后优惠券有效期7天。'
,
'升级礼包可在会员中心-我的礼包页面领取。'
,
'每个等级的礼包365天仅限领取一次。'
,
'若在上述时间段内未领取,将无法补发升级礼包。'
]
}
]
};
}
else
if
(
item
.
displayName
===
'优享客服'
)
{
...
...
apps/cart/controllers/pay.js
View file @
95ef30a
...
...
@@ -280,7 +280,7 @@ const payAli = (req, res, next) => {
// 支付宝支付校验
if
(
!
verifyResult
.
payResult
)
{
return
res
.
render
(
'pay/pay-failure'
,
responseFailure
);
return
res
.
render
(
'pay/pay-failure'
,
_
.
assign
(
responseData
,
responseFailure
)
);
}
req
.
ctx
(
payModel
).
getPayAli
(
param
).
then
(
result
=>
{
...
...
apps/cart/models/pay.js
View file @
95ef30a
...
...
@@ -374,6 +374,10 @@ class payModel extends global.yoho.BaseModel {
alipayResultVerify
(
params
)
{
let
checkResult
=
{};
if
(
params
.
uid
)
{
delete
params
.
uid
;
}
if
(
params
.
q
)
{
delete
params
.
q
;
}
...
...
public/scss/index.css
View file @
95ef30a
...
...
@@ -29,3 +29,4 @@
/* 帮助与反馈 */
@import
"service/chatQaList"
;
@import
"cart/pay-success"
;
@import
"cart/pay-failure"
;
...
...
Please
register
or
login
to post a comment