This commit is contained in:
2026-04-04 08:52:59 +08:00
parent 66bcd8061a
commit d98ac8f146
33 changed files with 2565 additions and 328 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ class BalanceLog extends Base
// ],
]);
}
public static function create(array|object $data, array $allowField = [], bool $replace = false):\think\model\contract\Modelable
public static function create(array|object $data, array $allowField = [], bool $replace = false, string $suffix = ''):\think\model\contract\Modelable
{
$model = new static();
if(isset($data['currency'])){