添加虚拟号码

This commit is contained in:
wangxiaowei
2026-04-23 18:48:56 +08:00
parent fadf49c047
commit 8e7c1ab6f6
3 changed files with 43 additions and 5 deletions

View File

@ -502,6 +502,7 @@
import { getTeaTypeList } from '@/api/tea'
import { getTeaSpecialistFeeDetails, createTeaSpecialistRenewOrder } from '@/api/tea-specialist'
import type { ITeaTypeListResult } from '@/api/types/tea'
import { callVirtualNumber } from '@/api/user'
const OSS = inject('OSS')
const toast = useToast()
@ -815,9 +816,11 @@
/**
* 拨打电话
*/
handleCall: () => {
handleCall: async () => {
const res = await callVirtualNumber(order.value.order_sn)
console.log("🚀 ~ res:", res)
uni.makePhoneCall({
phoneNumber: order.value.team_mobile
phoneNumber: res.mobile
})
}
}