* @description: 掘金文章列表
(params)
| 20 | * @description: 掘金文章列表 |
| 21 | */ |
| 22 | async juejin(params): Promise<Response> { |
| 23 | const url = 'https://api.juejin.cn/content_api/v1/article/query_list'; |
| 24 | const responseData = await lastValueFrom( |
| 25 | this.httpService.post(url, params).pipe(map((res) => res.data)), |
| 26 | ); |
| 27 | return responseMessage({ |
| 28 | list: responseData.data, |
| 29 | total: responseData.count, |
| 30 | }); |
| 31 | } |
| 32 | } |
nothing calls this directly
no test coverage detected