Commit d729282f by 王昆

gsb

parent 4df82f4c
...@@ -197,6 +197,8 @@ class ServiceBase { ...@@ -197,6 +197,8 @@ class ServiceBase {
async callms(sveName, apiName, params) { async callms(sveName, apiName, params) {
var reqUrl = this.micro[sveName]; var reqUrl = this.micro[sveName];
console.log(reqUrl, "-----------------------------");
if (!reqUrl) { if (!reqUrl) {
return system.getResult(null, "未找到【" + sveName + "】服务,请检查settings文件是否存在"); return system.getResult(null, "未找到【" + sveName + "】服务,请检查settings文件是否存在");
} }
......
...@@ -191,10 +191,10 @@ class System { ...@@ -191,10 +191,10 @@ class System {
} else { } else {
var odomain = "http://123.57.217.203" var odomain = "http://123.57.217.203"
return { return {
common: odomain + ":20400" + path, common: "xggsvecommon-service" + path,
merchant: odomain + ":20500" + path, merchant: "xggsveinvoice-service" + path,
order: odomain + ":20600" + path, order: "xggsvemerchant-service" + path,
invoice: odomain + ":20700" + path, invoice: "xggsveorder-service" + path,
} }
} }
} }
......
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