// api.js页面 import request from '../util/request.js' //引入request.js const api = request const imgUrl = "http://47.109.21.59/" export default { imgUrl, beibuwanLogin: data => { return api.request('/api/login/gulf', 'POST', data) //接口地址 }, meituanLogin: data => { return api.request('/api/login', 'GET', data) //接口地址 }, payInfo: data => { return api.request('/api/order/payInfo', 'GET', data) //接口地址 }, payQuery: data => { return api.request('/api/pay/gulf/query', 'GET', data) //接口地址 }, pays: data => { return api.request('/api/pay/pays', 'POST', data) //接口地址 }, // logout:data=>{ // return api.request('/front/logout','GET') // }, // answerFinished: (data) => { // return api.request('/front/activity/answerFinished', 'PUT', data) //接口地址 // } }