diff --git a/public/react/src/modules/login/EducoderInteresse.js b/public/react/src/modules/login/EducoderInteresse.js
index 75f2c7059..5f62153c3 100644
--- a/public/react/src/modules/login/EducoderInteresse.js
+++ b/public/react/src/modules/login/EducoderInteresse.js
@@ -6,6 +6,8 @@ import beijintulogontwo from '../../../src/images/login/beijintulogontwo.png';
import educodernet from '../../../src/images/login/educodernet.png';
import InterestpageComponent from '../user/Interestpage'
import InterestpageComponentMax from '../user/InterestpageMax'
+import moment from 'moment';
+
//educoder登入页面
var newContainer={
@@ -78,7 +80,7 @@ class EducoderInteresse extends Component {
justifyContent: "center",
width: "100%",
}}>
-
© 2019 EduCoder
湘ICP备17009477号Trustie & IntelliDE inside.
+ © {moment().year()} EduCoder
湘ICP备17009477号Trustie & IntelliDE inside.
diff --git a/public/react/src/modules/login/EducoderLogin.js b/public/react/src/modules/login/EducoderLogin.js
index 123b2f2a0..5663c69c8 100644
--- a/public/react/src/modules/login/EducoderLogin.js
+++ b/public/react/src/modules/login/EducoderLogin.js
@@ -1,26 +1,6 @@
import React, {Component} from "react";
-import {
- Form,
- Select,
- Input,
- Button,
- Checkbox,
- Upload,
- Icon,
- message,
- Modal,
- Table,
- Divider,
- InputNumber,
- Tag,
- DatePicker,
- Radio,
- Tooltip,
- notification
-} from "antd";
-import {Link, Switch, Route, Redirect} from 'react-router-dom';
+import moment from 'moment';
import { SnackbarHOC,getImageUrl } from 'educoder';
-import { TPMIndexHOC } from '../tpm/TPMIndexHOC';
import '../courses/css/members.css';
import "../courses/common/formCommon.css"
import '../courses/css/Courses.css';
@@ -201,21 +181,21 @@ class EducoderLogin extends Component {
justifyContent: "center",
width: "100%",
}}>
- © 2019 EduCoder
湘ICP备17009477号Trustie & IntelliDE inside.
+ © {moment().year()} EduCoder
湘ICP备17009477号Trustie & IntelliDE inside.
:
this.props.mygetHelmetapi===undefined||this.props.mygetHelmetapi.main_site===null|| this.props.mygetHelmetapi.main_site===undefined?
-
© 2019 EduCoder
湘ICP备17009477号Trustie & IntelliDE inside.
+
© {moment().year()} EduCoder
湘ICP备17009477号Trustie & IntelliDE inside.
:this.props.mygetHelmetapi.main_site===true?
-
© 2019 EduCoder
湘ICP备17009477号Trustie & IntelliDE inside.
+
© {moment().year()} EduCoder
湘ICP备17009477号Trustie & IntelliDE inside.
:""
}
diff --git a/public/react/src/modules/login/Otherlogin.js b/public/react/src/modules/login/Otherlogin.js
index 59710ab2f..75874ee18 100644
--- a/public/react/src/modules/login/Otherlogin.js
+++ b/public/react/src/modules/login/Otherlogin.js
@@ -1,33 +1,18 @@
import React, {Component} from "react";
import {
- Form,
- Select,
Input,
Button,
- Checkbox,
- Upload,
- Icon,
- message,
- Modal,
- Table,
Divider,
- InputNumber,
- Tag,
- DatePicker,
- Radio,
- Tooltip,
- notification,
Layout,
Spin
} from "antd";
import axios from 'axios';
+import moment from 'moment';
import { getImageUrl } from 'educoder'
-import {Link, Switch, Route, Redirect} from 'react-router-dom';
import '../courses/css/members.css';
import "../courses/common/formCommon.css"
import '../courses/css/Courses.css';
import beijintulogontwo from '../../../src/images/login/beijintulogontwo.png';
-import educodernet from '../../../src/images/login/educodernet.png';
const { Header, Footer, Sider, Content } = Layout;
//educoder登入页面
var sectionStyle = {
@@ -294,7 +279,7 @@ class Otherlogin extends Component {
justifyContent: "center",
width: "100%",
}}>
- © 2019 EduCoder
湘ICP备17009477号Trustie & IntelliDE inside.
+ © {moment().year()} EduCoder
湘ICP备17009477号Trustie & IntelliDE inside.
diff --git a/public/react/src/modules/tpm/NewFooter.js b/public/react/src/modules/tpm/NewFooter.js
index 1b4ed2c00..9a69d522b 100644
--- a/public/react/src/modules/tpm/NewFooter.js
+++ b/public/react/src/modules/tpm/NewFooter.js
@@ -1,8 +1,7 @@
import React, { Component } from 'react';
-import { Redirect } from 'react-router';
+import moment from 'moment';
import { Link } from 'react-router-dom';
-import { getImageUrl, toPath } from 'educoder'
-import PropTypes from 'prop-types';
+
class NewFooter extends Component {
constructor(props) {
@@ -58,7 +57,7 @@ class NewFooter extends Component {
{this.props.mygetHelmetapi === null ? "" :
this.props.mygetHelmetapi===undefined|| this.props.mygetHelmetapi.footer===null||this.props.mygetHelmetapi.footer===undefined?
- © 2019 EduCoder
+ © {moment().year()} EduCoder
湘ICP备17009477号
湘公网安备43019002000962号