()
| 54 | } |
| 55 | |
| 56 | async getBar() { |
| 57 | try { |
| 58 | this.ctx.body = await this.service.foo.bar(); |
| 59 | } catch (e) { |
| 60 | this.ctx.logger.error(e); |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | async requestWithHttpclientNext(request: RequestOptionsNext) { |
| 65 | let result = await this.app.curl('url', request); |