Authored by zhangxiaoru

诈骗提示

... ... @@ -27,7 +27,7 @@ const payCod = (req, res, next) => {
uid: req.user.uid,
udid: req.sessionID || require('md5')(req.ip) || 'yoho',
orderCode: req.query.order_code,
contentCode: '05afedf76886d732573f10f7451a1703',
contentCode: '78d0fb6c97d691863286edcb4d8abfa9',
client_id: req.cookies._yasvd || ''
};
... ... @@ -64,7 +64,7 @@ const payAli = (req, res, next) => {
uid: req.user.uid,
udid: req.sessionID || require('md5')(req.ip) || 'yoho',
orderCode: req.query.out_trade_no,
contentCode: '05afedf76886d732573f10f7451a1703'
contentCode: '78d0fb6c97d691863286edcb4d8abfa9'
};
// 如果没有uid,跳转到首页
... ...
... ... @@ -14,7 +14,8 @@ const productProcess = require(`${utils}/product-process`);
// 资源位
const _getBanner = (param) => {
return serviceAPI.get('operations/api/v5/resource/get', {
content_code: param.contentCode
content_code: param.contentCode,
platform: 'iphone'
}, {
code: 200
}).then((result) => {
... ... @@ -131,7 +132,11 @@ const getPayAli = (param) => {
};
if (result && result[0]) {
resu.banner = result[0];
resu.banner = result[0][0];
}
if (result && result[0] && result[0][1]) {
resu.prompt = result[0][1].data;
}
if (result && result[1]) {
... ...
<div class="pay-success">
{{# prompt}}
<div class="fraud-prompt">{{text}}
</div>
{{/prompt}}
<div class="top-tip">
<div class="img-c"></div>
<p class="ok-tip">恭喜您,付款成功!</p>
... ...
... ... @@ -105,5 +105,17 @@
color: #444;
font-size: 27px;
}
.out-tag {
color: #fff;
}
}
.fraud-prompt {
max-height: 62px;
line-height: 62px;
background: #ff7579;
color: #fff;
overflow-y: scroll;
}
}
... ...