Commit 89ac4e75 by 王昆

gsb

parents 733c8590 c1b7bda7
...@@ -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);
......
...@@ -188,7 +188,7 @@ class System { ...@@ -188,7 +188,7 @@ class System {
invoice: domain + ":3105" + path, invoice: domain + ":3105" + path,
// 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,
} }
......
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