lrf402788946 преди 4 години
родител
ревизия
ee984a0580
променени са 1 файла, в които са добавени 7 реда и са изтрити 0 реда
  1. 7 0
      public/home.html

+ 7 - 0
public/home.html

@@ -73,6 +73,13 @@
         contentType:'application/json',
         success:function(res){
           console.log(res);
+          if(res.errcode =='0') {
+            if(res.data.length>0) {
+              var head = res.data[0];
+              $('.notice').text(head.title)
+            }
+          }
+
         },
         error:function (e) {
           console.error(e)