Files
CompanyProject/金壶/appV1/utils/models/index.js
2024-09-27 01:32:49 +08:00

33 lines
465 B
JavaScript

import {http_use,http_post} from '../http.js'
import api from '../api'
class X_index {
async x_index() {
let res = await http_post(api.x_index, {
})
return res
}
async x_article(id){
let res = await http_post(api.x_article,{
})
return res
}
async x_activity(id,limit,page,loading = true){
let res = await http_post(api.x_activity,{
id,
limit,
page
},loading)
return res
}
}
export default new X_index