From 42665012284cf0abb4a794951747f8cf6e6beec7 Mon Sep 17 00:00:00 2001 From: chengkun <2500338766@qq.com> Date: Thu, 28 Apr 2022 18:27:51 +0800 Subject: [PATCH] =?UTF-8?q?1.0.0=EF=BC=9A=E6=8F=90=E4=BA=A4=E6=8A=96?= =?UTF-8?q?=E9=9F=B3appid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .hbuilderx/launch.json | 4 ++++ manifest.json | 6 ++++++ pages/userInfo/userInfo.vue | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json index 81f13f4..aafc1c9 100644 --- a/.hbuilderx/launch.json +++ b/.hbuilderx/launch.json @@ -6,6 +6,10 @@ { "launchtype" : "local" }, + "mp-toutiao" : + { + "launchtype" : "local" + }, "mp-weixin" : { "launchtype" : "local" diff --git a/manifest.json b/manifest.json index d40be0c..9cdd7b0 100644 --- a/manifest.json +++ b/manifest.json @@ -54,5 +54,11 @@ "urlCheck" : false }, "usingComponents" : true + }, + "mp-toutiao" : { + "appid" : "ttc408b2b55b364f6601", + "setting" : { + "urlCheck" : false + } } } diff --git a/pages/userInfo/userInfo.vue b/pages/userInfo/userInfo.vue index d8eaea3..8e14d9f 100644 --- a/pages/userInfo/userInfo.vue +++ b/pages/userInfo/userInfo.vue @@ -25,7 +25,7 @@ // showCancel: false // }); uni.login({ - provider: 'weixin', + // provider: 'toutiao', success: function (info) { console.log(info.code); // 获取用户信息