// post请求 export const weixinLogin = (params, config = {}) => uni.$u.http.post('/ai-auth/wechat/login', params, config) // get请求,注意:get请求的配置等,都在第二个参数中 export const getUserInfo = (data) => uni.$u.http.get('/system/user/getInfo', data)