You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constsiteName='站点名';// 替换为实际的站点名consturl=`https://artalk.xxx.com/api/v2/stats/site_comment?site_name=${encodeURIComponent(siteName)}`;fetch(url).then(response=>{if(!response.ok){thrownewError('Network response was not ok');}returnresponse.json();}).then(({ data })=>{console.log(data);// 输出获取的数据}).catch(error=>{console.error('There was a problem with the fetch operation:',error);});
qwqcode
changed the title
你好,这个功能已经存在了,GET 请求 https://artalk.xxx.com/api/v2/stats/site_comment?site_name=站点名 可以得到 {"data":957}
API 接口 stats/site_pv 响应数据格式错误
May 29, 2024
https://artalk.js.org/http-api.html#tag/Statistic/operation/GetStats
Originally posted by @qwqcode in #811 (comment)
site_pv 经测试,无法使用?请问是什么原因呢
The text was updated successfully, but these errors were encountered: