Authored by 郭成尧

session-key-del

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