第一次上传

This commit is contained in:
Ls
2026-03-09 16:39:03 +08:00
commit 3d9efaf15c
924 changed files with 326227 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@@ -0,0 +1,125 @@
import { Service } from '@/Service/Service';
/*****用户*****/
class vpUserService {
private static GetUserInfoPath : string = '/User/GetUserInfo';
/*****获取用户信息*****/
static GetUserInfo() {
var result = Service.Request(this.GetUserInfoPath, 'GET', {});
return result;
}
private static GetUserAccInfoPath : string = '/User/GetUserAccInfo';
/*****获取用户账户信息*****/
static GetUserAccInfo(page : number ,code:string) {
var result = Service.Request(this.GetUserAccInfoPath, 'GET', { page , code });
return result;
}
private static UpdateUserPath : string = '/User/UpdateUser';
/*****修改用户信息*****/
static UpdateUser(headImg:string,nick:string,sex:string,phone:string) {
var result = Service.Request(this.UpdateUserPath, 'POST', { headImg,nick,sex,phone });
return result;
}
private static PayMerchPath : string = '/Order/PayMerch';
/*****支付*****/
static PayMerch(merchId:string,amount:number,payway:string,openId:string,udId:string) {
var result = Service.Request(this.PayMerchPath, 'POST', { merchId,amount,payway,openId,udId });
return result;
}
private static GetShareEwmPath : string = '/User/GetShareEwm';
/*****获取用户二维码*****/
static GetShareEwm() {
var result = Service.Request(this.GetShareEwmPath, 'GET', { });
return result;
}
private static GetAddressInfoPath : string = '/User/GetAddressInfo';
/*****根据经纬度获取地址*****/
static GetAddressInfo(lon:number,lat:number) {
var result = Service.Request(this.GetAddressInfoPath, 'GET', {lon ,lat});
return result;
}
private static CollectMerchPath : string = '/User/CollectMerch';
/*****用户收藏*****/
static CollectMerch(merchId:string) {
var result = Service.Request(this.CollectMerchPath, 'POST', {merchId});
return result;
}
private static GetUserCollectListPath : string = '/User/GetUserCollectList';
/*****用户收藏列表*****/
static GetUserCollectList(lon:Number,lat:Number,page:number) {
var result = Service.Request(this.GetUserCollectListPath, 'GET', {lon,lat,page});
return result;
}
private static GetUseRemListPath : string = '/User/GetUseRemList';
/*****用户推广列表*****/
static GetUseRemList(page:number) {
var result = Service.Request(this.GetUseRemListPath, 'GET', {page});
return result;
}
private static ExchangeCardPath : string = '/Card/ExchangeCard';
/*****绑定联盟卡*****/
static ExchangeCard(logId:string,pwd:string) {
var result = Service.Request(this.ExchangeCardPath, 'POST', {logId,pwd});
return result;
}
private static GetUserCodePath : string = '/User/GetUserCode';
/*****获取会员码*****/
static GetUserCode() {
var result = Service.Request(this.GetUserCodePath, 'GET', {});
return result;
}
private static GetNumberPhonePath : string = '/Login/GetNumberPhone';
/*****获取wx手机号*****/
static GetNumberPhone(code:string) {
var result = Service.Request(this.GetNumberPhonePath, 'GET', {code});
return result;
}
private static GetZfbPhoneNumberPath : string = '/Login/GetZfbPhoneNumber';
/*****获取zfb手机号*****/
static GetZfbPhoneNumber(content:string) {
var result = Service.Request(this.GetZfbPhoneNumberPath, 'POST', {content});
return result;
}
private static UpdateUserPhonePath : string = '/User/UpdateUserPhone';
/*****绑定用户手机号*****/
static UpdateUserPhone(phone:string) {
var result = Service.Request(this.UpdateUserPhonePath, 'POST', {phone});
return result;
}
private static WxWithPath : string = '/With/WxWith';
/*****提现*****/
static WxWith(openId:string,amount:number,userName:string) {
var result = Service.Request(this.WxWithPath, 'POST', {openId,amount,userName});
return result;
}
private static UpdateWithPath : string = '/With/UpdateWith';
/*****修改提现状态*****/
static UpdateWith(withId:string) {
var result = Service.Request(this.UpdateWithPath, 'POST', {withId});
return result;
}
}
export { Service, vpUserService };