You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bjhedasx/app/fire/model/FireExpertFollow.php

15 lines
311 B

<?php
namespace app\fire\model;
use think\model\concern\SoftDelete;
class FireExpertFollow extends Base
{
use SoftDelete;
public function followExpert()
{
return $this->hasOne('FireExpert','id','expert_id')->bind(['fire_expert.user_id','name','brief'])->where(['is_publish'=>2]);
}
}