Commit 8e2d6b6f by 孙亚楠

dd

parent 07be8204
...@@ -32,15 +32,13 @@ class AuthCtl extends CtlBase { ...@@ -32,15 +32,13 @@ class AuthCtl extends CtlBase {
* @param {*} params * @param {*} params
*/ */
async updAuth(params, pobj2, req) { async updAuth(params, pobj2, req) {
var auth = { params.id= Number(params.id);
id: Number(params.id), params.pid= Number(params.pid || 0);
pid: Number(params.pid || 0), params.saas_id= params.saas_id;
saas_id: params.saas_id, params.menuType= Number(params.menuType || 0);
menuType: Number(params.menuType || 0), params.name= this.trim(params.name);
name: this.trim(params.name), params.icon= this.trim(params.icon);
icon: this.trim(params.icon), params.path= this.trim(params.path);
path: this.trim(params.path),
};
try { try {
return await this.authSve.updAuth(params); return await this.authSve.updAuth(params);
......
...@@ -189,8 +189,8 @@ class System { ...@@ -189,8 +189,8 @@ class System {
// 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"
......
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