Commit 101470dd by zhanghaozhe

登录注册

parent 12945135
...@@ -83,8 +83,8 @@ ...@@ -83,8 +83,8 @@
"detail.js": "/mrstatic/js/detail.9976501c.chunk.js", "detail.js": "/mrstatic/js/detail.9976501c.chunk.js",
"detail.js.map": "/mrstatic/js/detail.9976501c.chunk.js.map", "detail.js.map": "/mrstatic/js/detail.9976501c.chunk.js.map",
"main.css": "/mrstatic/css/main.7d7bb21c.chunk.css", "main.css": "/mrstatic/css/main.7d7bb21c.chunk.css",
"main.js": "/mrstatic/js/main.08cfb108.chunk.js", "main.js": "/mrstatic/js/main.b318f11a.chunk.js",
"main.js.map": "/mrstatic/js/main.08cfb108.chunk.js.map", "main.js.map": "/mrstatic/js/main.b318f11a.chunk.js.map",
"myorders.css": "/mrstatic/css/myorders.3c41b358.chunk.css", "myorders.css": "/mrstatic/css/myorders.3c41b358.chunk.css",
"myorders.js": "/mrstatic/js/myorders.58381c0c.chunk.js", "myorders.js": "/mrstatic/js/myorders.58381c0c.chunk.js",
"myorders.js.map": "/mrstatic/js/myorders.58381c0c.chunk.js.map", "myorders.js.map": "/mrstatic/js/myorders.58381c0c.chunk.js.map",
...@@ -244,6 +244,6 @@ ...@@ -244,6 +244,6 @@
"mrstatic/media/iconfont.css": "/mrstatic/media/iconfont.f2f4294d.woff", "mrstatic/media/iconfont.css": "/mrstatic/media/iconfont.f2f4294d.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.8cba0ec418a6a3c051d2907602c96930.js": "/precache-manifest.8cba0ec418a6a3c051d2907602c96930.js", "precache-manifest.dbcb97706788663cc3daee9281c23eb4.js": "/precache-manifest.dbcb97706788663cc3daee9281c23eb4.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.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -216,12 +216,12 @@ self.__precacheManifest = [ ...@@ -216,12 +216,12 @@ self.__precacheManifest = [
"url": "/mrstatic/js/detail.9976501c.chunk.js" "url": "/mrstatic/js/detail.9976501c.chunk.js"
}, },
{ {
"revision": "458a84bc6d89e8c7b4e3", "revision": "202b1c3d7fcfed91d2c3",
"url": "/mrstatic/css/main.7d7bb21c.chunk.css" "url": "/mrstatic/css/main.7d7bb21c.chunk.css"
}, },
{ {
"revision": "458a84bc6d89e8c7b4e3", "revision": "202b1c3d7fcfed91d2c3",
"url": "/mrstatic/js/main.08cfb108.chunk.js" "url": "/mrstatic/js/main.b318f11a.chunk.js"
}, },
{ {
"revision": "6de3b7af9b6aeef2635d", "revision": "6de3b7af9b6aeef2635d",
...@@ -500,35 +500,35 @@ self.__precacheManifest = [ ...@@ -500,35 +500,35 @@ self.__precacheManifest = [
"url": "/mrstatic/media/kanjia_cg_icon.81a489ac.png" "url": "/mrstatic/media/kanjia_cg_icon.81a489ac.png"
}, },
{ {
"revision": "d76ebce726bdf3459fa14e96d84c5b9a",
"url": "/mrstatic/media/formal-banner.d76ebce7.png"
},
{
"revision": "9ab091267ae7c83bd30d0f5ad018a8c9", "revision": "9ab091267ae7c83bd30d0f5ad018a8c9",
"url": "/mrstatic/media/dalibao_bj.9ab09126.png" "url": "/mrstatic/media/dalibao_bj.9ab09126.png"
}, },
{ {
"revision": "d76ebce726bdf3459fa14e96d84c5b9a",
"url": "/mrstatic/media/formal-banner.d76ebce7.png"
},
{
"revision": "80011994e30adf599e5f47fcc81bc06d", "revision": "80011994e30adf599e5f47fcc81bc06d",
"url": "/mrstatic/media/progress-share-bg.80011994.png" "url": "/mrstatic/media/progress-share-bg.80011994.png"
}, },
{ {
"revision": "c79abf5cb7ae8a82009cf68fe44d1078", "revision": "8edaf2ff2566ed17e2dd22cf4f8ad7ae",
"url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png" "url": "/mrstatic/media/redb_chai_bj@2x.8edaf2ff.png"
}, },
{ {
"revision": "79139f6aad350256e151f9f73c226348", "revision": "79139f6aad350256e151f9f73c226348",
"url": "/mrstatic/media/hb_bj.79139f6a.png" "url": "/mrstatic/media/hb_bj.79139f6a.png"
}, },
{ {
"revision": "8edaf2ff2566ed17e2dd22cf4f8ad7ae", "revision": "c79abf5cb7ae8a82009cf68fe44d1078",
"url": "/mrstatic/media/redb_chai_bj@2x.8edaf2ff.png" "url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png"
}, },
{ {
"revision": "6902434f8f18a23319d57d0ac8aaea8c", "revision": "6902434f8f18a23319d57d0ac8aaea8c",
"url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png" "url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png"
}, },
{ {
"revision": "3cb1156ef74252f6d2501cfd9b1e4128", "revision": "399874b60415b78e855ae44a8ba82aa6",
"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.8cba0ec418a6a3c051d2907602c96930.js" "/precache-manifest.dbcb97706788663cc3daee9281c23eb4.js"
); );
workbox.clientsClaim(); workbox.clientsClaim();
......
...@@ -186,9 +186,9 @@ class App extends Component { ...@@ -186,9 +186,9 @@ class App extends Component {
http.get(`${API["passport-api"]}/m/wx_loginInfo/code/${code}?redirect=${encodeURIComponent(window.location.href)}`) http.get(`${API["passport-api"]}/m/wx_loginInfo/code/${code}?redirect=${encodeURIComponent(window.location.href)}`)
.then(res => { .then(res => {
let data = res.data let data = res.data
console.log(data)
if (data.errno == 200) { if (data.errno == 200) {
if (data.data['is_bind_mobile']) { if (data.data['is_bind_mobile']) {
console.log(data.data.url)
window.location.assign(data.data.url) window.location.assign(data.data.url)
} else { } else {
let user = this.transformWxUser(res) let user = this.transformWxUser(res)
......
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