Commit 05b06aca authored by zhoujun's avatar zhoujun

守护天数

parent eade9830
......@@ -386,9 +386,9 @@ class CardController extends Controller
$data['ybImg'] = 'img-C';
}
$data['rank'] = '青铜';
$data['rank'] = '青铜5';
$rank = explode('-',$info->max_rank);
if(!empty($rank)) $data['rank'] = $rank[0] ?? '青铜';
if(!empty($rank)) $data['rank'] = empty($rank[0]) ? '青铜5' : $rank[0];
if(!empty($armsScore)){
$armsScoreNum = '00000';
if(strlen($armsScore[0]['score']) == 1) $armsScoreNum = '0000'.(string)$armsScore[0]['score'];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment