## 列表_搜索
~~~[api]
get:admin/user/?act=list
int:page=1#第幾頁
int:limit=10#一頁顯示多少內容
content#搜索內容
<<<
success
{
"code": 0,
"msg": "獲取成功!",
"data": [
{
"id": 1,
"content": "我是內容",
"type": "我是分類",
"time": "2024-02-06 04:55:53"
}
],
"count": 1
}
<<<
error
~~~
## 查看
~~~
顯示月份的數據就將月份的數據填寫 然后留空年份,獲取年份的數據同理
注:年月必須有一個傳入值,且不能兩個都同時傳值!
且月的值只需要傳任意的內容,而年的值需要填準確的值!
顯示單獨區域的數據傳入區域,顯示全部區域數據填入`all`
`type`值:
1,2,3分別按順序代表下面的三個接口
~~~
### 蚊蠅燈捕獲數量的統計
~~~[api]
get:admin/ch_trend/?act=get
*user_id#客戶ID
moon#月
year#年
*region#區域
*type=1#獲取數據類型
<<<
success
{
"code": 0,
"msg": "獲取成功!",
"data": [
{
"id": 1,
"content": "我是內容",
"type": "我是分類",
"time": "2024-02-06 04:55:53"
}
],
"count": 1
}
<<<
error
~~~
### 捕鼠設施數據統計
~~~[api]
get:admin/ch_trend/?act=get
*user_id#客戶ID
moon#月
year#年
*region#區域
*type=2#獲取數據類型
<<<
success
{
"code": 0,
"msg": "獲取成功!",
"data": [
{
"id": 1,
"content": "我是內容",
"type": "我是分類",
"time": "2024-02-06 04:55:53"
}
],
"count": 1
}
<<<
error
~~~
### 誘餌站的數據對比
~~~[api]
get:admin/ch_trend/?act=get
*user_id#客戶ID
moon#月
year#年
*region#區域
*type=3#獲取數據類型
<<<
success
{
"code": 0,
"msg": "獲取成功!",
"data": [
{
"id": 1,
"content": "我是內容",
"type": "我是分類",
"time": "2024-02-06 04:55:53"
}
],
"count": 1
}
<<<
error
~~~