Commit d98e7add by 孙亚楠

Merge branch 'xgg-admin-dev' of gitlab.gongsibao.com:jiangyong/zhichan into xgg-admin-dev

parents c1ed2222 b55c36e6
...@@ -221,7 +221,7 @@ class OrderCtl extends CtlBase { ...@@ -221,7 +221,7 @@ class OrderCtl extends CtlBase {
* @param {*} pobj2 * @param {*} pobj2
* @param {*} req * @param {*} req
*/ */
async createOrder(pobj, pobj2, req){ async createOrder(pobj, pobj2, req){
try { try {
return await this.orderSve.createOrder(pobj); return await this.orderSve.createOrder(pobj);
} catch (error) { } catch (error) {
......
...@@ -33,10 +33,10 @@ module.exports = function (app) { ...@@ -33,10 +33,10 @@ module.exports = function (app) {
return next(); return next();
} }
if (!jsonUser) { // if (!jsonUser) {
res.end(JSON.stringify({ status: -99, msg: "no login" })); // res.end(JSON.stringify({ status: -99, msg: "no login" }));
return; // return;
} // }
if(xggadminsid) { if(xggadminsid) {
redisClient.setWithEx(xggadminsid, JSON.stringify(jsonUser), 60 * 60 * 60); redisClient.setWithEx(xggadminsid, JSON.stringify(jsonUser), 60 * 60 * 60);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment