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 {
* @param {*} pobj2
* @param {*} req
*/
async createOrder(pobj, pobj2, req){
async createOrder(pobj, pobj2, req){
try {
return await this.orderSve.createOrder(pobj);
} catch (error) {
......
......@@ -33,10 +33,10 @@ module.exports = function (app) {
return next();
}
if (!jsonUser) {
res.end(JSON.stringify({ status: -99, msg: "no login" }));
return;
}
// if (!jsonUser) {
// res.end(JSON.stringify({ status: -99, msg: "no login" }));
// return;
// }
if(xggadminsid) {
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