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.
yanzong_qianduan/api/feedback/index.js

23 lines
461 B

11 months ago
import request from '@/utils/request'
// api地址
const api = {
list: 'user/getFeedBack',
shopList: 'store/getStore',
add:'user/addFeedback'
}
// 我的反馈列表
export const list = (param, option) => {
return request.get(api.list, param, option)
}
// 获取可用商户
export const shopList = (param, option) => {
return request.get(api.shopList, param, option)
}
// 提交反馈
export const add=(data)=> {
return request.post(api.add, data)
}