Explorar el Código

增加查看协议方法

sunxbiao hace 9 meses
padre
commit
57544fa925
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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
 }