mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-10 03:16:45 +08:00
2022年5月29日 从svn移到git
This commit is contained in:
59
api/modules/feedback.js
Normal file
59
api/modules/feedback.js
Normal file
@@ -0,0 +1,59 @@
|
||||
/**问题反馈*/
|
||||
import ajax from '@/utils/xajax.js'
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
* @param {
|
||||
* pageIndex 起始页
|
||||
* pageSize 每页条数
|
||||
* replyBy 回复人
|
||||
* isReply 是否回复 1是0否
|
||||
* sysCreateTimeStart 开始时间 yyyy-MM-dd
|
||||
* sysCreateTimeEnd 结束时间 yyyy-MM-dd
|
||||
* } query
|
||||
* @returns
|
||||
*/
|
||||
const list=function(query) {
|
||||
return ajax.post('/xboe/feedback/page',query);
|
||||
}
|
||||
|
||||
/**
|
||||
* 反馈详情
|
||||
* @param {反馈ID} id
|
||||
* @returns
|
||||
*/
|
||||
const detail=function(id) {
|
||||
return ajax.post('/xboe/feedback/get?id='+id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 保存
|
||||
* @param {
|
||||
* type 类型
|
||||
* content 内容
|
||||
* } data
|
||||
* @returns
|
||||
*/
|
||||
const save=function(data) {
|
||||
return ajax.post('/xboe/feedback/save',data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 回复
|
||||
* @param {
|
||||
* id 反馈ID
|
||||
* replyContent 回复内容
|
||||
* } data
|
||||
* @returns
|
||||
*/
|
||||
const reply=function(data) {
|
||||
return ajax.post('/xboe/feedback/reply',data);
|
||||
}
|
||||
|
||||
|
||||
export default{
|
||||
list,
|
||||
detail,
|
||||
save,
|
||||
reply
|
||||
}
|
||||
Reference in New Issue
Block a user