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.
 
 
 

21 lines
513 B

// 创建 User 模块方法,方法内的方法共享 vm 对象
let User = (vm)=>{
return {
getSearch:(params = {}) => {
return vm.$u.get('api/yanglaojujiaApp/admin/roomSum', params)
},
indexImg:(params = {}) => {
return vm.$u.get('api/index', params)
},
mycontent:(params = {}) => {
return vm.$u.post('api/webach/mycontent', params)
},
stafflist:(params = {}) => {
return vm.$u.post('hrapi/staff/archiveslist', params)
}
}
}
// 抛出当前模块
export default User