feat(miniprogram): add WeChat mini program plugin

This commit is contained in:
wolfkill
2026-04-27 16:08:22 +08:00
committed by lyingbug
parent d55b52652c
commit d06111e5f7
27 changed files with 705 additions and 6 deletions
+12
View File
@@ -0,0 +1,12 @@
App({
onLaunch() {
const settings = wx.getStorageSync("weknora_settings");
if (!settings) {
wx.setStorageSync("weknora_settings", {
baseUrl: "http://localhost:8080",
apiKey: "",
selectedKnowledgeBaseId: ""
});
}
}
});