Files
QCN_rider/.svn/pristine/ac/ac1a104a610cf87eabf48d3a66160870b924fc09.svn-base
2026-02-12 12:19:20 +08:00

37 lines
1022 B
Plaintext

import { Service } from '@/Service/Service';
/*****登录接口*****/
class CNRiderLoginService {
private static RiderLoginPath : string = '/Login/RiderLogin';
/*****登录注册*****/
static RiderLogin(login : any) {
var result = Service.Request(this.RiderLoginPath, "POST", login);
return result;
}
private static GetKefuInfoPath : string = '/Home/GetKefuInfo';
/*****获取客服电话*****/
static GetKefuInfo() {
var result = Service.Request(this.GetKefuInfoPath, "GET", {});
return result;
}
private static GetPrivacyPath : string = '/Home/GetPrivacy';
/*****用户协议*****/
static GetPrivacy(type : number) {
var result = Service.Request(this.GetPrivacyPath, "GET", { type });
return result;
}
private static SendUserSmsPath : string = '/Login/SendUserSms';
/*****发送验证码*****/
static SendUserSms(phone : string, code : string) {
var result = Service.Request(this.SendUserSmsPath, "POST", { phone, code });
return result;
}
}
export {
Service,
CNRiderLoginService
}