@@ -134,7 +134,7 @@ class Manage
$buy_num = $data['buy_num'];
- $html .= '订阅本数:('.$buy_num.'+'.$num_add_ding.')*'.$num_ratio_ding.'='.$num_ding;
+ $html = '订阅本数:('.$buy_num.'+'.$num_add_ding.')*'.$num_ratio_ding.'='.$num_ding;
return $html;
}
@@ -21,7 +21,8 @@ class Api
$data['num_ding'] = 0;
if ($star) {
foreach ($star as $k => $v) {
- $data['num_ding'] += $this->starDing($v);
+ $v = $this->starDing($v);
+ $data['num_ding'] += $v['num_ding'];
$data['num_up'] = $data['num_add_ding'] = 0;
@@ -76,7 +76,7 @@ return array
'col' => 'name,state,cdate',
'value' => array
(
- '"默认栏目",1,' . time(),
+ '"默认分类",1,' . time(),
),