You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
655 B
37 lines
655 B
5 years ago
|
import request from '../utils/requestClerk'
|
||
|
|
||
|
/**
|
||
|
* 我的消息-获取列表
|
||
|
* pageIndex 页码
|
||
|
* pageSize 页容量
|
||
|
* timestamp 第一页查询发起时的时间
|
||
|
*/
|
||
|
|
||
|
export function listByUserId({
|
||
|
pageIndex,
|
||
|
pageSize,
|
||
|
timestamp
|
||
|
}) {
|
||
|
return request({
|
||
|
method: 'GET',
|
||
|
url: 'workRecord/resource/information/listByUserId',
|
||
|
options: {
|
||
|
pageIndex,
|
||
|
pageSize,
|
||
|
timestamp
|
||
|
}
|
||
|
})
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* 我的消息-标记已读
|
||
|
* informationId 消息ID
|
||
|
*/
|
||
|
export function read({
|
||
|
informationId
|
||
|
}) {
|
||
|
return request({
|
||
|
method: 'POST',
|
||
|
url: `workRecord/resource/information/read?informationId=${informationId}`
|
||
|
})
|
||
|
}
|