You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
396 B
JavaScript
19 lines
396 B
JavaScript
import {
|
|
useHttp
|
|
} from '@/tools/http';
|
|
const {
|
|
isLoading,
|
|
sendRequest
|
|
} = useHttp();
|
|
//let Url='https://mbmg.yuluo.online/Laravel/public'
|
|
let Url='http://huisuo-local';
|
|
let BaseUrl=Url+'/api/'
|
|
|
|
export const BaseFileUrl=()=>{
|
|
return Url;
|
|
}
|
|
//登录授权
|
|
export const Login = (data) => {
|
|
return sendRequest({url: BaseUrl+"mp/wxGetOpenid",method: 'POST',data:data});
|
|
}
|
|
|