Commit 8140f58d by caixinyu

重新构建

parent bb3761b0
HOST=m.julyedu.com
HOST=localhost
PORT=80
\ No newline at end of file
......@@ -115,8 +115,8 @@
"python-class.css": "/mrstaticcss/python-class.af18e67a.chunk.css",
"python-class.js": "/mrstaticjs/python-class.b9b43a65.chunk.js",
"python-class.js.map": "/mrstaticjs/python-class.b9b43a65.chunk.js.map",
"runtime-main.js": "/mrstaticjs/runtime-main.33cd03ac.js",
"runtime-main.js.map": "/mrstaticjs/runtime-main.33cd03ac.js.map",
"runtime-main.js": "/mrstaticjs/runtime-main.082a7c2d.js",
"runtime-main.js.map": "/mrstaticjs/runtime-main.082a7c2d.js.map",
"search.css": "/mrstaticcss/search.b0c8ab06.chunk.css",
"search.js": "/mrstaticjs/search.aaab04ef.chunk.js",
"search.js.map": "/mrstaticjs/search.aaab04ef.chunk.js.map",
......@@ -201,8 +201,8 @@
"mrstaticjs/69.80788432.chunk.js": "/mrstaticjs/69.80788432.chunk.js",
"mrstaticjs/69.80788432.chunk.js.map": "/mrstaticjs/69.80788432.chunk.js.map",
"mrstaticcss/70.148c23dc.chunk.css": "/mrstaticcss/70.148c23dc.chunk.css",
"mrstaticjs/70.c561d28f.chunk.js": "/mrstaticjs/70.c561d28f.chunk.js",
"mrstaticjs/70.c561d28f.chunk.js.map": "/mrstaticjs/70.c561d28f.chunk.js.map",
"mrstaticjs/70.72468f26.chunk.js": "/mrstaticjs/70.72468f26.chunk.js",
"mrstaticjs/70.72468f26.chunk.js.map": "/mrstaticjs/70.72468f26.chunk.js.map",
"mrstaticcss/71.9cd15945.chunk.css": "/mrstaticcss/71.9cd15945.chunk.css",
"mrstaticjs/71.d42b5c06.chunk.js": "/mrstaticjs/71.d42b5c06.chunk.js",
"mrstaticjs/71.d42b5c06.chunk.js.map": "/mrstaticjs/71.d42b5c06.chunk.js.map",
......@@ -278,11 +278,11 @@
"mrstaticmedia/iconfont.css": "/mrstaticmedia/iconfont.fa64fbc4.ttf",
"mrstaticmedia/kanjia_cg_icon.png": "/mrstaticmedia/kanjia_cg_icon.81a489ac.png",
"mrstaticmedia/video.scss": "/mrstaticmedia/progress-share-bg.80011994.png",
"precache-manifest.9097c08ada5102db4ffeb7475225ab82.js": "/precache-manifest.9097c08ada5102db4ffeb7475225ab82.js",
"precache-manifest.3c53fe722438c6aefdc60341da61fb4b.js": "/precache-manifest.3c53fe722438c6aefdc60341da61fb4b.js",
"service-worker.js": "/service-worker.js"
},
"entrypoints": [
"mrstaticjs/runtime-main.33cd03ac.js",
"mrstaticjs/runtime-main.082a7c2d.js",
"mrstaticcss/51.ee6d5e86.chunk.css",
"mrstaticjs/51.54378fc2.chunk.js",
"mrstaticcss/main.a40f1613.chunk.css",
......
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "0944c95fefc7bb95877cd979946307e5",
"revision": "51378f27ed2ab5dc152689c9f09fc9be",
"url": "/index.html"
},
{
......@@ -80,7 +80,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/mrstaticcss/69.c310b129.chunk.css"
},
{
"revision": "c8a6b105d944c9a066a5",
"revision": "62e773c9b390e38e9f75",
"url": "/mrstaticcss/70.148c23dc.chunk.css"
},
{
......@@ -372,8 +372,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/mrstaticjs/69.80788432.chunk.js"
},
{
"revision": "c8a6b105d944c9a066a5",
"url": "/mrstaticjs/70.c561d28f.chunk.js"
"revision": "62e773c9b390e38e9f75",
"url": "/mrstaticjs/70.72468f26.chunk.js"
},
{
"revision": "7ffdaed4606960c92d03",
......@@ -520,8 +520,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/mrstaticjs/python-class.b9b43a65.chunk.js"
},
{
"revision": "c0615b73682f65cc6e16",
"url": "/mrstaticjs/runtime-main.33cd03ac.js"
"revision": "2cb3b25ebfbed628748c",
"url": "/mrstaticjs/runtime-main.082a7c2d.js"
},
{
"revision": "25ba20eaf7742efc8166",
......
......@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts(
"/precache-manifest.9097c08ada5102db4ffeb7475225ab82.js"
"/precache-manifest.3c53fe722438c6aefdc60341da61fb4b.js"
);
self.addEventListener('message', (event) => {
......
......@@ -39,20 +39,20 @@ class PythonCourse extends Component {
}
showQuan=(id)=> {
this.getUser(id)
this.getUser()
this.setState({
CourseUrl:courseObj[id].url,
courseName:courseObj[id].name,
prise:courseObj[id].prise,
modelBool:true,
code:courseObj[id].code,
})
}
getUser=(id) => {
getUser=() => {
let _this = this;
http.get(`${API.home}/m/user_info_sample/0`).then((res) => {
if(res.code === 200){
_this.setState({
CourseUrl:courseObj[id].url,
courseName:courseObj[id].name,
prise:courseObj[id].prise,
modelBool:true,
code:courseObj[id].code,
})
}else{
//为登录,去登录
this.props.history.push("/passport")
......
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