[修复]推广员充值统计无promote_id问题

master
chenzhi 5 years ago
parent 0983eb633c
commit df9d1415df

@ -489,6 +489,7 @@ class PlatformController extends ThinkController
->where("pay_time".$pay_time)
->find();
$dbdata['promote_account'] = $promote[$i]['account'];
$dbdata['promote_id'] = $promote[$i]['id'];
} else {
$dbdata = $spend
->field('
@ -500,6 +501,7 @@ class PlatformController extends ThinkController
->where("pay_time".$pay_time)
->find();
$dbdata['promote_account'] = $promote[$i]['account'];
$dbdata['promote_id'] = $promote[$i]['id'];
}
$data[] = $dbdata;
}

@ -120,7 +120,7 @@
<volist name="list_data" id="data">
<tr>
<td >{$data['promote_account']}</td>
<td ><span class='ljcz' data-value='{$data["promote_id"]}'><a>{$data.count}</a></span></td>
<td ><span class='ljcz' data-value="{$data['promote_id']}"><a>{$data.count}</a></span></td>
<!-- <td ><strong><if condition="$data.rand eq 1"><span>{$data.rand}</span><elseif condition="$data.rand eq 2"/><span>{$data.rand}</span><elseif condition="$data.rand eq 3"/><span>{$data.rand}</span><else/>{$data.rand}</if></strong></td> -->
<td >{$data.today}</td>
<td >{$data.week}</td>

Loading…
Cancel
Save