Commit 9979471c by zhaoxiqing

gsb

parent e25995a5
......@@ -7,7 +7,7 @@ class EcompanyworkService extends ServiceBase {
constructor() {
super(ServiceBase.getDaoName(EcompanyworkService));
this.ecompanyDao = system.getObject("db.ecompanyDao");
this.callApiUrl = system.callApiUrl();
this.callApiUrl = system.callApiUrl().urls;
}
async getById(id) {
var info = await this.dao.model.findOne({where:{id:id}, raw: true});
......@@ -45,7 +45,7 @@ class EcompanyworkService extends ServiceBase {
async callApi(url, data) {
logCtl.info({
optitle: "laowubao接口===>工作量确认单info",
op: url+name,
op: url,
content: "参数:data=" + data,
clientIp: ""
});
......
......@@ -287,11 +287,11 @@ class System {
if (settings.env == "dev") {
var domain = "http://127.0.0.1";
return {
channel: domain + ":3006" + path,
urls: domain + ":3006" + path,
}
} else {
return {
channel: "laowubao-service" + path,
urls: "laowubao-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