Commit eba37368 by xuzhenghua

add

parents ff09ae80 3107d0f2
......@@ -56,8 +56,8 @@
"aist-share.js": "/mrstatic/js/aist-share.3a04b022.chunk.js",
"aist-share.js.map": "/mrstatic/js/aist-share.3a04b022.chunk.js.map",
"blessing-preheat.css": "/mrstatic/css/blessing-preheat.564d8d7c.chunk.css",
"blessing-preheat.js": "/mrstatic/js/blessing-preheat.0c6df8bb.chunk.js",
"blessing-preheat.js.map": "/mrstatic/js/blessing-preheat.0c6df8bb.chunk.js.map",
"blessing-preheat.js": "/mrstatic/js/blessing-preheat.2210905d.chunk.js",
"blessing-preheat.js.map": "/mrstatic/js/blessing-preheat.2210905d.chunk.js.map",
"blessing-rank.css": "/mrstatic/css/blessing-rank.edf00bf8.chunk.css",
"blessing-rank.js": "/mrstatic/js/blessing-rank.9beb2e6a.chunk.js",
"blessing-rank.js.map": "/mrstatic/js/blessing-rank.9beb2e6a.chunk.js.map",
......@@ -85,8 +85,8 @@
"purchased.css": "/mrstatic/css/purchased.bb758677.chunk.css",
"purchased.js": "/mrstatic/js/purchased.a38723f4.chunk.js",
"purchased.js.map": "/mrstatic/js/purchased.a38723f4.chunk.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.88d38422.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.88d38422.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.4d0f13e3.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.4d0f13e3.js.map",
"search.css": "/mrstatic/css/search.5716d9b3.chunk.css",
"search.js": "/mrstatic/js/search.589ab26a.chunk.js",
"search.js.map": "/mrstatic/js/search.589ab26a.chunk.js.map",
......@@ -166,6 +166,6 @@
"mrstatic/media/iconfont.css": "/mrstatic/media/iconfont.e0655d4d.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.a95c2f42487fbb918df08f35675507ca.js": "/precache-manifest.a95c2f42487fbb918df08f35675507ca.js",
"precache-manifest.5555e416b8149900a0e386964815b3bc.js": "/precache-manifest.5555e416b8149900a0e386964815b3bc.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.
......@@ -16,16 +16,16 @@ self.__precacheManifest = [
"url": "/mrstatic/js/2.f02a0573.chunk.js"
},
{
"revision": "c79abf5cb7ae8a82009cf68fe44d1078",
"url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png"
"revision": "6902434f8f18a23319d57d0ac8aaea8c",
"url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png"
},
{
"revision": "f8b11e0088ed6e17f173",
"url": "/mrstatic/js/Activity.73c8f0a9.chunk.js"
},
{
"revision": "6902434f8f18a23319d57d0ac8aaea8c",
"url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png"
"revision": "c79abf5cb7ae8a82009cf68fe44d1078",
"url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png"
},
{
"revision": "9a7afeee0f7f7550064e",
......@@ -148,8 +148,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/38.6484232f.chunk.js"
},
{
"revision": "bdfaa1e312c419d394a7",
"url": "/mrstatic/js/blessing-preheat.0c6df8bb.chunk.js"
"revision": "db6ecef785abb2f4619d",
"url": "/mrstatic/js/blessing-preheat.2210905d.chunk.js"
},
{
"revision": "ce643559cbe26713d628",
......@@ -208,8 +208,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/myorders.5b24e8bb.chunk.js"
},
{
"revision": "528adcbf4b524d75870d",
"url": "/mrstatic/js/runtime~main.88d38422.js"
"revision": "85d66afad5dc3b6269cb",
"url": "/mrstatic/js/runtime~main.4d0f13e3.js"
},
{
"revision": "480dec355e65b21ce336",
......@@ -288,7 +288,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/38.bff100af.chunk.css"
},
{
"revision": "bdfaa1e312c419d394a7",
"revision": "db6ecef785abb2f4619d",
"url": "/mrstatic/css/blessing-preheat.564d8d7c.chunk.css"
},
{
......@@ -372,7 +372,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/2.bf839917.chunk.css"
},
{
"revision": "f9714e909d91182717d5ec7508b41fe6",
"revision": "132211397588a27e00bccb5f1eb85666",
"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.a95c2f42487fbb918df08f35675507ca.js"
"/precache-manifest.5555e416b8149900a0e386964815b3bc.js"
);
workbox.clientsClaim();
......
......@@ -6,6 +6,7 @@ import ListFrame from './../listFrame/index';
import CourseItem from './../courseItem/index';
import ListHeader from './../listHeader';
import './index.scss';
import cookie from "js-cookie";
class CourseList extends Component {
constructor(props) {
......@@ -243,6 +244,9 @@ class CourseList extends Component {
toReceiveCoupon(id, key = '') {
const {isLogin, toLogin} = this.props;
alert(cookie.get("uid"))
if(isLogin) {
http.post(`${API.home}/sys/activity/coupon/receive`, {
course_id: id
......
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