Authored by 郝肖肖

支付成功和失败页加simple header

... ... @@ -158,8 +158,8 @@ const callback = (req, res, next) => {
return next();
}
// 银联支付是post返回的
if (type === 'unionpay') {
// 银联、网银支付是post返回的
if (type === 'unionpay' || type === 'chinabank') {
query = req.body;
}
... ...
... ... @@ -15,7 +15,6 @@ const _ = require('lodash');
const helpers = global.yoho.helpers;
const FRAUD_CONTENT_CODE = '78d0fb6c97d691863286edcb4d8abfa9';
// chinabank、tenpay 未完成,差异步回调地址和签名验证及订单状态更改
const payments = {
alipay: 2, // 支付宝
wechat: 21, // 微信支付
... ... @@ -66,6 +65,11 @@ const getOnlinePayProvider = () => {
return true;
}
// 财付通和网银关闭
if (val.id === 4 || val.id === 1) {
return true;
}
nav.push({
id: val.id,
name: val.payName,
... ...
... ... @@ -17,9 +17,10 @@ module.exports = {
cookieDomain: '.yohobuy.com',
domains: {
// test3
// singleApi: 'http://api-test3.yohops.com:9999/',
// api: 'http://api-test3.yohops.com:9999/',
// service: 'http://service-test3.yohops.com:9999/',
singleApi: 'http://api-test3.yohops.com:9999/',
api: 'http://api-test3.yohops.com:9999/',
service: 'http://service-test3.yohops.com:9999/',
serviceNotify: 'http://service-test3.yohops.com:9999/',
// prod
// singleApi: 'http://single.yoho.cn/',
... ... @@ -34,10 +35,10 @@ module.exports = {
// service: 'http://service.gray.yohops.com/',
// dev
api: 'http://dev-api.yohops.com:9999/',
service: 'http://dev-service.yohops.com:9999/',
serviceNotify: 'http://dev-service.yohops.com:9999/',
singleApi: 'http://dev-api.yohops.com:9999/',
// api: 'http://dev-api.yohops.com:9999/',
// service: 'http://dev-service.yohops.com:9999/',
// serviceNotify: 'http://dev-service.yohops.com:9999/',
// singleApi: 'http://dev-api.yohops.com:9999/',
imSocket: 'ws://socket.yohobuy.com:10240',
imCs: 'http://im.yohobuy.com/api',
... ...
require('../simple-header');
... ...
... ... @@ -3,3 +3,4 @@
*/
require('../common/best-for-you');
require('../simple-header');
... ...