MCPcopy Create free account
hub / github.com/baiwumm/react-admin / juejin

Method juejin

Xmw_server/src/modules/common/common.service.ts:22–31  ·  view source on GitHub ↗

* @description: 掘金文章列表

(params)

Source from the content-addressed store, hash-verified

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}

Callers

nothing calls this directly

Calls 1

responseMessageFunction · 0.90

Tested by

no test coverage detected