Commit e32da909 by zhanghaozhe

pre

parent ae8903ba
...@@ -43,8 +43,8 @@ ...@@ -43,8 +43,8 @@
"detail.js": "/static/js/detail.80854228.chunk.js", "detail.js": "/static/js/detail.80854228.chunk.js",
"detail.js.map": "/static/js/detail.80854228.chunk.js.map", "detail.js.map": "/static/js/detail.80854228.chunk.js.map",
"main.css": "/static/css/main.1fa4914d.chunk.css", "main.css": "/static/css/main.1fa4914d.chunk.css",
"main.js": "/static/js/main.5754f28f.chunk.js", "main.js": "/static/js/main.4b5baac3.chunk.js",
"main.js.map": "/static/js/main.5754f28f.chunk.js.map", "main.js.map": "/static/js/main.4b5baac3.chunk.js.map",
"myorders.css": "/static/css/myorders.5434bc7e.chunk.css", "myorders.css": "/static/css/myorders.5434bc7e.chunk.css",
"myorders.js": "/static/js/myorders.260fcdd9.chunk.js", "myorders.js": "/static/js/myorders.260fcdd9.chunk.js",
"myorders.js.map": "/static/js/myorders.260fcdd9.chunk.js.map", "myorders.js.map": "/static/js/myorders.260fcdd9.chunk.js.map",
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
"static/js/31.39103831.chunk.js": "/static/js/31.39103831.chunk.js", "static/js/31.39103831.chunk.js": "/static/js/31.39103831.chunk.js",
"static/js/31.39103831.chunk.js.map": "/static/js/31.39103831.chunk.js.map", "static/js/31.39103831.chunk.js.map": "/static/js/31.39103831.chunk.js.map",
"index.html": "/index.html", "index.html": "/index.html",
"precache-manifest.d7d53244b0f048d457e163891eaebefb.js": "/precache-manifest.d7d53244b0f048d457e163891eaebefb.js", "precache-manifest.81e415d66ba4f0b08867fab46c61e772.js": "/precache-manifest.81e415d66ba4f0b08867fab46c61e772.js",
"service-worker.js": "/service-worker.js", "service-worker.js": "/service-worker.js",
"static/css/24.257b0329.chunk.css.map": "/static/css/24.257b0329.chunk.css.map", "static/css/24.257b0329.chunk.css.map": "/static/css/24.257b0329.chunk.css.map",
"static/css/26.1b3a6258.chunk.css.map": "/static/css/26.1b3a6258.chunk.css.map", "static/css/26.1b3a6258.chunk.css.map": "/static/css/26.1b3a6258.chunk.css.map",
......
...@@ -112,12 +112,12 @@ self.__precacheManifest = [ ...@@ -112,12 +112,12 @@ self.__precacheManifest = [
"url": "/static/js/detail.80854228.chunk.js" "url": "/static/js/detail.80854228.chunk.js"
}, },
{ {
"revision": "b930ec337cd3226fe825", "revision": "9bb7b69869a3e88b7c5e",
"url": "/static/css/main.1fa4914d.chunk.css" "url": "/static/css/main.1fa4914d.chunk.css"
}, },
{ {
"revision": "b930ec337cd3226fe825", "revision": "9bb7b69869a3e88b7c5e",
"url": "/static/js/main.5754f28f.chunk.js" "url": "/static/js/main.4b5baac3.chunk.js"
}, },
{ {
"revision": "26b53577bb0fb2636026", "revision": "26b53577bb0fb2636026",
...@@ -260,7 +260,7 @@ self.__precacheManifest = [ ...@@ -260,7 +260,7 @@ self.__precacheManifest = [
"url": "/static/css/24.257b0329.chunk.css" "url": "/static/css/24.257b0329.chunk.css"
}, },
{ {
"revision": "e97cd01e8e60b8166d7b4f33779801ab", "revision": "95ace17b0c284b08c784b3e1634eb3c9",
"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.d7d53244b0f048d457e163891eaebefb.js" "/precache-manifest.81e415d66ba4f0b08867fab46c61e772.js"
); );
workbox.clientsClaim(); workbox.clientsClaim();
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -35,8 +35,6 @@ class App extends Component { ...@@ -35,8 +35,6 @@ class App extends Component {
}) })
//微信 //微信
let code = getParam('code') let code = getParam('code')
...@@ -53,9 +51,9 @@ class App extends Component { ...@@ -53,9 +51,9 @@ class App extends Component {
let user = this.transformWxUser(res) let user = this.transformWxUser(res)
let {role, uid, token} = data.data let {role, uid, token} = data.data
let expires = {expires: addDays(new Date(), 90)} let expires = {expires: addDays(new Date(), 90)}
cookie.set('role', role, expires,{domain: '.julyedu.com', path: '/'}) cookie.set('role', role, {expires, domain: '.julyedu.com', path: '/'})
cookie.set('uid', uid, expires,{domain: '.julyedu.com', path: '/'}) cookie.set('uid', uid, {expires, domain: '.julyedu.com', path: '/'})
cookie.set('token', token, expires,{domain: '.julyedu.com', path: '/'}) cookie.set('token', token, {expires, domain: '.julyedu.com', path: '/'})
this.props.setCurrentUser(user) this.props.setCurrentUser(user)
} }
} else { } else {
......
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