第一次上传
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
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';
|
||||
/*****获取openid*****/
|
||||
static WxLogin(code: string,type:number,lon:number,lat:number) {
|
||||
var result = Service.Request(this.WxLoginPath, 'GET', {code,type,lon,lat});
|
||||
return result;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
export { vpLoginService }
|
||||
Reference in New Issue
Block a user