external_notify.ts 325 B

12345678910111213
  1. import type { ModelBase } from '@/api/curd'
  2. import { useCurdApi } from '@uozi-admin/request'
  3. export interface ExternalNotify extends ModelBase {
  4. type: string
  5. config: Record<string, string>
  6. }
  7. const baseUrl = '/external_notifies'
  8. const externalNotify = useCurdApi<ExternalNotify>(baseUrl)
  9. export default externalNotify