fly 4 년 전
부모
커밋
08d0c9b812
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/Controllers/BaseControllerConfig.php

+ 3 - 0
src/Controllers/BaseControllerConfig.php

@@ -52,6 +52,9 @@ trait BaseControllerConfig
                 case 'phone':
                     $this->field[$name] = $this->getLogPhone();
                     break;
+                default:
+                    $this->field[$name] = $this->$name();
+                    break;
             }
         }
         return $this->field[$name];