hsy пре 2 дана
родитељ
комит
0a921b8ac8
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/views/promotion/goods.vue

+ 2 - 2
src/views/promotion/goods.vue

@@ -160,7 +160,7 @@ const wxConfig = async () => {
   });
 };
 const appId = ref(localStorage.getItem("appId"));
-const openId = ref("ozZpI7OTqj9cNlHfzAxcJ9MH41V8");
+const openId = ref("");
 const getWeChatAuth = async () => {
   const { appId, errMsg, paymentSettingId } = await preCheck();
   if (errMsg) {
@@ -200,7 +200,7 @@ const init = async () => {
   if (!code || !paymentSettingId) {
     return getWeChatAuth();
   }
-  // getOpenId()
+  getOpenId()
   wxConfig();
 };
 onMounted(() => init());