Przeglądaj źródła

增加查看协议方法

sunxbiao 8 miesięcy temu
rodzic
commit
57544fa925
1 zmienionych plików z 3 dodań i 0 usunięć
  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
 }