Commit 93e5d63d authored by zhoujun's avatar zhoujun

调试图片

parent 265d2717
...@@ -394,7 +394,7 @@ class CardController extends Controller ...@@ -394,7 +394,7 @@ class CardController extends Controller
$data['ybImg'] = 'img-C'; $data['ybImg'] = 'img-C';
} }
$data['rank'] = $info->max_rank ?? '青铜5'; $data['rank'] = empty($info->max_rank) ? '青铜5' : $info->max_rank;
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