Commit 1ddd11e7 by 蒋勇

d

parent f032ecab
...@@ -26,6 +26,14 @@ class RouteService extends ServiceBase { ...@@ -26,6 +26,14 @@ class RouteService extends ServiceBase {
return rtn; return rtn;
}); });
} }
async delete(qobj) {
var self = this;
return this.db.transaction(async function (t) {
let a=await self.dao.delete(qobj,t);
await self.cdel(RouteService.routeUrl(qobj.name));
return a
});
}
async findAndCountAll(obj) { async findAndCountAll(obj) {
var self = this; var self = this;
const apps = await super.findAndCountAll(obj); const apps = await super.findAndCountAll(obj);
......
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