belongsTo(LhcLottery::class, 'issue', 'issue') ->select('issue', 'type', 'open_code', 'open_time', 'is_settlement'); } public static function getRemark($type) { if ($type == 1) { return '新澳门六合彩'; } elseif ($type == 2) { return '香港六合彩'; } elseif ($type == 3) { return '澳门六合彩'; } elseif ($type == 4) { return '极速六合彩'; } return ''; } }