fly 4 years ago
parent
commit
08d0c9b812
1 changed files with 3 additions and 0 deletions
  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];