feat(post): 新增手机图片排版与AI智能排版功能

- 新增手机图片排版功能,支持小红书/抖音尺寸输出
- 新增AI智能排版顾问,支持内容分析与优化推荐
- 新增AI供应商管理,支持多渠道配置与同步
- 新增文章输出管理页面,支持图片预览与批量下载
- 新增字体文件与排版样式配置
This commit is contained in:
augushong
2026-05-01 12:23:17 +08:00
parent b4558b55fb
commit 83a2bd48a2
25 changed files with 4440 additions and 0 deletions

19
config/output_type.php Normal file
View File

@@ -0,0 +1,19 @@
<?php
return [
'phone_image' => [
'name' => '手机图片排版',
'handler' => \app\common\tools\PhoneImage::class,
'description' => '将文章排版为手机尺寸图片,适合小红书/抖音等平台',
'templates' => ['minimal', 'magazine', 'mixed'],
'sizes' => [
'xiaohongshu' => ['name' => '小红书', 'width' => 1080, 'height' => 1440],
'douyin' => ['name' => '抖音', 'width' => 1080, 'height' => 1920],
],
'fonts' => [
'source-han-sans' => ['name' => '思源黑体', 'file' => 'SourceHanSans-Normal.otf'],
'alibaba-puhuiti' => ['name' => '阿里巴巴普惠体', 'file' => 'AlibabaPuHuiTi-3-Regular.ttf'],
'lxgw-wenkai' => ['name' => '霞鹜文楷', 'file' => 'LXGWWenKai-Regular.ttf'],
],
],
];