第一次上传

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

View File

@@ -0,0 +1,33 @@
import { Service } from '@/Service/Service';
/*****地址信息*****/
class vpAddressService {
private static GetUserAddressListPath : string = '/Address/GetUserAddressList';
/*****获取用户地址列表*****/
static GetUserAddressList() {
var result = Service.Request(this.GetUserAddressListPath, 'GET', {});
return result;
}
private static GetUserAddressInfoPath : string = '/Address/GetUserAddressInfo';
/*****获取用户地址详情*****/
static GetUserAddressInfo(addressId:string) {
var result = Service.Request(this.GetUserAddressInfoPath, 'GET', {addressId});
return result;
}
private static UpdateAddressPath : string = '/Address/UpdateAddress';
/*****修改/添加用户收货地址*****/
static UpdateAddress(data:any) {
var result = Service.Request(this.UpdateAddressPath, 'POST', data);
return result;
}
private static DelUserAddressPath : string = '/Address/DelUserAddress';
/*****删除用户收货地址*****/
static DelUserAddress(addressId:string) {
var result = Service.Request(this.DelUserAddressPath, 'POST', {addressId});
return result;
}
}
export { Service, vpAddressService };