From 1a45822a58742becb15239e78890459d0de207ae Mon Sep 17 00:00:00 2001 From: yuzhiran Date: Mon, 22 Jun 2026 14:23:27 +0800 Subject: [PATCH] fix(mp): handle mini-program launch params and pre-create share code for user page App.vue: add handleLaunchParams() to read token/shareCode from onLaunch/onShow query in MP-WEIXIN context. user.vue: pre-create share record on page load, use dynamic path with shareCode in onShareAppMessage. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- zhiyin-app/src/App.vue | 25 +++++++++++++++++++++++-- zhiyin-app/src/pages/user/user.vue | 29 ++++++++++++++++++++++++++++- 2 files changed, 51 insertions(+), 3 deletions(-) diff --git a/zhiyin-app/src/App.vue b/zhiyin-app/src/App.vue index 64a1b9e..22be801 100644 --- a/zhiyin-app/src/App.vue +++ b/zhiyin-app/src/App.vue @@ -1,15 +1,24 @@