GET api/Log/GetLogs?key={key}&pageIndex={pageIndex}&pageSize={pageSize}
加载日志
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
key | string |
Default value is |
|
pageIndex | integer |
Default value is 1 |
|
pageSize | integer |
Default value is 10 |
Body Parameters
None.
Response Information
Resource Description
加载日志
JsonRtnDtoOfPageResultOfLogRecordName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | PageResultOfLogRecord |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "Value": [ { "Id": 1, "MemberId": "sample string 2", "MemberName": "sample string 3", "MemberType": 1, "Ip": "sample string 4", "OperationInfo": "sample string 5", "DeviceName": "sample string 6", "Browser": "sample string 7", "BrowserVersion": "sample string 8", "CreatedTime": "2024-09-25T00:08:14.6249319+08:00" }, { "Id": 1, "MemberId": "sample string 2", "MemberName": "sample string 3", "MemberType": 1, "Ip": "sample string 4", "OperationInfo": "sample string 5", "DeviceName": "sample string 6", "Browser": "sample string 7", "BrowserVersion": "sample string 8", "CreatedTime": "2024-09-25T00:08:14.6249319+08:00" } ], "PageIndex": 1, "PageSize": 2, "total": 3, "TotalPages": 4, "HasPreviousPage": false, "HasNextPage": true } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"Value":[{"Id":1,"MemberId":"sample string 2","MemberName":"sample string 3","MemberType":1,"Ip":"sample string 4","OperationInfo":"sample string 5","DeviceName":"sample string 6","Browser":"sample string 7","BrowserVersion":"sample string 8","CreatedTime":"2024-09-25T00:08:14.6249319+08:00"},{"Id":1,"MemberId":"sample string 2","MemberName":"sample string 3","MemberType":1,"Ip":"sample string 4","OperationInfo":"sample string 5","DeviceName":"sample string 6","Browser":"sample string 7","BrowserVersion":"sample string 8","CreatedTime":"2024-09-25T00:08:14.6249319+08:00"}],"PageIndex":1,"PageSize":2,"total":3,"TotalPages":4,"HasPreviousPage":false,"HasNextPage":true}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfPageResultOfLogRecord1mq6ITjNS_STz13wm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Infrastructure"> <d2p1:PageIndex>1</d2p1:PageIndex> <d2p1:PageSize>2</d2p1:PageSize> <d2p1:TotalPages>4</d2p1:TotalPages> <d2p1:total>3</d2p1:total> <d2p1:Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/DataModels"> <d3p1:LogRecord> <d3p1:Browser>sample string 7</d3p1:Browser> <d3p1:BrowserVersion>sample string 8</d3p1:BrowserVersion> <d3p1:CreatedTime>2024-09-25T00:08:14.6249319+08:00</d3p1:CreatedTime> <d3p1:DeviceName>sample string 6</d3p1:DeviceName> <d3p1:Id>1</d3p1:Id> <d3p1:Ip>sample string 4</d3p1:Ip> <d3p1:MemberId>sample string 2</d3p1:MemberId> <d3p1:MemberName>sample string 3</d3p1:MemberName> <d3p1:MemberType>1</d3p1:MemberType> <d3p1:OperationInfo>sample string 5</d3p1:OperationInfo> </d3p1:LogRecord> <d3p1:LogRecord> <d3p1:Browser>sample string 7</d3p1:Browser> <d3p1:BrowserVersion>sample string 8</d3p1:BrowserVersion> <d3p1:CreatedTime>2024-09-25T00:08:14.6249319+08:00</d3p1:CreatedTime> <d3p1:DeviceName>sample string 6</d3p1:DeviceName> <d3p1:Id>1</d3p1:Id> <d3p1:Ip>sample string 4</d3p1:Ip> <d3p1:MemberId>sample string 2</d3p1:MemberId> <d3p1:MemberName>sample string 3</d3p1:MemberName> <d3p1:MemberType>1</d3p1:MemberType> <d3p1:OperationInfo>sample string 5</d3p1:OperationInfo> </d3p1:LogRecord> </d2p1:Value> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfPageResultOfLogRecord1mq6ITjNS_STz13wm>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Value":[{"Id":1,"MemberId":"sample string 2","MemberName":"sample string 3","MemberType":1,"Ip":"sample string 4","OperationInfo":"sample string 5","DeviceName":"sample string 6","Browser":"sample string 7","BrowserVersion":"sample string 8","CreatedTime":"2024-09-25T00:08:14.6249319+08:00"},{"Id":1,"MemberId":"sample string 2","MemberName":"sample string 3","MemberType":1,"Ip":"sample string 4","OperationInfo":"sample string 5","DeviceName":"sample string 6","Browser":"sample string 7","BrowserVersion":"sample string 8","CreatedTime":"2024-09-25T00:08:14.6249319+08:00"}],"PageIndex":1,"PageSize":2,"total":3,"TotalPages":4,"HasPreviousPage":false,"HasNextPage":true}});