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.
30 lines
709 B
30 lines
709 B
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);
|
|
}
|
|
|
|
|