...
|
...
|
@@ -9,7 +9,6 @@ |
|
|
|
|
|
const PayModel = require('../models/pay');
|
|
|
const Alipay = require('./pay/alipay');
|
|
|
const Alibank = require('./pay/alibank');
|
|
|
const Wechat = require('./pay/wechat');
|
|
|
const Promise = require('bluebird');
|
|
|
const co = Promise.coroutine;
|
...
|
...
|
@@ -124,8 +123,6 @@ const Payment = { |
|
|
|
|
|
if (payId === PayModel.payments.alipay) {
|
|
|
payResult = Alipay.notify(query, payInfo);
|
|
|
} else if (payId === PayModel.payments.alibank) {
|
|
|
payResult = Alibank.notify(query, payInfo);
|
|
|
}
|
|
|
|
|
|
payResult.bankName = payName = payResult.bankName || payInfo.payName || '';
|
...
|
...
|
|