正在显示
1 个修改的文件
包含
26 行增加
和
0 行删除
app/Models/Comment/Comment.php
0 → 100644
| 1 | +<?php | ||
| 2 | +/** | ||
| 3 | + * @remark : | ||
| 4 | + * @name :Comment.php | ||
| 5 | + * @author :lyh | ||
| 6 | + * @method :post | ||
| 7 | + * @time :2024/9/9 14:53 | ||
| 8 | + */ | ||
| 9 | + | ||
| 10 | +namespace App\Models\Comment; | ||
| 11 | + | ||
| 12 | +use App\Models\Base; | ||
| 13 | + | ||
| 14 | +/** | ||
| 15 | + * @remark :評論 | ||
| 16 | + * @name :Comment | ||
| 17 | + * @author :lyh | ||
| 18 | + * @method :post | ||
| 19 | + * @time :2024/9/9 14:54 | ||
| 20 | + */ | ||
| 21 | +class Comment extends Base | ||
| 22 | +{ | ||
| 23 | + protected $table = 'gl_comment'; | ||
| 24 | + //连接数据库 | ||
| 25 | + protected $connection = 'custom_mysql'; | ||
| 26 | +} |
-
请 注册 或 登录 后发表评论