@@ -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;
}
@@ -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();