fix(mall): 调整 Banner API 到 promotion 目录

master
YunaiV 2026-06-23 04:39:42 -07:00
parent 2979bd99c1
commit b3f916639a
4 changed files with 3 additions and 2 deletions

View File

@ -380,6 +380,7 @@ const imagePreview = (imgUrl: string) => {
/** 搜索按钮操作 */
const handleQuery = () => {
getList()
getTabsCount() // tab
}
/** 重置按钮操作 */

View File

@ -69,7 +69,7 @@
</template>
<script lang="ts" setup>
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
import * as BannerApi from '@/api/mall/market/banner'
import * as BannerApi from '@/api/mall/promotion/banner'
const { t } = useI18n() //
const message = useMessage() //

View File

@ -128,7 +128,7 @@
<script lang="ts" setup>
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
import { dateFormatter } from '@/utils/formatTime'
import * as BannerApi from '@/api/mall/market/banner'
import * as BannerApi from '@/api/mall/promotion/banner'
import BannerForm from './BannerForm.vue'
import { createImageViewer } from '@/components/ImageViewer'