Commit 0529c1c1 by 蒋勇

d

parent a49ce106
...@@ -365,6 +365,7 @@ class UserService extends ServiceBase { ...@@ -365,6 +365,7 @@ class UserService extends ServiceBase {
async update(qobj, tm = null) { async update(qobj, tm = null) {
var self = this; var self = this;
return this.db.transaction(async function (t) { return this.db.transaction(async function (t) {
delete qobj['company_id']
let up = await self.dao.update(qobj, t); let up = await self.dao.update(qobj, t);
//令缓存失效 //令缓存失效
await self.cacheManager["UserCache"].invalidate(qobj.userName); await self.cacheManager["UserCache"].invalidate(qobj.userName);
......
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