Commit b9b932b3 by 王昆

gsb

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