18 lines
404 B
TypeScript
18 lines
404 B
TypeScript
// Base service for postal code operations
|
|
import * as base from './_crud-base'
|
|
|
|
const path = '/api/v1/postal-code'
|
|
const name = 'postal-code'
|
|
|
|
export function create(data: any) {
|
|
return base.create(path, data, name)
|
|
}
|
|
|
|
export function getList(params: any = null) {
|
|
return base.getList(path, params, name)
|
|
}
|
|
|
|
export function getDetail(id: number | string) {
|
|
return base.getDetail(path, id, name)
|
|
}
|