sunxbiao пре 8 месеци
родитељ
комит
57544fa925
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      app/controller/admin/agreement/Agreement.php

+ 3 - 0
app/controller/admin/agreement/Agreement.php

@@ -44,6 +44,9 @@ class Agreement extends BaseController
44
 
44
 
45
     /*详情*/
45
     /*详情*/
46
     public function  detailContent($id){
46
     public function  detailContent($id){
47
+        if ($id != 13) {
48
+            return '';
49
+        }
47
         return $this->repository->getDetailContent($id);
50
         return $this->repository->getDetailContent($id);
48
     }
51
     }
49
 }
52
 }