修改复制商户接口

This commit is contained in:
zjf committed 2025-05-06 22:29:39 +08:00
1 parent 2fd32b34fc
commit c1425d3467
1 file changed
+2 -2
@@ -61,7 +61,7 @@
<script setup lang="ts">
import { ref, reactive } from 'vue'
import type { FormInstance } from 'element-plus'
import { pageJoin } from "/@/api/wallet/mch-manage"
import { select } from "/@/api/wallet/mch-manage"
import { useMessage } from "/@/hooks/message"
import { copyMenu } from "/@/api/canteen/canteenDailyMenu"
@@ -87,7 +87,7 @@ const emit = defineEmits(['success'])
// 获取商户列表
const getMerchantList = async () => {
try {
const res = await pageJoin({ current: 1, size: 9999, types: 1 })
const res = await select({ current: 1, size: 9999, types: 1 })
merchantList.value = res.data.records
} catch (error) {
console.error('获取商户列表失败:', error)