This commit is contained in:
wujj 2020-10-23 15:10:20 +08:00
parent a99a728384
commit b3fdd1fc09
3 changed files with 8 additions and 16 deletions

File diff suppressed because one or more lines are too long

View File

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

View File

@ -448,9 +448,9 @@
var that = this;
axios.create({
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.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();
}