12345678910111213141516171819202122232425 |
- import http from '../utils/http'
- const AddressApi = {
- async GetPaged(input: any) {
- return http.get('/api/services/wxapp/WxAddress/GetPaged', input) as Promise<
- IRestResult<ListResultDto<any>>
- >
- },
- async GetById(input: any) {
- return http.get('/api/services/wxapp/WxAddress/GetById', input) as Promise<IRestResult<any>>
- },
- async GetForEdit(input: any) {
- return http.get('/api/services/wxapp/WxAddress/GetForEdit', input) as Promise<IRestResult<any>>
- },
- async CreateOrUpdate(input: any) {
- return http.post('/api/services/wxapp/WxAddress/CreateOrUpdate', input) as Promise<
- IRestResult<any>
- >
- },
- async Delete(input: any) {
- return http.delete('/api/services/wxapp/WxAddress/Delete', input) as Promise<IRestResult<any>>
- },
- }
- export default AddressApi
|