|
@@ -5,22 +5,320 @@ module.exports = [
|
|
|
type: 'get',
|
|
|
response: config => {
|
|
|
return {
|
|
|
- code: 200,
|
|
|
- msg: 'success',
|
|
|
- data: {
|
|
|
- total: 43,
|
|
|
- records: [
|
|
|
- { 'id': '0', 'title': 'test1', 'appName': 'System1', 'type': 'type1', 'status': 'todo', 'createDate': '2023-07-15 01:02:03', 'createUser': 'zhangsan' },
|
|
|
- { 'id': '1', 'title': 'test1', 'appName': 'System1', 'type': 'type1', 'status': 'todo', 'createDate': '2023-07-15 01:02:03', 'createUser': 'zhangsan' },
|
|
|
- { 'id': '2', 'title': 'test1', 'appName': 'System1', 'type': 'type1', 'status': 'todo', 'createDate': '2023-07-15 01:02:03', 'createUser': 'zhangsan' },
|
|
|
- { 'id': '3', 'title': 'test1', 'appName': 'System1', 'type': 'type1', 'status': 'todo', 'createDate': '2023-07-15 01:02:03', 'createUser': 'zhangsan' },
|
|
|
- { 'id': '4', 'title': 'test1', 'appName': 'System1', 'type': 'type1', 'status': 'todo', 'createDate': '2023-07-15 01:02:03', 'createUser': 'zhangsan' },
|
|
|
- { 'id': '5', 'title': 'test1', 'appName': 'System1', 'type': 'type1', 'status': 'todo', 'createDate': '2023-07-15 01:02:03', 'createUser': 'zhangsan' },
|
|
|
- { 'id': '6', 'title': 'test1', 'appName': 'System1', 'type': 'type1', 'status': 'todo', 'createDate': '2023-07-15 01:02:03', 'createUser': 'zhangsan' },
|
|
|
- { 'id': '7', 'title': 'test1', 'appName': 'System1', 'type': 'type1', 'status': 'todo', 'createDate': '2023-07-15 01:02:03', 'createUser': 'zhangsan' },
|
|
|
- { 'id': '8', 'title': 'test1', 'appName': 'System1', 'type': 'type1', 'status': 'todo', 'createDate': '2023-07-15 01:02:03', 'createUser': 'zhangsan' },
|
|
|
- { 'id': '9', 'title': 'test1', 'appName': 'System1', 'type': 'type1', 'status': 'todo', 'createDate': '2023-07-15 01:02:03', 'createUser': 'zhangsan' }
|
|
|
- ]
|
|
|
+ 'code': 200,
|
|
|
+ 'msg': null,
|
|
|
+ 'data': {
|
|
|
+ 'records': [
|
|
|
+ {
|
|
|
+ 'id': 19,
|
|
|
+ 'messageType': 1,
|
|
|
+ 'messageLevel': null,
|
|
|
+ 'title': 'title1',
|
|
|
+ 'content': 'nisi aliquip dolor ut nostrud',
|
|
|
+ 'attachmentPath': 'sint in',
|
|
|
+ 'attachmentName': 'sint inname',
|
|
|
+ 'createBy': null,
|
|
|
+ 'createUser': null,
|
|
|
+ 'createOrgName': 'testbg1',
|
|
|
+ 'createOrgCode': null,
|
|
|
+ 'updateBy': null,
|
|
|
+ 'updateUser': null,
|
|
|
+ 'createTime': null,
|
|
|
+ 'updateTime': null,
|
|
|
+ 'delFlag': null,
|
|
|
+ 'version': null,
|
|
|
+ 'memberId': '120222197001010002',
|
|
|
+ 'scopeType': 2,
|
|
|
+ 'scopeId': '120000450200',
|
|
|
+ 'targetId': 19,
|
|
|
+ 'recordType': null,
|
|
|
+ 'clientId': null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'id': 18,
|
|
|
+ 'messageType': 1,
|
|
|
+ 'messageLevel': null,
|
|
|
+ 'title': 'title2',
|
|
|
+ 'content': 'nisi aliquip dolor ut nostrud',
|
|
|
+ 'attachmentPath': 'sint in',
|
|
|
+ 'attachmentName': 'sint inname',
|
|
|
+ 'createBy': null,
|
|
|
+ 'createUser': null,
|
|
|
+ 'createOrgName': 'testbg1',
|
|
|
+ 'createOrgCode': null,
|
|
|
+ 'updateBy': null,
|
|
|
+ 'updateUser': null,
|
|
|
+ 'createTime': null,
|
|
|
+ 'updateTime': null,
|
|
|
+ 'delFlag': null,
|
|
|
+ 'version': null,
|
|
|
+ 'memberId': '120222197001010002',
|
|
|
+ 'scopeType': 2,
|
|
|
+ 'scopeId': '120000450200',
|
|
|
+ 'targetId': 18,
|
|
|
+ 'recordType': null,
|
|
|
+ 'clientId': null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'id': 17,
|
|
|
+ 'messageType': 1,
|
|
|
+ 'messageLevel': null,
|
|
|
+ 'title': 'title3',
|
|
|
+ 'content': 'nisi aliquip dolor ut nostrud',
|
|
|
+ 'attachmentPath': 'sint in',
|
|
|
+ 'attachmentName': 'sint inname',
|
|
|
+ 'createBy': null,
|
|
|
+ 'createUser': null,
|
|
|
+ 'createOrgName': 'testbg1',
|
|
|
+ 'createOrgCode': null,
|
|
|
+ 'updateBy': null,
|
|
|
+ 'updateUser': null,
|
|
|
+ 'createTime': null,
|
|
|
+ 'updateTime': null,
|
|
|
+ 'delFlag': null,
|
|
|
+ 'version': null,
|
|
|
+ 'memberId': '120222197001010002',
|
|
|
+ 'scopeType': 2,
|
|
|
+ 'scopeId': '120000450200',
|
|
|
+ 'targetId': 17,
|
|
|
+ 'recordType': null,
|
|
|
+ 'clientId': null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'id': 16,
|
|
|
+ 'messageType': 1,
|
|
|
+ 'messageLevel': null,
|
|
|
+ 'title': 'title4',
|
|
|
+ 'content': 'nisi aliquip dolor ut nostrud',
|
|
|
+ 'attachmentPath': 'sint in',
|
|
|
+ 'attachmentName': 'sint inname',
|
|
|
+ 'createBy': null,
|
|
|
+ 'createUser': null,
|
|
|
+ 'createOrgName': 'testbg1',
|
|
|
+ 'createOrgCode': null,
|
|
|
+ 'updateBy': null,
|
|
|
+ 'updateUser': null,
|
|
|
+ 'createTime': null,
|
|
|
+ 'updateTime': null,
|
|
|
+ 'delFlag': null,
|
|
|
+ 'version': null,
|
|
|
+ 'memberId': '120222197001010002',
|
|
|
+ 'scopeType': 2,
|
|
|
+ 'scopeId': '120000450200',
|
|
|
+ 'targetId': 16,
|
|
|
+ 'recordType': null,
|
|
|
+ 'clientId': null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'id': 13,
|
|
|
+ 'messageType': 1,
|
|
|
+ 'messageLevel': null,
|
|
|
+ 'title': 'title5',
|
|
|
+ 'content': 'nisi aliquip dolor ut nostrud',
|
|
|
+ 'attachmentPath': 'sint in',
|
|
|
+ 'attachmentName': 'sint inname',
|
|
|
+ 'createBy': null,
|
|
|
+ 'createUser': null,
|
|
|
+ 'createOrgName': 'testbg1',
|
|
|
+ 'createOrgCode': null,
|
|
|
+ 'updateBy': null,
|
|
|
+ 'updateUser': null,
|
|
|
+ 'createTime': null,
|
|
|
+ 'updateTime': null,
|
|
|
+ 'delFlag': null,
|
|
|
+ 'version': null,
|
|
|
+ 'memberId': '120222197001010002',
|
|
|
+ 'scopeType': 2,
|
|
|
+ 'scopeId': '120000450200',
|
|
|
+ 'targetId': 13,
|
|
|
+ 'recordType': null,
|
|
|
+ 'clientId': null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'id': 12,
|
|
|
+ 'messageType': 1,
|
|
|
+ 'messageLevel': null,
|
|
|
+ 'title': 'title6',
|
|
|
+ 'content': 'nisi aliquip dolor ut nostrud',
|
|
|
+ 'attachmentPath': 'sint in',
|
|
|
+ 'attachmentName': 'sint inname',
|
|
|
+ 'createBy': null,
|
|
|
+ 'createUser': null,
|
|
|
+ 'createOrgName': 'testbg1',
|
|
|
+ 'createOrgCode': null,
|
|
|
+ 'updateBy': null,
|
|
|
+ 'updateUser': null,
|
|
|
+ 'createTime': null,
|
|
|
+ 'updateTime': null,
|
|
|
+ 'delFlag': null,
|
|
|
+ 'version': null,
|
|
|
+ 'memberId': '120222197001010002',
|
|
|
+ 'scopeType': 2,
|
|
|
+ 'scopeId': '120000450200',
|
|
|
+ 'targetId': 12,
|
|
|
+ 'recordType': null,
|
|
|
+ 'clientId': null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'id': 11,
|
|
|
+ 'messageType': 1,
|
|
|
+ 'messageLevel': null,
|
|
|
+ 'title': 'title7',
|
|
|
+ 'content': 'nisi aliquip dolor ut nostrud',
|
|
|
+ 'attachmentPath': 'sint in',
|
|
|
+ 'attachmentName': 'sint inname',
|
|
|
+ 'createBy': null,
|
|
|
+ 'createUser': null,
|
|
|
+ 'createOrgName': 'testbg1',
|
|
|
+ 'createOrgCode': null,
|
|
|
+ 'updateBy': null,
|
|
|
+ 'updateUser': null,
|
|
|
+ 'createTime': null,
|
|
|
+ 'updateTime': null,
|
|
|
+ 'delFlag': null,
|
|
|
+ 'version': null,
|
|
|
+ 'memberId': '120222197001010002',
|
|
|
+ 'scopeType': 2,
|
|
|
+ 'scopeId': '120000450200',
|
|
|
+ 'targetId': 11,
|
|
|
+ 'recordType': null,
|
|
|
+ 'clientId': null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'id': 6,
|
|
|
+ 'messageType': 1,
|
|
|
+ 'messageLevel': null,
|
|
|
+ 'title': 'title8',
|
|
|
+ 'content': 'nisi aliquip dolor ut nostrud',
|
|
|
+ 'attachmentPath': 'sint in',
|
|
|
+ 'attachmentName': 'sint inname',
|
|
|
+ 'createBy': null,
|
|
|
+ 'createUser': null,
|
|
|
+ 'createOrgName': 'testbg1',
|
|
|
+ 'createOrgCode': null,
|
|
|
+ 'updateBy': null,
|
|
|
+ 'updateUser': null,
|
|
|
+ 'createTime': null,
|
|
|
+ 'updateTime': null,
|
|
|
+ 'delFlag': null,
|
|
|
+ 'version': null,
|
|
|
+ 'memberId': '120222197001010002',
|
|
|
+ 'scopeType': 2,
|
|
|
+ 'scopeId': '120000450200',
|
|
|
+ 'targetId': 6,
|
|
|
+ 'recordType': null,
|
|
|
+ 'clientId': null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'id': 5,
|
|
|
+ 'messageType': 3,
|
|
|
+ 'messageLevel': null,
|
|
|
+ 'title': 'title9',
|
|
|
+ 'content': 'nisi aliquip dolor ut nostrud',
|
|
|
+ 'attachmentPath': 'sint in',
|
|
|
+ 'attachmentName': 'sint inname',
|
|
|
+ 'createBy': null,
|
|
|
+ 'createUser': null,
|
|
|
+ 'createOrgName': 'testbg1',
|
|
|
+ 'createOrgCode': null,
|
|
|
+ 'updateBy': null,
|
|
|
+ 'updateUser': null,
|
|
|
+ 'createTime': null,
|
|
|
+ 'updateTime': null,
|
|
|
+ 'delFlag': null,
|
|
|
+ 'version': null,
|
|
|
+ 'memberId': '120222197001010002',
|
|
|
+ 'scopeType': 2,
|
|
|
+ 'scopeId': '120000450200',
|
|
|
+ 'targetId': 5,
|
|
|
+ 'recordType': null,
|
|
|
+ 'clientId': null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'id': 4,
|
|
|
+ 'messageType': 1,
|
|
|
+ 'messageLevel': null,
|
|
|
+ 'title': 'title10',
|
|
|
+ 'content': 'nisi aliquip dolor ut nostrud',
|
|
|
+ 'attachmentPath': 'sint in',
|
|
|
+ 'attachmentName': 'sint inname',
|
|
|
+ 'createBy': null,
|
|
|
+ 'createUser': null,
|
|
|
+ 'createOrgName': 'testbg1',
|
|
|
+ 'createOrgCode': null,
|
|
|
+ 'updateBy': null,
|
|
|
+ 'updateUser': null,
|
|
|
+ 'createTime': null,
|
|
|
+ 'updateTime': null,
|
|
|
+ 'delFlag': null,
|
|
|
+ 'version': null,
|
|
|
+ 'memberId': '120222197001010002',
|
|
|
+ 'scopeType': 2,
|
|
|
+ 'scopeId': '120000450200',
|
|
|
+ 'targetId': 4,
|
|
|
+ 'recordType': null,
|
|
|
+ 'clientId': null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'id': 3,
|
|
|
+ 'messageType': 2,
|
|
|
+ 'messageLevel': null,
|
|
|
+ 'title': 'title11',
|
|
|
+ 'content': 'nisi aliquip dolor ut nostrud',
|
|
|
+ 'attachmentPath': 'sint in',
|
|
|
+ 'attachmentName': null,
|
|
|
+ 'createBy': null,
|
|
|
+ 'createUser': null,
|
|
|
+ 'createOrgName': 'testbg1',
|
|
|
+ 'createOrgCode': null,
|
|
|
+ 'updateBy': null,
|
|
|
+ 'updateUser': null,
|
|
|
+ 'createTime': null,
|
|
|
+ 'updateTime': null,
|
|
|
+ 'delFlag': null,
|
|
|
+ 'version': null,
|
|
|
+ 'memberId': '120222197001010002',
|
|
|
+ 'scopeType': 2,
|
|
|
+ 'scopeId': '120000450200',
|
|
|
+ 'targetId': 3,
|
|
|
+ 'recordType': null,
|
|
|
+ 'clientId': null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'id': 2,
|
|
|
+ 'messageType': 1,
|
|
|
+ 'messageLevel': null,
|
|
|
+ 'title': 'title12',
|
|
|
+ 'content': 'nisi aliquip dolor ut nostrud',
|
|
|
+ 'attachmentPath': 'sint in',
|
|
|
+ 'attachmentName': null,
|
|
|
+ 'createBy': null,
|
|
|
+ 'createUser': null,
|
|
|
+ 'createOrgName': 'testbg1',
|
|
|
+ 'createOrgCode': null,
|
|
|
+ 'updateBy': null,
|
|
|
+ 'updateUser': null,
|
|
|
+ 'createTime': null,
|
|
|
+ 'updateTime': null,
|
|
|
+ 'delFlag': null,
|
|
|
+ 'version': null,
|
|
|
+ 'memberId': '120222197001010002',
|
|
|
+ 'scopeType': 2,
|
|
|
+ 'scopeId': '120000450200',
|
|
|
+ 'targetId': 2,
|
|
|
+ 'recordType': null,
|
|
|
+ 'clientId': null
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ 'total': 12,
|
|
|
+ 'size': 20,
|
|
|
+ 'current': 1,
|
|
|
+ 'orders': [],
|
|
|
+ 'optimizeCountSql': true,
|
|
|
+ 'searchCount': true,
|
|
|
+ 'countId': null,
|
|
|
+ 'maxLimit': null,
|
|
|
+ 'pages': 1
|
|
|
}
|
|
|
}
|
|
|
}
|