master
wujj 5 years ago
parent a99a728384
commit b3fdd1fc09
  1. 10
      doc/5.2-patch.sql
  2. 10
      src/main/java/net/mingsoft/cms/entity/CategoryEntity.java
  3. 4
      src/main/webapp/WEB-INF/manager/main.ftl

File diff suppressed because one or more lines are too long

@ -395,14 +395,6 @@ private static final long serialVersionUID = 1574925152750L;
* 获取栏目图片 (标签使用 * 获取栏目图片 (标签使用
*/ */
public String getTypelitpic() { public String getTypelitpic() {
if(StrUtil.isNotBlank(categoryImg)){ return categoryImg;
try{
JSONArray objects = JSON.parseArray(categoryImg);
return objects.getJSONObject(0).getString("path");
}catch (Exception e){
}
}
return "";
} }
} }

@ -448,9 +448,9 @@
var that = this; var that = this;
axios.create({ axios.create({
withCredentials: true withCredentials: true
}).get("https://ms.mingsoft.net/cms/content/list.do?contentCategoryId=202").then(function (res) { }).get("https://mingsoft.net/cms/content/list.do?contentCategoryId=202").then(function (res) {
that.msNewsLast = res.data.data.rows[0].contentTitle.toString(); that.msNewsLast = res.data.data.rows[0].contentTitle.toString();
that.msNewsPath = 'https://ms.mingsoft.net/html/1/203/202/' + res.data.data.rows[0].id + '.html'; that.msNewsPath = 'https://mingsoft.net/html/1/203/202/' + res.data.data.rows[0].id + '.html';
}); });
this.setCallBackFun(); this.setCallBackFun();
} }

Loading…
Cancel
Save