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); // 获取用户信息