Commit cc5a115d by 王昆

gsb

parent e5d310ec
......@@ -85,6 +85,7 @@ class XbgApi extends apiBase {
async setCompanyIds(qobj) {
let config = await this.userconfSve.findById(qobj.userId);
console.log("config", config);
// var config = this.userConfig[qobj.userId];
if (!config) {
return;
......@@ -96,6 +97,7 @@ class XbgApi extends apiBase {
qobj.ecompany_id.push(Number(id));
}
}
console.log("qobj.ecompany_id", qobj.ecompany_id);
}
async setPayCompanyIds(qobj) {
......@@ -117,7 +119,9 @@ class XbgApi extends apiBase {
}
try {
var params = qobj || {};
console.log("params", params);
var rs = await this.restClient.execPost(params, this.url + "etemplateList");
console.log("rs", rs);
return JSON.parse(rs.stdout);
} catch (e) {
console.log(e);
......
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