Authored by 陈峰

installment bug

... ... @@ -735,7 +735,7 @@ const setMasterCard = (req, res) => {
};
const sessionKeyAuth = (req, res, next) => {
let uid = req.query.uid || req.cookies.installmentUid || req.user.uid.toString() || '';
let uid = req.query.uid || req.cookies.installmentUid || (req.user.uid && req.user.uid.toString()) || '';
let sessionKey = req.query.session_key ||
req.session.SESSION_KEY || req.user.uid && req.user.uid.sessionKey || '';
... ...