mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-08 15:42:48 +08:00
修正\traits\model\Auto 一处警告错误
This commit is contained in:
@@ -189,6 +189,9 @@ trait Auto
|
|||||||
}
|
}
|
||||||
// 检查填充条件
|
// 检查填充条件
|
||||||
if ($flags & $type) {
|
if ($flags & $type) {
|
||||||
|
if (empty($auto[3])) {
|
||||||
|
$auto[3] = 'string';
|
||||||
|
}
|
||||||
switch (trim($auto[3])) {
|
switch (trim($auto[3])) {
|
||||||
case 'function':// 使用函数进行填充 字段的值作为参数
|
case 'function':// 使用函数进行填充 字段的值作为参数
|
||||||
case 'callback': // 使用回调方法
|
case 'callback': // 使用回调方法
|
||||||
|
|||||||
Reference in New Issue
Block a user