import { confirmBreachContract } from '@/utils/network/api.js' // 注销确认 export const logOffConfirm = (params) => { let option = { data: params, method: "POST", showLoading: false, } uni.showLoading({ title: '注销中...' }) requestNew(confirmBreachContract, option).then(res => { uni.hideLoading() uni.showToast({ title: '注销成功' }) setTimeout(() => { uni.switchTab({ url: '/pages/service/service' }) }, 1000) }).catch(() => { uni.hideLoading() }) }