作者 王智

222

... ... @@ -443,11 +443,6 @@ class Api
$info[$i]['price'] = $gradient[$k]['price' . $n];
}
}
$i = 0;
foreach ($info as $k => $v) {
$info[$k]['kid'] = $i;
$i++;
}
foreach ($list as $k => $v) {
$list[$k]['avatar'] = cdnurl($v['avatar'], true);
$list[$k]['price'] = round($price, 2);;
... ... @@ -505,6 +500,11 @@ class Api
$info[$i]['price'] = $gradient[$k]['price' . $n];
}
}
$i = 0;
foreach ($info as $k => $v) {
$info[$k]['kid'] = $i;
$i++;
}
foreach ($list as $k => $v) {
$list[$k]['avatar'] = cdnurl($v['avatar'], true);
$list[$k]['price'] = round($price, 2);;
... ...