@ -57,6 +57,18 @@ class CoursesBanner extends Component {
this.onloadupdatabanner()
on('updatabanner', this.updatabanner)
axios.interceptors.response.use((response) => {
if (response != undefined)
if (response && response.data.status === 410) {
this.setState({
yslJointhe:true,
})
}
return response;
}, (error) => {
});
componentWillUnmount() {
off('updatabanner', this.updatabanner)
@ -18,20 +18,7 @@ class Certifiedprofessional extends Component {
componentDidMount() {
// console.log("加入金品课堂");
// console.log(this.props);
try {
this.props.ModalshowCancelsy();
}catch (e) {