dashboard
repositories
filestore
activity
search
login
main
/
companyProjecet
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
添加商品
quanwei
2025-11-28
3ea53e61cc23fdb3ddf8b38a199ca60a6da8c407
[companyProjecet.git]
/
admin
/
app
/
common
/
model
/
user
/
Visit.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
namespace app\common\model\user;
use app\common\model\BaseModel;
/**
* 收藏模型
*/
class Visit extends BaseModel
{
protected $pk = 'favorite_id';
protected $name = 'user_visit';
/**
* 关联用户
*/
public function user()
{
return $this->hasOne('app\\common\\model\\user\\User','user_id','user_id')->field(['user_id','nickName','mobile','avatarUrl','create_time']);
}
}