Loading…

Get site information

```javascript WXAPI.siteStatistics() ``` ```json { "code": 0, "data": { "dfs": { "capacity": 720766, "capacityLeft": 0, "capacityLeftStr": "0 B", "capacityStr": "703.87 KB", "count": 16, "id": 42151, "isFixed": true }, "cmsArticle": { "comments": 20, "numbers": 10, "fav": 0, "views": 2306 }, "statistics": { "goods": 0, "id": 42151, "orders": 29, "saleroom": 104, "users": 1 } }, "msg": "success" } ``` + dfs file statistics - capacity is the currently used capacity, capacityStr is the formatted output - capacityLeft is the remaining available capacity of the storage package, capacityLeftStr is the formatted output - count current total number of files + cmsArticle cms article statistics - comments number of comments - numbers number of articles - fav total number of collections - views + statistics - goods quantity of goods - orders order quantity - saleroom cumulative sales - users cumulative number of users + wxAppAppid WeChat Mini Program appID + wxMpAppid The appID of the WeChat official account