import http from '@/nxTemp/config/requestConfig' import config from "@/nxTemp/config/index.config.js"; // 用户登录 export function postLogin(data) { return http.post(`${config.baseUrl}/gaMatchAssistant/login`, data ,{ needLogin:false }); } //发送验证码 export function postSendSMS(data) { return http.post(`${config.baseUrl}/gaMatchAssistant/captchaSms/send`, data); } /** * @description: 小程序授权手机号码 * @param code: loginRes.code, appid: this.APPID, encryptedData: e.detail.encryptedData, iv: e.detail.iv, * @return: {*} * @author: */ export function wechatGetPhoneNumber(data) { return http.post(`${config.baseUrl}/user/wechatGetPhoneNumber`, data); }