fix: 短信相关接口文件夹统一命名格式

pull/61/head
puhui999 2025-04-03 17:49:38 +08:00
parent d288cd6be2
commit bca7938c6f
12 changed files with 18 additions and 21 deletions

View File

@ -1,6 +1,6 @@
import type { VbenFormSchema } from '#/adapter/form';
import type { OnActionClickFn, VxeTableGridOptions } from '#/adapter/vxe-table';
import type { SystemSmsChannelApi } from '#/api/system/sms/smsChannel';
import type { SystemSmsChannelApi } from '#/api/system/sms/channel';
import { z } from '#/adapter/form';
import { CommonStatusEnum } from '#/utils/constants';

View File

@ -3,7 +3,7 @@ import type {
OnActionClickParams,
VxeTableGridOptions,
} from '#/adapter/vxe-table';
import type { SystemSmsChannelApi } from '#/api/system/sms/smsChannel';
import type { SystemSmsChannelApi } from '#/api/system/sms/channel';
import { Page, useVbenModal } from '@vben/common-ui';
import { Download, Plus } from '@vben/icons';
@ -15,7 +15,7 @@ import {
deleteSmsChannel,
exportSmsChannel,
getSmsChannelPage,
} from '#/api/system/sms/smsChannel';
} from '#/api/system/sms/channel';
import { $t } from '#/locales';
import { downloadByData } from '#/utils/download';

View File

@ -1,5 +1,5 @@
<script lang="ts" setup>
import type { SystemSmsChannelApi } from '#/api/system/sms/smsChannel';
import type { SystemSmsChannelApi } from '#/api/system/sms/channel';
import { computed, ref } from 'vue';
@ -12,7 +12,7 @@ import {
createSmsChannel,
getSmsChannel,
updateSmsChannel,
} from '#/api/system/sms/smsChannel';
} from '#/api/system/sms/channel';
import { $t } from '#/locales';
import { useFormSchema } from '../data';

View File

@ -1,10 +1,8 @@
import type { SystemSmsLogApi } from 'src/api/system/sms/log';
import type { VbenFormSchema } from '#/adapter/form';
import type { OnActionClickFn, VxeTableGridOptions } from '#/adapter/vxe-table';
import type { SystemSmsLogApi } from '#/api/system/sms/log';
import { getSimpleSmsChannelList } from 'src/api/system/sms/channel';
import { getSimpleSmsChannelList } from '#/api/system/sms/channel';
import { DICT_TYPE, getDictOptions } from '#/utils/dict';
/** 列表的搜索表单 */

View File

@ -1,18 +1,17 @@
<script lang="ts" setup>
import type { SystemSmsLogApi } from 'src/api/system/sms/log';
import type {
OnActionClickParams,
VxeTableGridOptions,
} from '#/adapter/vxe-table';
import type { SystemSmsLogApi } from '#/api/system/sms/log';
import { Page, useVbenModal } from '@vben/common-ui';
import { Download } from '@vben/icons';
import { Button } from 'ant-design-vue';
import { exportSmsLog, getSmsLogPage } from 'src/api/system/sms/log';
import { useVbenVxeGrid } from '#/adapter/vxe-table';
import { exportSmsLog, getSmsLogPage } from '#/api/system/sms/log';
import { $t } from '#/locales';
import { downloadByData } from '#/utils/download';

View File

@ -1,5 +1,5 @@
<script lang="ts" setup>
import type { SystemSmsLogApi } from 'src/api/system/sms/log';
import type { SystemSmsLogApi } from '#/api/system/sms/log';
import { computed, ref } from 'vue';

View File

@ -1,9 +1,9 @@
import type { VbenFormSchema } from '#/adapter/form';
import type { OnActionClickFn, VxeTableGridOptions } from '#/adapter/vxe-table';
import type { SystemSmsTemplateApi } from '#/api/system/sms/smsTemplate';
import type { SystemSmsTemplateApi } from '#/api/system/sms/template';
import { z } from '#/adapter/form';
import { getSimpleSmsChannelList } from '#/api/system/sms/smsChannel';
import { getSimpleSmsChannelList } from '#/api/system/sms/channel';
import { CommonStatusEnum } from '#/utils/constants';
import { DICT_TYPE, getDictOptions } from '#/utils/dict';

View File

@ -3,7 +3,7 @@ import type {
OnActionClickParams,
VxeTableGridOptions,
} from '#/adapter/vxe-table';
import type { SystemSmsTemplateApi } from '#/api/system/sms/smsTemplate';
import type { SystemSmsTemplateApi } from '#/api/system/sms/template';
import { Page, useVbenModal } from '@vben/common-ui';
import { Download, Plus } from '@vben/icons';
@ -15,7 +15,7 @@ import {
deleteSmsTemplate,
exportSmsTemplate,
getSmsTemplatePage,
} from '#/api/system/sms/smsTemplate';
} from '#/api/system/sms/template';
import { $t } from '#/locales';
import { downloadByData } from '#/utils/download';

View File

@ -1,5 +1,5 @@
<script lang="ts" setup>
import type { SystemSmsTemplateApi } from '#/api/system/sms/smsTemplate';
import type { SystemSmsTemplateApi } from '#/api/system/sms/template';
import { computed, ref } from 'vue';
@ -12,7 +12,7 @@ import {
createSmsTemplate,
getSmsTemplate,
updateSmsTemplate,
} from '#/api/system/sms/smsTemplate';
} from '#/api/system/sms/template';
import { $t } from '#/locales';
import { useFormSchema } from '../data';

View File

@ -1,5 +1,5 @@
<script lang="ts" setup>
import type { SystemSmsTemplateApi } from '#/api/system/sms/smsTemplate';
import type { SystemSmsTemplateApi } from '#/api/system/sms/template';
import { computed, ref } from 'vue';
@ -8,7 +8,7 @@ import { useVbenModal } from '@vben/common-ui';
import { message } from 'ant-design-vue';
import { useVbenForm } from '#/adapter/form';
import { sendSms } from '#/api/system/sms/smsTemplate';
import { sendSms } from '#/api/system/sms/template';
import { $t } from '#/locales';
import { useSendSmsFormSchema } from '../data';