mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-07-01 18:02:47 +08:00
feat(post): 新增手机图片排版与AI智能排版功能
- 新增手机图片排版功能,支持小红书/抖音尺寸输出 - 新增AI智能排版顾问,支持内容分析与优化推荐 - 新增AI供应商管理,支持多渠道配置与同步 - 新增文章输出管理页面,支持图片预览与批量下载 - 新增字体文件与排版样式配置
This commit is contained in:
26
app/model/PostOutputFile.php
Normal file
26
app/model/PostOutputFile.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user