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)