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 { VbenFormSchema } from '#/adapter/form';
import type { OnActionClickFn, VxeTableGridOptions } from '#/adapter/vxe-table'; 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 { z } from '#/adapter/form';
import { CommonStatusEnum } from '#/utils/constants'; import { CommonStatusEnum } from '#/utils/constants';

View File

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

View File

@ -1,5 +1,5 @@
<script lang="ts" setup> <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'; import { computed, ref } from 'vue';
@ -12,7 +12,7 @@ import {
createSmsChannel, createSmsChannel,
getSmsChannel, getSmsChannel,
updateSmsChannel, updateSmsChannel,
} from '#/api/system/sms/smsChannel'; } from '#/api/system/sms/channel';
import { $t } from '#/locales'; import { $t } from '#/locales';
import { useFormSchema } from '../data'; 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 { VbenFormSchema } from '#/adapter/form';
import type { OnActionClickFn, VxeTableGridOptions } from '#/adapter/vxe-table'; 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'; import { DICT_TYPE, getDictOptions } from '#/utils/dict';
/** 列表的搜索表单 */ /** 列表的搜索表单 */

View File

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

View File

@ -1,5 +1,5 @@
<script lang="ts" setup> <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'; import { computed, ref } from 'vue';

View File

@ -1,9 +1,9 @@
import type { VbenFormSchema } from '#/adapter/form'; import type { VbenFormSchema } from '#/adapter/form';
import type { OnActionClickFn, VxeTableGridOptions } from '#/adapter/vxe-table'; 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 { z } from '#/adapter/form';
import { getSimpleSmsChannelList } from '#/api/system/sms/smsChannel'; import { getSimpleSmsChannelList } from '#/api/system/sms/channel';
import { CommonStatusEnum } from '#/utils/constants'; import { CommonStatusEnum } from '#/utils/constants';
import { DICT_TYPE, getDictOptions } from '#/utils/dict'; import { DICT_TYPE, getDictOptions } from '#/utils/dict';

View File

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

View File

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

View File

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