2022年5月29日 从svn移到git

This commit is contained in:
daihh
2022-05-29 18:59:24 +08:00
parent 9580ff8c9b
commit faa7afb65f
897 changed files with 171836 additions and 0 deletions

33
api/modules/index.js Normal file
View File

@@ -0,0 +1,33 @@
/**首页的数据,也包括查询*/
import ajax from '@/utils/xajax.js'
/**
* 首页分页查询
* @param {Object} query
* {
pageIndex: 第几页
pageSize: 每页多少条
orderType:0表最新1表最热
}
*/
const findAll = function(query) {
return ajax.post('/xboe/mobile/index/list',query);
}
/**
* 首页分页查询
* @param {Object} query
* {
pageIndex: 第几页
pageSize: 每页多少条
orderType:0表最新1表最热
}
*/
const findByType = function(query) {
return ajax.post('/xboe/mobile/index/list-by-type',query);
}
export default {
findAll,
findByType
}