FastMovieAI 二开基线 v1.0 (完整源码)

This commit is contained in:
李建琦
2026-08-26 18:41:02 +08:00
parent fad7690c0c
commit d54584f70d
888 changed files with 105571 additions and 1 deletions
@@ -0,0 +1,27 @@
<?php
namespace app\expose\build\builder;
use app\expose\build\builder\databoardBuilder\Basic;
use app\expose\utils\DataModel;
class DataboardBuilder extends DataModel
{
protected $data = [];
public function __construct($props = [])
{
$this->data['props'] = array_merge([
'gutter' => 0
], $props);
$this->data['rows'] = [];
}
public function add(Basic $component, array $props = [], array $row = [])
{
$this->data['rows'][] = [
'props' => $props,
'row' => $row,
'component' => $component
];
return $this;
}
}