import { Service } from '@/Service/Service'; class vpLoginService { private static GetOpenIdByWeixinPath: string = '/Login/GetOpenIdByWeixin'; /*****获取openid*****/ static GetOpenIdByWeixin(code: string,type:number) { var result = Service.Request(this.GetOpenIdByWeixinPath, 'GET', {code,type}); return result; } private static WxLoginPath: string = '/Login/WxLogin'; /*****微信登录*****/ static WxLogin(code: string,type:number,lon:number,lat:number,remNo:string) { var result = Service.Request(this.WxLoginPath, 'GET', {code,type,lon,lat,remNo}); return result; } } export { vpLoginService }