...
|
...
|
@@ -3,7 +3,7 @@ |
|
|
* @Author: Targaryen
|
|
|
* @Date: 2017-01-04 15:17:51
|
|
|
* @Last Modified by: Targaryen
|
|
|
* @Last Modified time: 2017-03-31 17:25:34
|
|
|
* @Last Modified time: 2017-04-20 20:38:51
|
|
|
*/
|
|
|
|
|
|
'use strict';
|
...
|
...
|
@@ -164,6 +164,9 @@ const pay = (req, res, next) => { |
|
|
ip: ip
|
|
|
}).then(result => {
|
|
|
if (result && paymentCode === payModel.payments.wechat) {
|
|
|
if (result !== 200) {
|
|
|
res.clearCookie('weixinOpenId' + orderCode);
|
|
|
}
|
|
|
return res.json(result);
|
|
|
}
|
|
|
if (result && result.data && result.data.href && paymentCode === payModel.payments.alipay) {
|
...
|
...
|
|