update wechat token

This commit is contained in:
weichengwu 2025-11-20 10:46:18 +08:00
parent 89255a09ce
commit 47e824a0eb
2 changed files with 4 additions and 4 deletions

View File

@ -132,7 +132,7 @@ const number = ref("00000");
const num = ref("00000"); const num = ref("00000");
const fontSize = ref(0); const fontSize = ref(0);
const rollingTextRef = ref(null); const rollingTextRef = ref(null);
const currentUrl = ref(encodeURIComponent(window.location.href.split("#")[0])); const currentUrl = ref(window.location.href.split("#")[0]);
const form = reactive({ const form = reactive({
receiveMobile: "", receiveMobile: "",
smsCode: "", smsCode: "",
@ -209,7 +209,7 @@ function getNumber() {
const initWechatConfig = async () => { const initWechatConfig = async () => {
try { try {
const response = await wechatConfig({ const response = await wechatConfig({
url: decodeURIComponent(currentUrl.value), url: currentUrl.value,
}); });
// const config = await response.json(); // const config = await response.json();
if (response.code == 200) { if (response.code == 200) {

View File

@ -128,7 +128,7 @@ const number = ref("00000");
const num = ref("00000"); const num = ref("00000");
const fontSize = ref(0); const fontSize = ref(0);
const rollingTextRef = ref(null); const rollingTextRef = ref(null);
const currentUrl = ref(encodeURIComponent(window.location.href.split("#")[0])); const currentUrl = ref(window.location.href.split("#")[0]);
const form = reactive({ const form = reactive({
receiveMobile: "", receiveMobile: "",
smsCode: "", smsCode: "",
@ -202,7 +202,7 @@ function getNumber() {
const initWechatConfig = async () => { const initWechatConfig = async () => {
try { try {
const response = await wechatConfig({ const response = await wechatConfig({
url: decodeURIComponent(currentUrl.value), url: currentUrl.value,
}); });
// const config = await response.json(); // const config = await response.json();
if (response.code == 200) { if (response.code == 200) {