其余文件

This commit is contained in:
2026-04-14 17:46:22 +08:00
parent 294b68fe37
commit 3691f4db22
1343 changed files with 189847 additions and 0 deletions

View File

@ -0,0 +1,31 @@
<?php
namespace app\common\model\community;
use app\common\basics\Models;
use app\common\model\user\User;
/**
* 种草社区点赞
* Class CommunityLike
* @package app\common\model\community
*/
class CommunityLike extends Models
{
/**
* @notes 关联用户
* @return \think\model\relation\HasOne
* @author 段誉
* @date 2022/5/10 19:03
*/
public function user()
{
return $this->hasOne(User::class, 'id', 'user_id')
->bind(['nickname', 'avatar', 'sn']);
}
}