作者 范庆奥
1 个管道 的构建 通过 耗费 3 秒

海报最近体验电子数优化

... ... @@ -617,7 +617,13 @@ class Mycenter extends Api
} else {
$image->text($getUserPercentage, $ttf, 40, [255, 255, 255, 20], [280, 650]);
}
$image->text('我最近体验过的' . $count . '个点子是...', $ttf, 20, [255, 255, 255, 10], [30, 930]);
if($count<=5){
$expCount=$count;
}else{
$expCount=5;
}
$image->text('我最近体验过的' . $expCount . '个点子是...', $ttf, 20, [255, 255, 255, 10], [30, 930]);
switch ($count) {
case 1:
if (mb_strlen($list[0]) > 24) {
... ...