fly 4 năm trước cách đây
mục cha
commit
08d0c9b812
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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];