first commit

This commit is contained in:
Ls
2026-02-12 12:19:20 +08:00
commit 219fd9be5c
529 changed files with 169918 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
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
}