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.
|
<?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;
|
|
}
|
|
} |