Commit b9b932b3 by 王昆

gsb

parent f7b7de26
...@@ -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) {
......
...@@ -181,16 +181,16 @@ class System { ...@@ -181,16 +181,16 @@ class System {
// merchant: "http://127.0.0.1:3101" + path, // merchant: "http://127.0.0.1:3101" + path,
// 订单服务 // 订单服务
order: domain + ":3103" + path, // order: domain + ":3103" + path,
// order: "http://127.0.0.1:3103" + path, order: "http://127.0.0.1:3103" + path,
// 发票服务 // 发票服务
// invoice: domain + ":3105" + path, // invoice: domain + ":3105" + path,
invoice: "http://127.0.0.1:3105" + path, invoice: "http://127.0.0.1:3105" + path,
// 发票服务 // 发票服务
// uc: domain + ":3106" + path, uc: domain + ":3106" + path,
uc: "http://127.0.0.1:3106" + path, // uc: "http://127.0.0.1:3106" + path,
} }
} else { } else {
var odomain = "http://123.57.217.203" var odomain = "http://123.57.217.203"
......
...@@ -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