(ctx, next)
| 44 | } |
| 45 | |
| 46 | async remove(ctx, next) { |
| 47 | // 1.获取momentId |
| 48 | const { momentId } = ctx.params; |
| 49 | |
| 50 | // 2.删除内容 |
| 51 | const result = await momentService.remove(momentId); |
| 52 | ctx.body = result; |
| 53 | } |
| 54 | |
| 55 | async addLabels(ctx, next) { |
| 56 | // 1.获取标签和动态id |
nothing calls this directly
no outgoing calls
no test coverage detected