Commit 0de703ae by xuzhenghua

安卓

parents 01c2a067 9f5035c9
...@@ -56,8 +56,8 @@ ...@@ -56,8 +56,8 @@
"aist-share.js": "/mrstatic/js/aist-share.1aac9dd7.chunk.js", "aist-share.js": "/mrstatic/js/aist-share.1aac9dd7.chunk.js",
"aist-share.js.map": "/mrstatic/js/aist-share.1aac9dd7.chunk.js.map", "aist-share.js.map": "/mrstatic/js/aist-share.1aac9dd7.chunk.js.map",
"blessing-preheat.css": "/mrstatic/css/blessing-preheat.d6114e36.chunk.css", "blessing-preheat.css": "/mrstatic/css/blessing-preheat.d6114e36.chunk.css",
"blessing-preheat.js": "/mrstatic/js/blessing-preheat.5b1a782c.chunk.js", "blessing-preheat.js": "/mrstatic/js/blessing-preheat.4dc381f1.chunk.js",
"blessing-preheat.js.map": "/mrstatic/js/blessing-preheat.5b1a782c.chunk.js.map", "blessing-preheat.js.map": "/mrstatic/js/blessing-preheat.4dc381f1.chunk.js.map",
"blessing-rank.css": "/mrstatic/css/blessing-rank.edf00bf8.chunk.css", "blessing-rank.css": "/mrstatic/css/blessing-rank.edf00bf8.chunk.css",
"blessing-rank.js": "/mrstatic/js/blessing-rank.0dd86d2f.chunk.js", "blessing-rank.js": "/mrstatic/js/blessing-rank.0dd86d2f.chunk.js",
"blessing-rank.js.map": "/mrstatic/js/blessing-rank.0dd86d2f.chunk.js.map", "blessing-rank.js.map": "/mrstatic/js/blessing-rank.0dd86d2f.chunk.js.map",
...@@ -85,8 +85,8 @@ ...@@ -85,8 +85,8 @@
"purchased.css": "/mrstatic/css/purchased.bb758677.chunk.css", "purchased.css": "/mrstatic/css/purchased.bb758677.chunk.css",
"purchased.js": "/mrstatic/js/purchased.d4a92690.chunk.js", "purchased.js": "/mrstatic/js/purchased.d4a92690.chunk.js",
"purchased.js.map": "/mrstatic/js/purchased.d4a92690.chunk.js.map", "purchased.js.map": "/mrstatic/js/purchased.d4a92690.chunk.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.6b412ca6.js", "runtime~main.js": "/mrstatic/js/runtime~main.f6e93a1f.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.6b412ca6.js.map", "runtime~main.js.map": "/mrstatic/js/runtime~main.f6e93a1f.js.map",
"search.css": "/mrstatic/css/search.5716d9b3.chunk.css", "search.css": "/mrstatic/css/search.5716d9b3.chunk.css",
"search.js": "/mrstatic/js/search.34ce5f12.chunk.js", "search.js": "/mrstatic/js/search.34ce5f12.chunk.js",
"search.js.map": "/mrstatic/js/search.34ce5f12.chunk.js.map", "search.js.map": "/mrstatic/js/search.34ce5f12.chunk.js.map",
...@@ -166,6 +166,6 @@ ...@@ -166,6 +166,6 @@
"mrstatic/media/iconfont.css": "/mrstatic/media/iconfont.e0655d4d.woff", "mrstatic/media/iconfont.css": "/mrstatic/media/iconfont.e0655d4d.woff",
"mrstatic/media/kanjia_cg_icon.png": "/mrstatic/media/kanjia_cg_icon.81a489ac.png", "mrstatic/media/kanjia_cg_icon.png": "/mrstatic/media/kanjia_cg_icon.81a489ac.png",
"mrstatic/media/video.scss": "/mrstatic/media/progress-share-bg.80011994.png", "mrstatic/media/video.scss": "/mrstatic/media/progress-share-bg.80011994.png",
"precache-manifest.b889d445d22a8d2c93fbc4c6318c1a2c.js": "/precache-manifest.b889d445d22a8d2c93fbc4c6318c1a2c.js", "precache-manifest.91a60d61b9710084adf0779b3d0b6e1b.js": "/precache-manifest.91a60d61b9710084adf0779b3d0b6e1b.js",
"service-worker.js": "/service-worker.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.
...@@ -16,16 +16,16 @@ self.__precacheManifest = [ ...@@ -16,16 +16,16 @@ self.__precacheManifest = [
"url": "/mrstatic/js/2.94d294dd.chunk.js" "url": "/mrstatic/js/2.94d294dd.chunk.js"
}, },
{ {
"revision": "6902434f8f18a23319d57d0ac8aaea8c", "revision": "c79abf5cb7ae8a82009cf68fe44d1078",
"url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png" "url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png"
}, },
{ {
"revision": "ef8f3feba2a67acd8a1a", "revision": "ef8f3feba2a67acd8a1a",
"url": "/mrstatic/js/Activity.f7cd4a8e.chunk.js" "url": "/mrstatic/js/Activity.f7cd4a8e.chunk.js"
}, },
{ {
"revision": "c79abf5cb7ae8a82009cf68fe44d1078", "revision": "6902434f8f18a23319d57d0ac8aaea8c",
"url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png" "url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png"
}, },
{ {
"revision": "6c43bfb6e8e8b3f2788e", "revision": "6c43bfb6e8e8b3f2788e",
...@@ -148,8 +148,8 @@ self.__precacheManifest = [ ...@@ -148,8 +148,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/38.70e9bd98.chunk.js" "url": "/mrstatic/js/38.70e9bd98.chunk.js"
}, },
{ {
"revision": "01a8af32113fe5fc0971", "revision": "99a724fb8ce998723d09",
"url": "/mrstatic/js/blessing-preheat.5b1a782c.chunk.js" "url": "/mrstatic/js/blessing-preheat.4dc381f1.chunk.js"
}, },
{ {
"revision": "71d97cf00cf6d7c0538e", "revision": "71d97cf00cf6d7c0538e",
...@@ -208,8 +208,8 @@ self.__precacheManifest = [ ...@@ -208,8 +208,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/myorders.1c01ec2c.chunk.js" "url": "/mrstatic/js/myorders.1c01ec2c.chunk.js"
}, },
{ {
"revision": "e5b5b22d818a3335622c", "revision": "db7a6ab30c57664f7371",
"url": "/mrstatic/js/runtime~main.6b412ca6.js" "url": "/mrstatic/js/runtime~main.f6e93a1f.js"
}, },
{ {
"revision": "52917a3a43143beb8b70", "revision": "52917a3a43143beb8b70",
...@@ -288,7 +288,7 @@ self.__precacheManifest = [ ...@@ -288,7 +288,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/38.bff100af.chunk.css" "url": "/mrstatic/css/38.bff100af.chunk.css"
}, },
{ {
"revision": "01a8af32113fe5fc0971", "revision": "99a724fb8ce998723d09",
"url": "/mrstatic/css/blessing-preheat.d6114e36.chunk.css" "url": "/mrstatic/css/blessing-preheat.d6114e36.chunk.css"
}, },
{ {
...@@ -372,7 +372,7 @@ self.__precacheManifest = [ ...@@ -372,7 +372,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/2.bf839917.chunk.css" "url": "/mrstatic/css/2.bf839917.chunk.css"
}, },
{ {
"revision": "86ac413d73abbbae48e187fb5cf35065", "revision": "7e3868c1878bac7a706562f3d6e092ec",
"url": "/index.html" "url": "/index.html"
} }
]; ];
\ No newline at end of file
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js"); importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts( importScripts(
"/precache-manifest.b889d445d22a8d2c93fbc4c6318c1a2c.js" "/precache-manifest.91a60d61b9710084adf0779b3d0b6e1b.js"
); );
workbox.clientsClaim(); workbox.clientsClaim();
......
...@@ -106,13 +106,14 @@ class BlessingPreheat extends Component { ...@@ -106,13 +106,14 @@ class BlessingPreheat extends Component {
window['getNewData'] = result => { window['getNewData'] = result => {
alert('getNewData') alert('getNewData')
alert(result)
http.post(`${API.home}/sys/add/blessing`, { http.post(`${API.home}/sys/add/blessing`, {
share_platform: '', // 1 朋友圈 2 微博 3 qq share_platform: '', // 1 朋友圈 2 微博 3 qq
course_id: result,
type: 4 // 1:签到;3:分享;4:浏览课程; type: 4 // 1:签到;3:分享;4:浏览课程;
}).then(res => { }).then(res => {
const {code} = res.data const {code} = res.data
alert(code) alert(code)
if (code === 200) { if (code === 200) {
Toast.info('+2点福气值~', 2, null, false) Toast.info('+2点福气值~', 2, null, false)
this.fetchUserBlessing() this.fetchUserBlessing()
...@@ -120,12 +121,13 @@ class BlessingPreheat extends Component { ...@@ -120,12 +121,13 @@ class BlessingPreheat extends Component {
}) })
} }
window['QQWXWBshare'] = result => { window['QQWXWBshare'] = result => {
// this.handleToAddBlessing(result) alert('QQWXWBshare')
http.post(`${API.home}/sys/add/blessing`, { http.post(`${API.home}/sys/add/blessing`, {
share_platform: result, // 1 朋友圈 2 微博 3 qq share_platform: result, // 1 朋友圈 2 微博 3 qq
type: 3 // 1:签到;3:分享;4:浏览课程; type: 3 // 1:签到;3:分享;4:浏览课程;
}).then(res => { }).then(res => {
const {code} = res.data const {code} = res.data
alert(code)
if (code === 200) { if (code === 200) {
Toast.info('+2点福气值~', 2, null, false) Toast.info('+2点福气值~', 2, null, false)
this.fetchUserBlessing() 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