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':
                 case 'phone':
                     $this->field[$name] = $this->getLogPhone();
                     $this->field[$name] = $this->getLogPhone();
                     break;
                     break;
+                default:
+                    $this->field[$name] = $this->$name();
+                    break;
             }
             }
         }
         }
         return $this->field[$name];
         return $this->field[$name];