Commit 12945135 by zhanghaozhe

登录注册

parent 69ab1797
......@@ -83,8 +83,8 @@
"detail.js": "/mrstatic/js/detail.9976501c.chunk.js",
"detail.js.map": "/mrstatic/js/detail.9976501c.chunk.js.map",
"main.css": "/mrstatic/css/main.7d7bb21c.chunk.css",
"main.js": "/mrstatic/js/main.5de0bdef.chunk.js",
"main.js.map": "/mrstatic/js/main.5de0bdef.chunk.js.map",
"main.js": "/mrstatic/js/main.08cfb108.chunk.js",
"main.js.map": "/mrstatic/js/main.08cfb108.chunk.js.map",
"myorders.css": "/mrstatic/css/myorders.3c41b358.chunk.css",
"myorders.js": "/mrstatic/js/myorders.58381c0c.chunk.js",
"myorders.js.map": "/mrstatic/js/myorders.58381c0c.chunk.js.map",
......@@ -244,6 +244,6 @@
"mrstatic/media/iconfont.css": "/mrstatic/media/iconfont.f2f4294d.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.7de4fee0b38c7519765cfeb24d61509a.js": "/precache-manifest.7de4fee0b38c7519765cfeb24d61509a.js",
"precache-manifest.8cba0ec418a6a3c051d2907602c96930.js": "/precache-manifest.8cba0ec418a6a3c051d2907602c96930.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 = [
"url": "/mrstatic/js/detail.9976501c.chunk.js"
},
{
"revision": "d813dbaefad82f5b0f27",
"revision": "458a84bc6d89e8c7b4e3",
"url": "/mrstatic/css/main.7d7bb21c.chunk.css"
},
{
"revision": "d813dbaefad82f5b0f27",
"url": "/mrstatic/js/main.5de0bdef.chunk.js"
"revision": "458a84bc6d89e8c7b4e3",
"url": "/mrstatic/js/main.08cfb108.chunk.js"
},
{
"revision": "6de3b7af9b6aeef2635d",
......@@ -484,14 +484,14 @@ self.__precacheManifest = [
"url": "/mrstatic/media/iconfont.64fd0b16.eot"
},
{
"revision": "99b2454970e48c8bb00578cdca15b3d2",
"url": "/mrstatic/media/iconfont.99b24549.ttf"
},
{
"revision": "f2f4294d9a677f58f6f7c1a0ac84c448",
"url": "/mrstatic/media/iconfont.f2f4294d.woff"
},
{
"revision": "99b2454970e48c8bb00578cdca15b3d2",
"url": "/mrstatic/media/iconfont.99b24549.ttf"
},
{
"revision": "5bf7701b4b6358bd06d9c45c26a7d18f",
"url": "/mrstatic/media/iconfont.5bf7701b.svg"
},
......@@ -512,23 +512,23 @@ self.__precacheManifest = [
"url": "/mrstatic/media/progress-share-bg.80011994.png"
},
{
"revision": "8edaf2ff2566ed17e2dd22cf4f8ad7ae",
"url": "/mrstatic/media/redb_chai_bj@2x.8edaf2ff.png"
},
{
"revision": "6902434f8f18a23319d57d0ac8aaea8c",
"url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png"
"revision": "c79abf5cb7ae8a82009cf68fe44d1078",
"url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png"
},
{
"revision": "79139f6aad350256e151f9f73c226348",
"url": "/mrstatic/media/hb_bj.79139f6a.png"
},
{
"revision": "c79abf5cb7ae8a82009cf68fe44d1078",
"url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png"
"revision": "8edaf2ff2566ed17e2dd22cf4f8ad7ae",
"url": "/mrstatic/media/redb_chai_bj@2x.8edaf2ff.png"
},
{
"revision": "6902434f8f18a23319d57d0ac8aaea8c",
"url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png"
},
{
"revision": "d534862c0c3a6305479aa61bb909ddf4",
"revision": "3cb1156ef74252f6d2501cfd9b1e4128",
"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.7de4fee0b38c7519765cfeb24d61509a.js"
"/precache-manifest.8cba0ec418a6a3c051d2907602c96930.js"
);
workbox.clientsClaim();
......
......@@ -186,6 +186,7 @@ class App extends Component {
http.get(`${API["passport-api"]}/m/wx_loginInfo/code/${code}?redirect=${encodeURIComponent(window.location.href)}`)
.then(res => {
let data = res.data
console.log(data)
if (data.errno == 200) {
if (data.data['is_bind_mobile']) {
window.location.assign(data.data.url)
......
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