Commit 1e1965e5 by zhanghaozhe

视频推荐课程

parent 462a54f6
......@@ -51,8 +51,8 @@
"purchased.css": "/static/css/purchased.4b0044ec.chunk.css",
"purchased.js": "/static/js/purchased.6f28a4e3.chunk.js",
"purchased.js.map": "/static/js/purchased.6f28a4e3.chunk.js.map",
"runtime~main.js": "/static/js/runtime~main.0aa22ef0.js",
"runtime~main.js.map": "/static/js/runtime~main.0aa22ef0.js.map",
"runtime~main.js": "/static/js/runtime~main.0940e405.js",
"runtime~main.js.map": "/static/js/runtime~main.0940e405.js.map",
"search.css": "/static/css/search.9fa57dd6.chunk.css",
"search.js": "/static/js/search.13298fb4.chunk.js",
"search.js.map": "/static/js/search.13298fb4.chunk.js.map",
......@@ -66,8 +66,8 @@
"togroup.js": "/static/js/togroup.1b6c0ec9.chunk.js",
"togroup.js.map": "/static/js/togroup.1b6c0ec9.chunk.js.map",
"video.css": "/static/css/video.0c707680.chunk.css",
"video.js": "/static/js/video.450bc08f.chunk.js",
"video.js.map": "/static/js/video.450bc08f.chunk.js.map",
"video.js": "/static/js/video.1f27673a.chunk.js",
"video.js.map": "/static/js/video.1f27673a.chunk.js.map",
"static/css/24.257b0329.chunk.css": "/static/css/24.257b0329.chunk.css",
"static/js/24.d6c14067.chunk.js": "/static/js/24.d6c14067.chunk.js",
"static/js/24.d6c14067.chunk.js.map": "/static/js/24.d6c14067.chunk.js.map",
......@@ -91,7 +91,7 @@
"static/js/31.82f98a0f.chunk.js": "/static/js/31.82f98a0f.chunk.js",
"static/js/31.82f98a0f.chunk.js.map": "/static/js/31.82f98a0f.chunk.js.map",
"index.html": "/index.html",
"precache-manifest.9f3728298776ec7ba4eb80ec4bd79b25.js": "/precache-manifest.9f3728298776ec7ba4eb80ec4bd79b25.js",
"precache-manifest.7995b8b270f116420de326c4e07641b2.js": "/precache-manifest.7995b8b270f116420de326c4e07641b2.js",
"service-worker.js": "/service-worker.js",
"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",
......
......@@ -136,8 +136,8 @@ self.__precacheManifest = [
"url": "/static/js/BargainMiddlePage.99d89d76.chunk.js"
},
{
"revision": "aad373cdc0eb92aa26fd",
"url": "/static/js/runtime~main.0aa22ef0.js"
"revision": "546c14249853cca477a8",
"url": "/static/js/runtime~main.0940e405.js"
},
{
"revision": "7a93457a21d98e37a0ea",
......@@ -172,12 +172,12 @@ self.__precacheManifest = [
"url": "/static/js/togroup.1b6c0ec9.chunk.js"
},
{
"revision": "15cf376ca40d1a7269d5",
"revision": "b7f6bdbb1909fdc60cbb",
"url": "/static/css/video.0c707680.chunk.css"
},
{
"revision": "15cf376ca40d1a7269d5",
"url": "/static/js/video.450bc08f.chunk.js"
"revision": "b7f6bdbb1909fdc60cbb",
"url": "/static/js/video.1f27673a.chunk.js"
},
{
"revision": "80011994e30adf599e5f47fcc81bc06d",
......@@ -212,16 +212,16 @@ self.__precacheManifest = [
"url": "/static/js/28.22e18e73.chunk.js"
},
{
"revision": "10b7bd5b99a2a0a2f1a30d7ed72ec1a0",
"url": "/static/media/iconfont.10b7bd5b.eot"
"revision": "55ad4bbcfbe7879698a2538de5145a09",
"url": "/static/media/iconfont.55ad4bbc.ttf"
},
{
"revision": "52c33a07622d6a2cc8b5",
"url": "/static/js/29.0a76bf83.chunk.js"
},
{
"revision": "55ad4bbcfbe7879698a2538de5145a09",
"url": "/static/media/iconfont.55ad4bbc.ttf"
"revision": "10b7bd5b99a2a0a2f1a30d7ed72ec1a0",
"url": "/static/media/iconfont.10b7bd5b.eot"
},
{
"revision": "b264b1d5bc2f6591e5b4",
......@@ -260,7 +260,7 @@ self.__precacheManifest = [
"url": "/static/css/24.257b0329.chunk.css"
},
{
"revision": "f672198bf55be8cc2bd9611c360b7eb0",
"revision": "8d707b0bda7fe6d213a688778e01f852",
"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.9f3728298776ec7ba4eb80ec4bd79b25.js"
"/precache-manifest.7995b8b270f116420de326c4e07641b2.js"
);
workbox.clientsClaim();
......
!function(e){function r(r){for(var n,a,i=r[0],d=r[1],u=r[2],f=0,l=[];f<i.length;f++)a=i[f],o[a]&&l.push(o[a][0]),o[a]=0;for(n in d)Object.prototype.hasOwnProperty.call(d,n)&&(e[n]=d[n]);for(s&&s(r);l.length;)l.shift()();return c.push.apply(c,u||[]),t()}function t(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,a=1;a<t.length;a++){var d=t[a];0!==o[d]&&(n=!1)}n&&(c.splice(r--,1),e=i(i.s=t[0]))}return e}var n={},a={18:0},o={18:0},c=[];function i(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var r=[];a[e]?r.push(a[e]):0!==a[e]&&{0:1,1:1,2:1,3:1,4:1,6:1,8:1,9:1,10:1,11:1,12:1,13:1,14:1,16:1,17:1,19:1,20:1,21:1,22:1,23:1,26:1,28:1,29:1,30:1,31:1}[e]&&r.push(a[e]=new Promise(function(r,t){for(var n="static/css/"+({0:"BargainMiddlePage",1:"Classify",2:"CourseList",3:"DrawDocument",4:"Examination",5:"MyEdit",6:"Order",7:"Orderinfo",8:"PayOrder",9:"Preferential",10:"SearchResult",11:"ShopCart",12:"aist-share",13:"coupons",14:"detail",16:"myorders",17:"purchased",19:"search",20:"shareposter",21:"study",22:"togroup",23:"video"}[e]||e)+"."+{0:"9e05243b",1:"e3e9b348",2:"369bce9d",3:"2e7d81ca",4:"fc9da1d2",5:"31d6cfe0",6:"6576554c",7:"31d6cfe0",8:"21570c76",9:"3b4dfe41",10:"8711b264",11:"a93db4c0",12:"bef8c404",13:"9ece7350",14:"72edbb5f",16:"5434bc7e",17:"4b0044ec",19:"9fa57dd6",20:"82081d02",21:"50d01810",22:"49988cae",23:"0c707680",25:"31d6cfe0",26:"1b3a6258",27:"31d6cfe0",28:"694b4628",29:"5ed15c7e",30:"ecbb6f9a",31:"bc06dce4"}[e]+".chunk.css",o=i.p+n,c=document.getElementsByTagName("link"),d=0;d<c.length;d++){var u=(s=c[d]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(u===n||u===o))return r()}var f=document.getElementsByTagName("style");for(d=0;d<f.length;d++){var s;if((u=(s=f[d]).getAttribute("data-href"))===n||u===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var n=r&&r.target&&r.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.request=n,delete a[e],l.parentNode.removeChild(l),t(c)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){a[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise(function(r,n){t=o[e]=[r,n]});r.push(t[2]=n);var c,d=document.createElement("script");d.charset="utf-8",d.timeout=120,i.nc&&d.setAttribute("nonce",i.nc),d.src=function(e){return i.p+"static/js/"+({0:"BargainMiddlePage",1:"Classify",2:"CourseList",3:"DrawDocument",4:"Examination",5:"MyEdit",6:"Order",7:"Orderinfo",8:"PayOrder",9:"Preferential",10:"SearchResult",11:"ShopCart",12:"aist-share",13:"coupons",14:"detail",16:"myorders",17:"purchased",19:"search",20:"shareposter",21:"study",22:"togroup",23:"video"}[e]||e)+"."+{0:"99d89d76",1:"0fad4745",2:"5aba5f78",3:"cdb5e58a",4:"48de5d9d",5:"e197206e",6:"dec53d6d",7:"58f83144",8:"834be230",9:"3fe45710",10:"a27f5adf",11:"2865f6c7",12:"6006a322",13:"0b61e4f7",14:"0d8fb083",16:"b80337d7",17:"6f28a4e3",19:"13298fb4",20:"b4b364c1",21:"a57bfaf8",22:"1b6c0ec9",23:"450bc08f",25:"58629408",26:"2c0c3968",27:"32213583",28:"22e18e73",29:"0a76bf83",30:"8a34c3f7",31:"82f98a0f"}[e]+".chunk.js"}(e),c=function(r){d.onerror=d.onload=null,clearTimeout(u);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src,c=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");c.type=n,c.request=a,t[1](c)}o[e]=void 0}};var u=setTimeout(function(){c({type:"timeout",target:d})},12e4);d.onerror=d.onload=c,document.head.appendChild(d)}return Promise.all(r)},i.m=e,i.c=n,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)i.d(t,n,function(r){return e[r]}.bind(null,n));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="/",i.oe=function(e){throw console.error(e),e};var d=window.webpackJsonp=window.webpackJsonp||[],u=d.push.bind(d);d.push=r,d=d.slice();for(var f=0;f<d.length;f++)r(d[f]);var s=u;t()}([]);
//# sourceMappingURL=runtime~main.0aa22ef0.js.map
\ No newline at end of file
!function(e){function r(r){for(var n,a,i=r[0],d=r[1],u=r[2],f=0,l=[];f<i.length;f++)a=i[f],o[a]&&l.push(o[a][0]),o[a]=0;for(n in d)Object.prototype.hasOwnProperty.call(d,n)&&(e[n]=d[n]);for(s&&s(r);l.length;)l.shift()();return c.push.apply(c,u||[]),t()}function t(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,a=1;a<t.length;a++){var d=t[a];0!==o[d]&&(n=!1)}n&&(c.splice(r--,1),e=i(i.s=t[0]))}return e}var n={},a={18:0},o={18:0},c=[];function i(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var r=[];a[e]?r.push(a[e]):0!==a[e]&&{0:1,1:1,2:1,3:1,4:1,6:1,8:1,9:1,10:1,11:1,12:1,13:1,14:1,16:1,17:1,19:1,20:1,21:1,22:1,23:1,26:1,28:1,29:1,30:1,31:1}[e]&&r.push(a[e]=new Promise(function(r,t){for(var n="static/css/"+({0:"BargainMiddlePage",1:"Classify",2:"CourseList",3:"DrawDocument",4:"Examination",5:"MyEdit",6:"Order",7:"Orderinfo",8:"PayOrder",9:"Preferential",10:"SearchResult",11:"ShopCart",12:"aist-share",13:"coupons",14:"detail",16:"myorders",17:"purchased",19:"search",20:"shareposter",21:"study",22:"togroup",23:"video"}[e]||e)+"."+{0:"9e05243b",1:"e3e9b348",2:"369bce9d",3:"2e7d81ca",4:"fc9da1d2",5:"31d6cfe0",6:"6576554c",7:"31d6cfe0",8:"21570c76",9:"3b4dfe41",10:"8711b264",11:"a93db4c0",12:"bef8c404",13:"9ece7350",14:"72edbb5f",16:"5434bc7e",17:"4b0044ec",19:"9fa57dd6",20:"82081d02",21:"50d01810",22:"49988cae",23:"0c707680",25:"31d6cfe0",26:"1b3a6258",27:"31d6cfe0",28:"694b4628",29:"5ed15c7e",30:"ecbb6f9a",31:"bc06dce4"}[e]+".chunk.css",o=i.p+n,c=document.getElementsByTagName("link"),d=0;d<c.length;d++){var u=(s=c[d]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(u===n||u===o))return r()}var f=document.getElementsByTagName("style");for(d=0;d<f.length;d++){var s;if((u=(s=f[d]).getAttribute("data-href"))===n||u===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var n=r&&r.target&&r.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.request=n,delete a[e],l.parentNode.removeChild(l),t(c)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){a[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise(function(r,n){t=o[e]=[r,n]});r.push(t[2]=n);var c,d=document.createElement("script");d.charset="utf-8",d.timeout=120,i.nc&&d.setAttribute("nonce",i.nc),d.src=function(e){return i.p+"static/js/"+({0:"BargainMiddlePage",1:"Classify",2:"CourseList",3:"DrawDocument",4:"Examination",5:"MyEdit",6:"Order",7:"Orderinfo",8:"PayOrder",9:"Preferential",10:"SearchResult",11:"ShopCart",12:"aist-share",13:"coupons",14:"detail",16:"myorders",17:"purchased",19:"search",20:"shareposter",21:"study",22:"togroup",23:"video"}[e]||e)+"."+{0:"99d89d76",1:"0fad4745",2:"5aba5f78",3:"cdb5e58a",4:"48de5d9d",5:"e197206e",6:"dec53d6d",7:"58f83144",8:"834be230",9:"3fe45710",10:"a27f5adf",11:"2865f6c7",12:"6006a322",13:"0b61e4f7",14:"0d8fb083",16:"b80337d7",17:"6f28a4e3",19:"13298fb4",20:"b4b364c1",21:"a57bfaf8",22:"1b6c0ec9",23:"1f27673a",25:"58629408",26:"2c0c3968",27:"32213583",28:"22e18e73",29:"0a76bf83",30:"8a34c3f7",31:"82f98a0f"}[e]+".chunk.js"}(e),c=function(r){d.onerror=d.onload=null,clearTimeout(u);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src,c=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");c.type=n,c.request=a,t[1](c)}o[e]=void 0}};var u=setTimeout(function(){c({type:"timeout",target:d})},12e4);d.onerror=d.onload=c,document.head.appendChild(d)}return Promise.all(r)},i.m=e,i.c=n,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)i.d(t,n,function(r){return e[r]}.bind(null,n));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="/",i.oe=function(e){throw console.error(e),e};var d=window.webpackJsonp=window.webpackJsonp||[],u=d.push.bind(d);d.push=r,d=d.slice();for(var f=0;f<d.length;f++)r(d[f]);var s=u;t()}([]);
//# sourceMappingURL=runtime~main.0940e405.js.map
\ No newline at end of file
......@@ -3,5 +3,6 @@ var API = {
'search-api': 'https://search.julyedu.com',
'passport-api': 'http://passport-test.julyedu.com',
'base-api': 'http://api-test.julyedu.com',
'record': 'record.julyedu.com:8001'
'record': 'record.julyedu.com:8001',
'process-api': 'ws:process-test.julyedu.com:9502'
}
......@@ -161,7 +161,7 @@ class Video extends Component {
}
setupWS = () => {
this.ws = new WebSocket('ws://process-test.julyedu.com:9502');
this.ws = new WebSocket(API["process-api"]);
this.ws.addEventListener('error', () => {
this.ws = null
/*setTimeout(() => {
......
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