Sfoglia il codice sorgente

增加查看协议方法

sunxbiao 9 mesi fa
parent
commit
57544fa925
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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 46
     public function  detailContent($id){
47
+        if ($id != 13) {
48
+            return '';
49
+        }
47 50
         return $this->repository->getDetailContent($id);
48 51
     }
49 52
 }