Commit 48195480 by xuzhenghua

test

parents 0de703ae 4021dc27
......@@ -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.4dc381f1.chunk.js",
"blessing-preheat.js.map": "/mrstatic/js/blessing-preheat.4dc381f1.chunk.js.map",
"blessing-preheat.js": "/mrstatic/js/blessing-preheat.49999d0a.chunk.js",
"blessing-preheat.js.map": "/mrstatic/js/blessing-preheat.49999d0a.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.f6e93a1f.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.f6e93a1f.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.4e4426ee.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.4e4426ee.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.91a60d61b9710084adf0779b3d0b6e1b.js": "/precache-manifest.91a60d61b9710084adf0779b3d0b6e1b.js",
"precache-manifest.dbbe9f64036e26628dbc4ee61ed7ad76.js": "/precache-manifest.dbbe9f64036e26628dbc4ee61ed7ad76.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.
......@@ -84,8 +84,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/MyEdit.94f33fa9.chunk.js"
},
{
"revision": "258b4b114d3d9be3018cd113b2470a13",
"url": "/mrstatic/media/iconfont.258b4b11.ttf"
"revision": "7aa984cefad739ea18edb76c541aa1fd",
"url": "/mrstatic/media/iconfont.7aa984ce.eot"
},
{
"revision": "a6d3160a3537f1db2e6c",
......@@ -96,8 +96,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/Orderinfo.75fbdb93.chunk.js"
},
{
"revision": "7aa984cefad739ea18edb76c541aa1fd",
"url": "/mrstatic/media/iconfont.7aa984ce.eot"
"revision": "258b4b114d3d9be3018cd113b2470a13",
"url": "/mrstatic/media/iconfont.258b4b11.ttf"
},
{
"revision": "d8ff407b74cf1d5edf99",
......@@ -148,8 +148,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/38.70e9bd98.chunk.js"
},
{
"revision": "99a724fb8ce998723d09",
"url": "/mrstatic/js/blessing-preheat.4dc381f1.chunk.js"
"revision": "31cbbf6dd50427b84535",
"url": "/mrstatic/js/blessing-preheat.49999d0a.chunk.js"
},
{
"revision": "71d97cf00cf6d7c0538e",
......@@ -208,8 +208,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/myorders.1c01ec2c.chunk.js"
},
{
"revision": "db7a6ab30c57664f7371",
"url": "/mrstatic/js/runtime~main.f6e93a1f.js"
"revision": "c0f6db807a0b84585916",
"url": "/mrstatic/js/runtime~main.4e4426ee.js"
},
{
"revision": "52917a3a43143beb8b70",
......@@ -288,7 +288,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/38.bff100af.chunk.css"
},
{
"revision": "99a724fb8ce998723d09",
"revision": "31cbbf6dd50427b84535",
"url": "/mrstatic/css/blessing-preheat.d6114e36.chunk.css"
},
{
......@@ -372,7 +372,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/2.bf839917.chunk.css"
},
{
"revision": "7e3868c1878bac7a706562f3d6e092ec",
"revision": "7f671c8b9e897b7d4e296f01745fdee0",
"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.91a60d61b9710084adf0779b3d0b6e1b.js"
"/precache-manifest.dbbe9f64036e26628dbc4ee61ed7ad76.js"
);
workbox.clientsClaim();
......
......@@ -105,15 +105,12 @@ class BlessingPreheat extends Component {
}
window['getNewData'] = result => {
alert('getNewData')
alert(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
alert(code)
if (code === 200) {
Toast.info('+2点福气值~', 2, null, false)
this.fetchUserBlessing()
......@@ -121,13 +118,11 @@ class BlessingPreheat extends Component {
})
}
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()
......@@ -243,8 +238,6 @@ class BlessingPreheat extends Component {
}
fetchUserBlessing = () => {
alert('fetchUserBlessing')
const {userInfo} = this.state
http.get(`${API.home}/sys/user/blessing`).then(res => {
const {code, data} = res.data
......
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