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.
 
 
 

15 lines
248 B

// 创建 User 模块方法,方法内的方法共享 vm 对象
let Goods = (vm)=>{
return {
// 所有订单
getAllGoods:(params = {}) => {
return vm.$u.get('api/goods', params)
},
}
}
// 抛出当前模块
export default Goods