Browse Source

1.0.0:提交抖音appid

feature-1.0
chengkun 4 years ago
parent
commit
4266501228
  1. 4
      .hbuilderx/launch.json
  2. 6
      manifest.json
  3. 2
      pages/userInfo/userInfo.vue

4
.hbuilderx/launch.json

@ -6,6 +6,10 @@
{ {
"launchtype" : "local" "launchtype" : "local"
}, },
"mp-toutiao" :
{
"launchtype" : "local"
},
"mp-weixin" : "mp-weixin" :
{ {
"launchtype" : "local" "launchtype" : "local"

6
manifest.json

@ -54,5 +54,11 @@
"urlCheck" : false "urlCheck" : false
}, },
"usingComponents" : true "usingComponents" : true
},
"mp-toutiao" : {
"appid" : "ttc408b2b55b364f6601",
"setting" : {
"urlCheck" : false
}
} }
} }

2
pages/userInfo/userInfo.vue

@ -25,7 +25,7 @@
// showCancel: false // showCancel: false
// }); // });
uni.login({ uni.login({
provider: 'weixin', // provider: 'toutiao',
success: function (info) { success: function (info) {
console.log(info.code); console.log(info.code);
// //

Loading…
Cancel
Save