From 2f3221b7c90d5663fdb312653a2d188bc4628370 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期一, 09 二月 2026 10:19:21 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
mini-program/App.vue | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/mini-program/App.vue b/mini-program/App.vue
index 4ca0850..751f532 100644
--- a/mini-program/App.vue
+++ b/mini-program/App.vue
@@ -4,12 +4,13 @@
var that = this
let href = window.location.href;
if (this.$dd.env.platform !== 'notInDingTalk') {
- console.log(href)
+ console.log('閽夐拤鎺堟潈鐧诲綍')
let corpId = href.substring(href.lastIndexOf('?corpid=') + 8, href.lastIndexOf('#'))
- console.log(corpId)
+ // dingy7xdyzffnegiaszo 姝e紡
+ // dingulzemj5bynjciapg 娴嬭瘯
this.$dd.requestAuthCode({
corpId: corpId,
- clientId: 'dingulzemj5bynjciapg',
+ clientId: 'dingy7xdyzffnegiaszo',
onSuccess: function(result) {
that.$u.api.ddLogin({
code: result.code,
@@ -23,6 +24,7 @@
}
});
} else if (href.indexOf('?token') !== -1) {
+ console.log('token鍏嶇櫥')
let token = href.substring(href.lastIndexOf('?token=') + 7, href.lastIndexOf('#'))
that.$store.commit('setToken', token)
that.$isResolve()
--
Gitblit v1.9.3