From 47047d626ea8fab28c04e6534fe6ffa3dc61de69 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期五, 26 十二月 2025 16:09:22 +0800
Subject: [PATCH] feat: init

---
 apps/cMiniApp/src/stores/modules/system.ts |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/apps/cMiniApp/src/stores/modules/system.ts b/apps/cMiniApp/src/stores/modules/system.ts
index 8fdd047..6e1d8e3 100644
--- a/apps/cMiniApp/src/stores/modules/system.ts
+++ b/apps/cMiniApp/src/stores/modules/system.ts
@@ -1,6 +1,7 @@
 import Taro from '@tarojs/taro';
 import { defineStore } from 'pinia';
 import { store } from '@/stores';
+import * as settingsServices from '@12333/services/apiV2/settings';
 
 export interface Options {
   path: string;
@@ -17,6 +18,7 @@
   redirectPath: string;
   isTabSwitch: boolean;
   isFirstEnter: boolean;
+  isWeappCheck: boolean;
 }
 
 export const useSystemStore = defineStore({
@@ -51,9 +53,18 @@
     menuButtonTop: 0,
 
     isFirstEnter: true,
+
+    isWeappCheck: true,
   }),
 
   actions: {
+    async getAppConfig() {
+      try {
+        let res = await settingsServices.getWxmpSettings({});
+        this.isWeappCheck = res.wxmpAuditInProcess;
+      } catch (error) {}
+    },
+
     init(options: Options) {
       this.options = options; // 鏀句竴涓嬮〉闈㈢浉鍏崇殑鏁版嵁渚嬪scene绛� 椤甸潰楂樺害涔嬬被鐨勪笉瀛橈紒
     },

--
Gitblit v1.10.0