Authored by ccbikai(👎🏻🍜)

Merge remote-tracking branch 'origin/hotfix/release56' into release/5.6

@@ -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-04-20 20:38:51 6 + * @Last Modified time: 2017-04-20 20:42:55
7 */ 7 */
8 8
9 'use strict'; 9 'use strict';
@@ -164,7 +164,7 @@ const pay = (req, res, next) => { @@ -164,7 +164,7 @@ const pay = (req, res, next) => {
164 ip: ip 164 ip: ip
165 }).then(result => { 165 }).then(result => {
166 if (result && paymentCode === payModel.payments.wechat) { 166 if (result && paymentCode === payModel.payments.wechat) {
167 - if (result !== 200) { 167 + if (result.code !== 200) {
168 res.clearCookie('weixinOpenId' + orderCode); 168 res.clearCookie('weixinOpenId' + orderCode);
169 } 169 }
170 return res.json(result); 170 return res.json(result);