1404/11/04- first
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import useAxios from '@core/utils/useAxios'
|
||||
import type { AddId, Customer } from '@/model/customer'
|
||||
import type { TableInput } from '@core/type/baseTable'
|
||||
import type { Card, cardSts } from '@/model/card'
|
||||
|
||||
export const changeAccountSts = async (obj: cardSts) =>
|
||||
await useAxios.post<boolean>(`/admin/account/sts`, obj)
|
||||
|
||||
export const getAccountTable = async (params: TableInput) =>
|
||||
await useAxios.post<Array<Card>>('/admin/account/table', params)
|
||||
Reference in New Issue
Block a user