Commit eade9830 authored by zhoujun's avatar zhoujun

守护天数

parent e79cfc14
...@@ -388,7 +388,7 @@ class CardController extends Controller ...@@ -388,7 +388,7 @@ class CardController extends Controller
$data['rank'] = '青铜'; $data['rank'] = '青铜';
$rank = explode('-',$info->max_rank); $rank = explode('-',$info->max_rank);
if(!empty($rank)) $data['rank'] = $rank[0] ?? ''; if(!empty($rank)) $data['rank'] = $rank[0] ?? '青铜';
if(!empty($armsScore)){ if(!empty($armsScore)){
$armsScoreNum = '00000'; $armsScoreNum = '00000';
if(strlen($armsScore[0]['score']) == 1) $armsScoreNum = '0000'.(string)$armsScore[0]['score']; 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