|
@@ -118,6 +118,7 @@ module.exports = app => {
|
|
|
const data = JSON.parse(ctx.request.body.data);
|
|
|
if (!data.id) throw '参数有误';
|
|
|
const result = await ctx.service.subProject.del(data.id);
|
|
|
+ await this._loadCount(result);
|
|
|
ctx.body = { err: 0, msg: '', data: result };
|
|
|
} catch(err) {
|
|
|
ctx.log(err);
|