Files
vpUni/.svn/pristine/75/75000f08f93c26fbe5057f3c6f3dd571b2362224.svn-base
2026-03-09 16:39:03 +08:00

24 lines
627 B
Plaintext

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 }