改名
This commit is contained in:
@@ -133,7 +133,7 @@ use Database\Model;
|
|||||||
$html .= $this->createRules($this->fields);
|
$html .= $this->createRules($this->fields);
|
||||||
|
|
||||||
if (is_object($class)) {
|
if (is_object($class)) {
|
||||||
$html .= $this->getClassMethods($class, ['rules', 'tableName', 'attributes']);
|
$html .= $this->getClassMethods($class, ['rules', 'tableName', 'attributes', 'getDb']);
|
||||||
} else {
|
} else {
|
||||||
$other = $this->generate_json_function($html, $this->fields);
|
$other = $this->generate_json_function($html, $this->fields);
|
||||||
if (!empty($other)) {
|
if (!empty($other)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user