提交其他文件
This commit is contained in:
17
app/common/model/teastore/TeaStore.php
Normal file
17
app/common/model/teastore/TeaStore.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace app\common\model\teastore;
|
||||
|
||||
use app\common\model\BaseModel;
|
||||
|
||||
class TeaStore extends BaseModel
|
||||
{
|
||||
public static function teaStoreCollect($tea_store_id,$user_id)
|
||||
{
|
||||
return TeaStoreCollect::where('tea_store_id', $tea_store_id)
|
||||
->where("user_id",$user_id)
|
||||
->where("status",1)
|
||||
->find();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user