Authored by 郭成尧

session-key-del

... ... @@ -3,7 +3,7 @@
* @Author: Targaryen
* @Date: 2017-01-04 15:17:51
* @Last Modified by: Targaryen
* @Last Modified time: 2017-02-17 09:52:57
* @Last Modified time: 2017-02-17 18:06:56
*/
'use strict';
... ... @@ -110,7 +110,7 @@ const pay = (req, res, next) => {
let paymentCode = common.getPaymentCode(payment);
let openId = req.cookies['weixinOpenId' + orderCode];
if (!orderCode || !uid || !sessionKey) {
if (!orderCode || !uid) {
return res.redirect('/');
}
... ...