"身份证", 1 => "护照", 2 => "台胞证", 3 => "港澳通行证" ]; /** * @var int * ASFC 会员 */ const ASFC_VIP = 1; /** * @var int * 非 ASFC 会员 */ const NOT_ASFC_VIP = 0; /** * @var int * 俱乐部会员 */ const CLUP_USER = 1; /** * @var int * 非俱乐部会员 */ const NOT_CLUP_USER = 0; public function getPlayers(int $member_id) { return $this->where('member_id', 'eq', $member_id)->find(); } public function getPlayerId(int $id) { return $this->field('id,real_name,age,province,player_pic,member_id')->where('id', 'eq', $id)->find(); } }