新增营销系统、分销系统、会员功能、门店、提现功能

This commit is contained in:
Shaw
2024-02-08 21:01:37 +08:00
parent 68b3f2dcc3
commit 17c043348a
1398 changed files with 81279 additions and 56269 deletions

22
hooks/usePay.js Normal file
View File

@ -0,0 +1,22 @@
import { ref, unref} from "vue";
import {useRouter} from "@/hooks/useRouter";
export function usePay() {
const payPopupRef = ref()
const { push } = useRouter()
function openPay(orderId) {
unref(payPopupRef).show(orderId)
}
function paySuccess() {
push({url: '/pages/payStatus/index?type=1'})
}
return {
payPopupRef,
openPay,
paySuccess
}
}