Commit 73548c04 authored by haitao's avatar haitao

fd

parent fa1643be
......@@ -22,7 +22,9 @@
"modules" : {
"Maps" : {},
"Push" : {},
"Webview-x5" : {}
"Webview-x5" : {},
"Share" : {},
"OAuth" : {}
},
/* 应用发布信息 */
"distribute" : {
......@@ -87,7 +89,19 @@
"push" : {
"unipush" : {}
},
"share" : {}
"share" : {
"weixin" : {
"appid" : "wx36c7f886d0d8a306",
"UniversalLinks" : "https://luma.jxdsy.cn/ulink/2/"
}
},
"oauth" : {
"weixin" : {
"appid" : "wx36c7f886d0d8a306",
"appsecret" : "baba0be829dfe62f4de25cb98516297d",
"UniversalLinks" : "https://luma.jxdsy.cn/ulink/2/"
}
}
},
"icons" : {
"android" : {
......@@ -185,7 +199,7 @@
"mp-weixin" : {
"appid" : "",
"setting" : {
"urlCheck" : false
"urlCheck" : true
},
"usingComponents" : true,
"uniStatistics" : {
......
......@@ -123,6 +123,13 @@
},
shareToFriend(type){
uni.getProvider({
service: 'oauth',
success: function (res) {
console.log(res.provider)
}
});
let wxType='';
if(type==3){//收藏
wxType='WXSceneFavorite';
......@@ -275,6 +282,12 @@
<style>
.bgf{
background: #fff;
}
.lh90{
line-height: 90upx;
}
.posf{
position: fixed;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment