mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-07-01 14:42:48 +08:00
- 新增手机图片排版功能,支持小红书/抖音尺寸输出 - 新增AI智能排版顾问,支持内容分析与优化推荐 - 新增AI供应商管理,支持多渠道配置与同步 - 新增文章输出管理页面,支持图片预览与批量下载 - 新增字体文件与排版样式配置
27 lines
490 B
PHP
27 lines
490 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace app\model;
|
|
|
|
use app\common\model\Base;
|
|
|
|
class PostOutputFile extends Base
|
|
{
|
|
protected $name = 'post_output_file';
|
|
|
|
public static $autoClearCache = [];
|
|
|
|
public function output()
|
|
{
|
|
return $this->belongsTo(PostOutput::class, 'output_id');
|
|
}
|
|
|
|
public static function getByOutput(int $outputId)
|
|
{
|
|
return static::where('output_id', $outputId)
|
|
->order('page', 'asc')
|
|
->select();
|
|
}
|
|
}
|