Log
大约 1 分钟
根URL:
/place/{cityName}/{placeName}/log
GET listLogsByPlaceName
listLogsByPlaceName
子URI:
根据地点名(或别名)(可模糊查找)获取指定地点的卡数更新日志信息(地点全称,日志创建时间,更新者QQ号,更新者发起更新所在的QQ群号,操作卡数,操作后卡数)
Parameters
| 参数类型 | 字段名 | 数据类型 | 是否必须 | 说明 | 
|---|---|---|---|---|
| Path | cityName | String | 是 | 准确省市全称 | 
| Path | placeName | String | 是 | 模糊地点名/别名 | 
Responses
| 字段名 | 数据类型 | 说明 | 
|---|---|---|
| placeName | String | 地点全称 | 
| announcements | Array | 地点公告 | 
| > announcementId | Long | 公告ID | 
| > uploaderId | Long | 发布者QQ号 | 
| > uploaderGroupId | Long | 发布者QQ群号 | 
| > announcementContent | String | 公告内容 | 
| > createTime | Datetime | 公告发布时间 | 
| > expireTime | Datetime | 公告过期时间 | 
| total | Integer | 记录总数 | 
| records | Array | 记录列表 | 
| > logId | Integer | 日志ID | 
| > createTime | Datetime | 日志创建时间 | 
| > qqId | Long | 更新者QQ号 | 
| > qqGroupId | Long | 更新者发起更新所在的QQ群号 | 
| > operateCount | Integer | 操作卡数 | 
| > afterCount | Integer | 操作后卡数 | 
Examples
 200 OK: GET: /place/安徽省合肥市/风云/log
{
    "code": 0,
    "msg": "success",
    "data": {
        "placeName": "风云再起淮河路店",
        "announcements": [
            {
                "announcementId": 1,
                "uploaderId": 739062975,
                "uploaderGroupId": 12345678,
                "announcementContent": "测试公告阿巴巴爸爸吧不",
                "createTime": [
                    2023,
                    4,
                    4,
                    14,
                    2,
                    12
                ],
                "expireTime": [
                    2023,
                    4,
                    11,
                    14,
                    2,
                    12
                ]
            }
        ],
        "total": 2,
        "records": [
            {
                "logId": 10,
                "createTime": [
                    2022,
                    7,
                    24,
                    19,
                    30
                ],
                "qqId": 153123153,
                "qqGroupId": 156123123,
                "operateCount": 5,
                "afterCount": 5
            },
            {
                "logId": 11,
                "createTime": [
                    2022,
                    7,
                    24,
                    19,
                    30,
                    13
                ],
                "qqId": 153888853,
                "qqGroupId": 56161233,
                "operateCount": -3,
                "afterCount": 2
            }
        ]
    }
}