main
tamguo 7 years ago
parent 97fba1e438
commit abcfdda034

@ -19,11 +19,11 @@ public class CourseEntity extends SuperEntity<CourseEntity> implements Serializa
private String name;
private BigInteger subjectId;
private String subjectId;
private BigInteger pointNum;
private Integer pointNum;
private BigInteger questionNum;
private Integer questionNum;
private Integer orders;
@ -50,27 +50,27 @@ public class CourseEntity extends SuperEntity<CourseEntity> implements Serializa
this.name = name;
}
public BigInteger getSubjectId() {
public String getSubjectId() {
return this.subjectId;
}
public void setSubjectId(BigInteger subjectId) {
public void setSubjectId(String subjectId) {
this.subjectId = subjectId;
}
public BigInteger getQuestionNum() {
public Integer getQuestionNum() {
return questionNum;
}
public void setQuestionNum(BigInteger questionNum) {
public void setQuestionNum(Integer questionNum) {
this.questionNum = questionNum;
}
public BigInteger getPointNum() {
public Integer getPointNum() {
return pointNum;
}
public void setPointNum(BigInteger pointNum) {
public void setPointNum(Integer pointNum) {
this.pointNum = pointNum;
}

@ -18,7 +18,7 @@ public class QuestionEntity extends SuperEntity<QuestionEntity> implements Seria
private String analysis;
private BigInteger paperId;
private String paperId;
private String answer;
@ -116,11 +116,11 @@ public class QuestionEntity extends SuperEntity<QuestionEntity> implements Seria
this.score = score;
}
public BigInteger getPaperId() {
public String getPaperId() {
return paperId;
}
public void setPaperId(BigInteger paperId) {
public void setPaperId(String paperId) {
this.paperId = paperId;
}

@ -4,9 +4,6 @@ import java.io.Serializable;
import com.baomidou.mybatisplus.annotations.TableName;
import com.tamguo.config.dao.SuperEntity;
import java.math.BigInteger;
/**
* The persistent class for the tiku_course database table.
*
@ -19,9 +16,9 @@ public class CourseEntity extends SuperEntity<CourseEntity> implements Serializa
private String subjectId;
private BigInteger pointNum;
private Integer pointNum;
private BigInteger questionNum;
private Integer questionNum;
private Integer orders;
@ -50,19 +47,19 @@ public class CourseEntity extends SuperEntity<CourseEntity> implements Serializa
this.subjectId = subjectId;
}
public BigInteger getQuestionNum() {
public Integer getQuestionNum() {
return questionNum;
}
public void setQuestionNum(BigInteger questionNum) {
public void setQuestionNum(Integer questionNum) {
this.questionNum = questionNum;
}
public BigInteger getPointNum() {
public Integer getPointNum() {
return pointNum;
}
public void setPointNum(BigInteger pointNum) {
public void setPointNum(Integer pointNum) {
this.pointNum = pointNum;
}

@ -101,8 +101,8 @@ public class SubjectService implements ISubjectService{
continue;
}
course.setOrders(i+1);
course.setPointNum(BigInteger.ZERO);
course.setQuestionNum(BigInteger.ZERO);
course.setPointNum(0);
course.setQuestionNum(0);
course.setSeoDescription(subjectVo.getCourseName().get(i));
course.setSeoKeywords(subjectVo.getCourseName().get(i));
course.setSeoTitle(subjectVo.getCourseName().get(i));

@ -21,9 +21,9 @@ public class CourseEntity extends SuperEntity<CourseEntity> implements Serializa
private String subjectId;
private BigInteger pointNum;
private Integer pointNum;
private BigInteger questionNum;
private Integer questionNum;
private Integer orders;
@ -58,19 +58,19 @@ public class CourseEntity extends SuperEntity<CourseEntity> implements Serializa
this.subjectId = subjectId;
}
public BigInteger getQuestionNum() {
public Integer getQuestionNum() {
return questionNum;
}
public void setQuestionNum(BigInteger questionNum) {
public void setQuestionNum(Integer questionNum) {
this.questionNum = questionNum;
}
public BigInteger getPointNum() {
public Integer getPointNum() {
return pointNum;
}
public void setPointNum(BigInteger pointNum) {
public void setPointNum(Integer pointNum) {
this.pointNum = pointNum;
}

@ -5,9 +5,6 @@ import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.tamguo.config.dao.SuperEntity;
import java.math.BigInteger;
/**
* The persistent class for the tiku_question database table.
*
@ -22,7 +19,7 @@ public class QuestionEntity extends SuperEntity<QuestionEntity> implements Seria
private String answer;
private BigInteger chapterId;
private String chapterId;
private String questionType;
@ -68,11 +65,11 @@ public class QuestionEntity extends SuperEntity<QuestionEntity> implements Seria
this.answer = answer;
}
public BigInteger getChapterId() {
public String getChapterId() {
return this.chapterId;
}
public void setChapterId(BigInteger chapterId) {
public void setChapterId(String chapterId) {
this.chapterId = chapterId;
}

@ -17,8 +17,8 @@ public final class Setting {
public String domain;
/**站点编号 **/
@Value(value="${sitenum}")
private String sitenum;
@Value(value="${sitename}")
private String sitename;
/** 后端管理*/
@Value(value="${admin.domain.name}")
@ -32,11 +32,11 @@ public final class Setting {
public final String PAPER_TYPE_YATI = "3";
/** 名校 */
public final String PAPER_TYPE_MINGXIAO = "4";
public String getSitenum() {
return sitenum;
public String getSitename() {
return sitename;
}
public void setSitenum(String sitenum) {
this.sitenum = sitenum;
public void setSitename(String sitename) {
this.sitename = sitename;
}
}

@ -31,4 +31,10 @@ public class IndexController {
model.setViewName("thirdparty/baidu_verify_iAm7387J0l");
return model;
}
@RequestMapping(value = "/sogousiteverification", method = RequestMethod.GET)
public ModelAndView sogousiteverification(ModelAndView model) {
model.setViewName("thirdparty/sogousiteverification");
return model;
}
}

@ -1,4 +1,4 @@
sitenum=2
sitename=tamguo
domain.name=http://www.tamguo.com/
admin.domain.name=http://admin.tanguoguo.com
server.port=8081

@ -47,37 +47,49 @@
target="_blank">沪ICP备14022608号-1</a> Copyright © 2018 Tamguo
</p>
</div>
<script type="text/javascript" th:if="${setting.domain} eq '1'" th:inline="javascript" th:fragment="footer">
<script type="text/javascript" th:if="${setting.sitename} eq 'tamguo'" th:inline="javascript" th:fragment="footer">
//百度统计 www.tamguo.com
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?877e9c9ef462fe55b7750d478a41c981";
hm.src = "https://hm.baidu.com/hm.js?440681a7a488eb89e3273ec0088fb08c";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
var bp = document.createElement('script');
var curProtocol = window.location.protocol.split(':')[0];
if (curProtocol === 'https') {
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
}
else {
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
}
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(bp, s);
})();
// 百度推送 www.tamguo.com
(function(){
var bp = document.createElement('script');
var curProtocol = window.location.protocol.split(':')[0];
if (curProtocol === 'https') {
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
}
else {
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
}
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(bp, s);
})();
<!--360搜索自动推送 www.tamguo.com-->
(function(){
var src = (document.location.protocol == "http:") ? "http://js.passport.qihucdn.com/11.0.1.js?40ee03bede7c19e05d89f18db868df8a":"https://jspassport.ssl.qhimg.com/11.0.1.js?40ee03bede7c19e05d89f18db868df8a";
document.write('<script src="' + src + '" id="sozz"><\/script>');
})();
</script>
<script type="text/javascript" th:if="${setting.sitenum} eq '2'" th:inline="javascript" th:fragment="footer">
<script type="text/javascript" th:if="${setting.sitename} eq 'tanguoguo'" th:inline="javascript" th:fragment="footer">
// 百度统计 www.tanguoguo.com
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?440681a7a488eb89e3273ec0088fb08c";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
// 百度推送 www.tanguoguo.com
(function(){
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?440681a7a488eb89e3273ec0088fb08c";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
var bp = document.createElement('script');
var curProtocol = window.location.protocol.split(':')[0];
if (curProtocol === 'https') {

@ -9,7 +9,6 @@
<meta name="author" content="Tamguo Team" />
<meta name="copyright" content="Tamguo" />
<meta name="360-site-verification" content="d307dfe5c7562c28c2514592bfba0f58" />
<meta name="sogou_site_verification" content="acxVWhafOC"/>
<link rel="stylesheet" th:href="${setting.domain + 'css/main.css'}"></link>
<link rel="stylesheet" th:href="${setting.domain + 'css/reset.css'}" />
<link rel="stylesheet" th:href="${setting.domain + 'css/iconfont.css'}" />

Loading…
Cancel
Save