Просмотр исходного кода

故障维修表单位置调整

q 1 год назад
Родитель
Сommit
22bb5d4c18

+ 20 - 0
webmain/we/custom/customAction.php

@@ -0,0 +1,20 @@
+<?php
+
+class customClassAction extends ActionNot{
+    public function initAction()
+    {
+
+    }
+
+    public function defaultAction()
+    {
+        $num 	 = $this->get('num');
+        $filename 	= ''.P.'/we/custom/'.$num.'/'.$num.'.html';
+        if (file_exists($filename)) {
+            return file_get_contents($filename);
+        } else {
+            return "not_exists";
+        }
+    }
+
+}

webmain/we/ying/yingyong/meet/repair_fault.html → webmain/we/custom/repair_fault/repair_fault.html


+ 0 - 11
webmain/we/ying/yingAction.php

@@ -36,17 +36,6 @@ class yingClassAction extends ActionNot{
         return $this->get('num');
     }
 
-    public function customAction()
-    {
-        $num 	 = $this->get('num');
-        $filename 	= ''.P.'/we/ying/yingyong/'.$num.'.html';
-        if (file_exists($filename)) {
-            return file_get_contents($filename);
-        } else {
-            return "not_exists";
-        }
-    }
-
 	public function defaultAction()
 	{
         // 检查用户权限