Files
ulthon_information/app/model/PostOutputFile.php
augushong 83a2bd48a2 feat(post): 新增手机图片排版与AI智能排版功能
- 新增手机图片排版功能,支持小红书/抖音尺寸输出
- 新增AI智能排版顾问,支持内容分析与优化推荐
- 新增AI供应商管理,支持多渠道配置与同步
- 新增文章输出管理页面,支持图片预览与批量下载
- 新增字体文件与排版样式配置
2026-05-01 12:23:17 +08:00

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();
}
}