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.
19 lines
309 B
19 lines
309 B
2 months ago
|
<?php
|
||
|
namespace app\card\model;
|
||
|
|
||
|
use app\BaseModel;
|
||
|
|
||
|
|
||
|
|
||
|
class UserSk extends BaseModel
|
||
|
{
|
||
|
//定义表名
|
||
|
protected $name = 'longbing_card_user_sk';
|
||
|
|
||
|
public function getSk($filter)
|
||
|
{
|
||
|
$result = $this->where($filter)->find();
|
||
|
if(!empty($result)) $result = $result->toArray();
|
||
|
return $result;
|
||
|
}
|
||
|
}
|