Commit 92c56ee4 by 曾经

分享助力 查询接口 memberId是 shareMemberId

parent 37ea5d37
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="favicon.ico"><title>game-h5</title><link rel="stylesheet" href="//at.alicdn.com/t/font_2844902_uelk5f2sikk.css"><link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css"><link href="css/chunk-19f41208.93bdc1c9.css" rel="prefetch"><link href="css/chunk-2473cf22.1a7145ce.css" rel="prefetch"><link href="css/chunk-390246b3.da21bd50.css" rel="prefetch"><link href="css/chunk-3c0350fd.81bcd3ad.css" rel="prefetch"><link href="css/chunk-40252043.684f0548.css" rel="prefetch"><link href="css/chunk-4b1efb49.432dbb80.css" rel="prefetch"><link href="css/chunk-59271e63.125fb2d1.css" rel="prefetch"><link href="css/chunk-6554d650.9ad52647.css" rel="prefetch"><link href="css/chunk-71639305.f21c9ef5.css" rel="prefetch"><link href="css/chunk-7e1b04b6.0df3326a.css" rel="prefetch"><link href="css/chunk-8a06765c.0e7d2819.css" rel="prefetch"><link href="css/chunk-ebb1eb4e.a4b6e8cd.css" rel="prefetch"><link href="css/chunk-f4913818.0af74679.css" rel="prefetch"><link href="js/chunk-19f41208.9be226d5.js" rel="prefetch"><link href="js/chunk-2473cf22.e05fcfc8.js" rel="prefetch"><link href="js/chunk-3566c97c.576fe036.js" rel="prefetch"><link href="js/chunk-390246b3.049279e1.js" rel="prefetch"><link href="js/chunk-3c0350fd.5bc34cae.js" rel="prefetch"><link href="js/chunk-40252043.0f27978a.js" rel="prefetch"><link href="js/chunk-4aa552e1.7fa49fe3.js" rel="prefetch"><link href="js/chunk-4b1efb49.40ec7175.js" rel="prefetch"><link href="js/chunk-59271e63.9e325365.js" rel="prefetch"><link href="js/chunk-6554d650.fbe790ef.js" rel="prefetch"><link href="js/chunk-71639305.5f69f8be.js" rel="prefetch"><link href="js/chunk-72be1171.dce6850f.js" rel="prefetch"><link href="js/chunk-7e1b04b6.07af37bd.js" rel="prefetch"><link href="js/chunk-8a06765c.7e1b68c7.js" rel="prefetch"><link href="js/chunk-ebb1eb4e.4b3511e6.js" rel="prefetch"><link href="js/chunk-f4913818.89d26d68.js" rel="prefetch"><link href="js/app.ffb272d5.js" rel="preload" as="script"><link href="js/chunk-vendors.37f2d3ab.js" rel="preload" as="script"></head><body><noscript><strong>We're sorry but game-h5 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js"></script><script src="//web-1251519181.file.myqcloud.com/lib/axios/0.18.0/index.min.js"></script><script src="//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js"></script><script src="https://unpkg.com/element-ui/lib/index.js"></script><script src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script><script src="js/chunk-vendors.37f2d3ab.js"></script><script src="js/app.ffb272d5.js"></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="favicon.ico"><title>game-h5</title><link rel="stylesheet" href="//at.alicdn.com/t/font_2844902_uelk5f2sikk.css"><link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css"><link href="css/chunk-19f41208.93bdc1c9.css" rel="prefetch"><link href="css/chunk-2473cf22.1a7145ce.css" rel="prefetch"><link href="css/chunk-36269bc6.8ec43a85.css" rel="prefetch"><link href="css/chunk-390246b3.da21bd50.css" rel="prefetch"><link href="css/chunk-3c0350fd.81bcd3ad.css" rel="prefetch"><link href="css/chunk-3d2ea37b.b33bcbc8.css" rel="prefetch"><link href="css/chunk-4b1efb49.432dbb80.css" rel="prefetch"><link href="css/chunk-59271e63.125fb2d1.css" rel="prefetch"><link href="css/chunk-6554d650.9ad52647.css" rel="prefetch"><link href="css/chunk-71639305.f21c9ef5.css" rel="prefetch"><link href="css/chunk-8a06765c.0e7d2819.css" rel="prefetch"><link href="css/chunk-b7af6880.829c93bd.css" rel="prefetch"><link href="css/chunk-f4913818.0af74679.css" rel="prefetch"><link href="js/chunk-19f41208.9be226d5.js" rel="prefetch"><link href="js/chunk-2473cf22.e05fcfc8.js" rel="prefetch"><link href="js/chunk-3566c97c.576fe036.js" rel="prefetch"><link href="js/chunk-36269bc6.44593fc7.js" rel="prefetch"><link href="js/chunk-390246b3.049279e1.js" rel="prefetch"><link href="js/chunk-3c0350fd.5bc34cae.js" rel="prefetch"><link href="js/chunk-3d2ea37b.6f259c69.js" rel="prefetch"><link href="js/chunk-4aa552e1.7fa49fe3.js" rel="prefetch"><link href="js/chunk-4b1efb49.40ec7175.js" rel="prefetch"><link href="js/chunk-59271e63.9e325365.js" rel="prefetch"><link href="js/chunk-6554d650.fbe790ef.js" rel="prefetch"><link href="js/chunk-71639305.5f69f8be.js" rel="prefetch"><link href="js/chunk-72be1171.dce6850f.js" rel="prefetch"><link href="js/chunk-8a06765c.7e1b68c7.js" rel="prefetch"><link href="js/chunk-b7af6880.914056cd.js" rel="prefetch"><link href="js/chunk-f4913818.89d26d68.js" rel="prefetch"><link href="js/app.22d5959b.js" rel="preload" as="script"><link href="js/chunk-vendors.37f2d3ab.js" rel="preload" as="script"></head><body><noscript><strong>We're sorry but game-h5 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js"></script><script src="//web-1251519181.file.myqcloud.com/lib/axios/0.18.0/index.min.js"></script><script src="//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js"></script><script src="https://unpkg.com/element-ui/lib/index.js"></script><script src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script><script src="js/chunk-vendors.37f2d3ab.js"></script><script src="js/app.22d5959b.js"></script></body></html>
\ No newline at end of file
......@@ -110,11 +110,11 @@ export default {
gameReward: [],
showShareSelectDialog: false,
showShareImgDialog: false,
pyqOptions:{},
memberId:"",
enterpriseId: '',
gameId: '',
shareConditionObj:{},
pyqOptions: {},
memberId: "",
enterpriseId: "",
gameId: "",
shareConditionObj: {},
};
},
created() {
......@@ -196,13 +196,13 @@ export default {
},
shareWx() {
let options = this.shareConditionObj;
let query = this.$route.query;
getGameShareQrCodeUrl({
gameId: this.gameId,
enterpriseId: this.enterpriseId,
memberId: this.memberId,
gameId: query.gameId,
enterpriseId: query.enterpriseId,
memberId: query.shareMemberId,
shareType: 1,
}).then((result)=>{
}).then((result) => {
let linkId = result.linkId;
this.showShareSelectDialog = false;
......@@ -211,27 +211,26 @@ export default {
imageUrl: options.shareCard,
path: `/pages/page-transit/page-transit-qy?scene=${linkId}`,
});
}).catch((err)=>{
}).catch((err) => {
this.manager.showTips(err.message);
});
},
sharePyq() {
let options = this.shareConditionObj;
let query = this.$route.query;
getGameShareQrCodeUrl({
gameId: this.gameId,
enterpriseId: this.enterpriseId,
memberId: this.memberId,
gameId: query.gameId,
enterpriseId: query.enterpriseId,
memberId: query.shareMemberId,
shareType: options.type == 12 ? 2 : 1,
}).then((result)=>{
}).then((result) => {
this.pyqOptions = {
bgImage: options.shareReport,
qrcodeUrl: result.qrCodeUrl,
};
this.showShareSelectDialog = false;
this.showShareImgDialog = true;
}).catch((err)=>{
}).catch((err) => {
this.manager.showTips(err.message);
});
},
......@@ -240,17 +239,18 @@ export default {
this.showShareSelectDialog = true;
},
shareFwh() {
let query = this.$route.query;
getGameShareQrCodeUrl({
gameId: this.gameId,
enterpriseId: this.enterpriseId,
memberId: this.memberId,
gameId: query.gameId,
enterpriseId: query.enterpriseId,
memberId: query.shareMemberId,
shareType: 2,
}).then((result)=>{
}).then((result) => {
this.fwhQrcodeOptions = {
show: true,
qrcodeUrl: result.qrCodeUrl,
};
}).catch((err)=>{
}).catch((err) => {
this.manager.showTips(err.message);
});
},
......
......@@ -195,22 +195,43 @@ export default {
support(){
this.manager.support();
},
sharePyq() {
shareWx() {
let options = this.shareConditionObj;
let query = this.$route.query;
getGameShareQrCodeUrl({
gameId: query.gameId,
enterpriseId: query.enterpriseId,
memberId: query.shareMemberId,
shareType: 1,
}).then((result) => {
let linkId = result.linkId;
this.showShareSelectDialog = false;
this.manager.shareWx({
title: options.shareTitle,
imageUrl: options.shareCard,
path: `/pages/page-transit/page-transit-qy?scene=${linkId}`,
});
}).catch((err) => {
this.manager.showTips(err.message);
});
},
sharePyq() {
let options = this.shareConditionObj;
let query = this.$route.query;
getGameShareQrCodeUrl({
gameId: this.gameId,
enterpriseId: this.enterpriseId,
memberId: this.memberId,
gameId: query.gameId,
enterpriseId: query.enterpriseId,
memberId: query.shareMemberId,
shareType: options.type == 12 ? 2 : 1,
}).then((result)=>{
}).then((result) => {
this.pyqOptions = {
bgImage: options.shareReport,
qrcodeUrl: result.qrCodeUrl,
};
this.showShareSelectDialog = false;
this.showShareImgDialog = true;
}).catch((err)=>{
}).catch((err) => {
this.manager.showTips(err.message);
});
},
......@@ -219,17 +240,18 @@ export default {
this.showShareSelectDialog = true;
},
shareFwh() {
let query = this.$route.query;
getGameShareQrCodeUrl({
gameId: this.gameId,
enterpriseId: this.enterpriseId,
memberId: this.memberId,
gameId: query.gameId,
enterpriseId: query.enterpriseId,
memberId: query.shareMemberId,
shareType: 2,
}).then((result)=>{
}).then((result) => {
this.fwhQrcodeOptions = {
show: true,
qrcodeUrl: result.qrCodeUrl,
};
}).catch((err)=>{
}).catch((err) => {
this.manager.showTips(err.message);
});
},
......
......@@ -195,22 +195,43 @@ export default {
support(){
this.manager.support();
},
sharePyq() {
shareWx() {
let options = this.shareConditionObj;
let query = this.$route.query;
getGameShareQrCodeUrl({
gameId: query.gameId,
enterpriseId: query.enterpriseId,
memberId: query.shareMemberId,
shareType: 1,
}).then((result) => {
let linkId = result.linkId;
this.showShareSelectDialog = false;
this.manager.shareWx({
title: options.shareTitle,
imageUrl: options.shareCard,
path: `/pages/page-transit/page-transit-qy?scene=${linkId}`,
});
}).catch((err) => {
this.manager.showTips(err.message);
});
},
sharePyq() {
let options = this.shareConditionObj;
let query = this.$route.query;
getGameShareQrCodeUrl({
gameId: this.gameId,
enterpriseId: this.enterpriseId,
memberId: this.memberId,
gameId: query.gameId,
enterpriseId: query.enterpriseId,
memberId: query.shareMemberId,
shareType: options.type == 12 ? 2 : 1,
}).then((result)=>{
}).then((result) => {
this.pyqOptions = {
bgImage: options.shareReport,
qrcodeUrl: result.qrCodeUrl,
};
this.showShareSelectDialog = false;
this.showShareImgDialog = true;
}).catch((err)=>{
}).catch((err) => {
this.manager.showTips(err.message);
});
},
......@@ -219,17 +240,18 @@ export default {
this.showShareSelectDialog = true;
},
shareFwh() {
let query = this.$route.query;
getGameShareQrCodeUrl({
gameId: this.gameId,
enterpriseId: this.enterpriseId,
memberId: this.memberId,
gameId: query.gameId,
enterpriseId: query.enterpriseId,
memberId: query.shareMemberId,
shareType: 2,
}).then((result)=>{
}).then((result) => {
this.fwhQrcodeOptions = {
show: true,
qrcodeUrl: result.qrCodeUrl,
};
}).catch((err)=>{
}).catch((err) => {
this.manager.showTips(err.message);
});
},
......
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