Commit 2c4b7360 by xuzhenghua

test

parents eb8e31bb bd02fab8
......@@ -56,8 +56,8 @@
"aist-share.js": "/mrstatic/js/aist-share.1aac9dd7.chunk.js",
"aist-share.js.map": "/mrstatic/js/aist-share.1aac9dd7.chunk.js.map",
"blessing-preheat.css": "/mrstatic/css/blessing-preheat.d6114e36.chunk.css",
"blessing-preheat.js": "/mrstatic/js/blessing-preheat.49999d0a.chunk.js",
"blessing-preheat.js.map": "/mrstatic/js/blessing-preheat.49999d0a.chunk.js.map",
"blessing-preheat.js": "/mrstatic/js/blessing-preheat.30df1ee4.chunk.js",
"blessing-preheat.js.map": "/mrstatic/js/blessing-preheat.30df1ee4.chunk.js.map",
"blessing-rank.css": "/mrstatic/css/blessing-rank.edf00bf8.chunk.css",
"blessing-rank.js": "/mrstatic/js/blessing-rank.0dd86d2f.chunk.js",
"blessing-rank.js.map": "/mrstatic/js/blessing-rank.0dd86d2f.chunk.js.map",
......@@ -85,8 +85,8 @@
"purchased.css": "/mrstatic/css/purchased.bb758677.chunk.css",
"purchased.js": "/mrstatic/js/purchased.d4a92690.chunk.js",
"purchased.js.map": "/mrstatic/js/purchased.d4a92690.chunk.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.4e4426ee.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.4e4426ee.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.1fac0296.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.1fac0296.js.map",
"search.css": "/mrstatic/css/search.5716d9b3.chunk.css",
"search.js": "/mrstatic/js/search.34ce5f12.chunk.js",
"search.js.map": "/mrstatic/js/search.34ce5f12.chunk.js.map",
......@@ -166,6 +166,6 @@
"mrstatic/media/iconfont.css": "/mrstatic/media/iconfont.e0655d4d.woff",
"mrstatic/media/kanjia_cg_icon.png": "/mrstatic/media/kanjia_cg_icon.81a489ac.png",
"mrstatic/media/video.scss": "/mrstatic/media/progress-share-bg.80011994.png",
"precache-manifest.9fe11ea1a20f25469bc62136dca92879.js": "/precache-manifest.9fe11ea1a20f25469bc62136dca92879.js",
"precache-manifest.1baff4d502c934d69cb80a82ec77f377.js": "/precache-manifest.1baff4d502c934d69cb80a82ec77f377.js",
"service-worker.js": "/service-worker.js"
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -148,8 +148,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/38.70e9bd98.chunk.js"
},
{
"revision": "31cbbf6dd50427b84535",
"url": "/mrstatic/js/blessing-preheat.49999d0a.chunk.js"
"revision": "a7d9a5524ece9c2fee77",
"url": "/mrstatic/js/blessing-preheat.30df1ee4.chunk.js"
},
{
"revision": "71d97cf00cf6d7c0538e",
......@@ -208,8 +208,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/myorders.1c01ec2c.chunk.js"
},
{
"revision": "c0f6db807a0b84585916",
"url": "/mrstatic/js/runtime~main.4e4426ee.js"
"revision": "53bc6f057d89df1ab861",
"url": "/mrstatic/js/runtime~main.1fac0296.js"
},
{
"revision": "52917a3a43143beb8b70",
......@@ -288,7 +288,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/38.bff100af.chunk.css"
},
{
"revision": "31cbbf6dd50427b84535",
"revision": "a7d9a5524ece9c2fee77",
"url": "/mrstatic/css/blessing-preheat.d6114e36.chunk.css"
},
{
......@@ -372,7 +372,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/2.bf839917.chunk.css"
},
{
"revision": "7f671c8b9e897b7d4e296f01745fdee0",
"revision": "2e27fe0772ef71c9557439f49f2fd591",
"url": "/index.html"
}
];
\ No newline at end of file
......@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts(
"/precache-manifest.9fe11ea1a20f25469bc62136dca92879.js"
"/precache-manifest.1baff4d502c934d69cb80a82ec77f377.js"
);
workbox.clientsClaim();
......
......@@ -105,24 +105,17 @@ class BlessingPreheat extends Component {
}
window['getNewData'] = result => {
http.post(`${API.home}/sys/add/blessing`, {
share_platform: '', // 1 朋友圈 2 微博 3 qq
course_id: result,
type: 4 // 1:签到;3:分享;4:浏览课程;
}).then(res => {
const {code} = res.data
if (code === 200) {
Toast.info('+2点福气值~', 2, null, false)
alert('getNewData')
this.fetchUserBlessing()
}
})
}
window['QQWXWBshare'] = result => {
alert('QQWXWBshare')
http.post(`${API.home}/sys/add/blessing`, {
share_platform: result, // 1 朋友圈 2 微博 3 qq
type: 3 // 1:签到;3:分享;4:浏览课程;
}).then(res => {
const {code} = res.data
alert(code)
if (code === 200) {
Toast.info('+2点福气值~', 2, null, false)
this.fetchUserBlessing()
......
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