管理后台>推广员>结算管理>推广提现--更新

master
chenxiaojun 5 years ago
parent 2cd5574de7
commit e9581a2e04

@ -1224,10 +1224,10 @@ class QueryController extends ThinkController
$save['audit_time'] = time(); $save['audit_time'] = time();
$save['status'] = $status; $save['status'] = $status;
$res = $withdraw->where($map)->save($save); $res = $withdraw->where($map)->save($save);
if ($res === false) { if ($res) {
$this->error('操作失败');
} else {
$this->success('操作成功', U('withdraw')); $this->success('操作成功', U('withdraw'));
} else {
$this->error('操作失败');
} }
} }

@ -170,11 +170,11 @@
</php> </php>
<tr> <tr>
<td> <td>
<eq name="data.status" value="0"> <if condition="$data['status'] eq 0 or $data['status'] eq 1">
<input class="ids" type="checkbox" value="{$data['id']}" name="ids[]"> <input class="ids" type="checkbox" value="{$data['id']}" name="ids[]">
<else /> <else/>
<input class="ids disabled" disabled="disabled" type="checkbox" value="{$data['id']}" name="ids[]"> <input class="ids disabled" disabled="disabled" type="checkbox" value="{$data['id']}" name="ids[]">
</eq> </if>
</td> </td>
<td>{$data.widthdraw_number}</td> <td>{$data.widthdraw_number}</td>
<td onclick="details('{$data["id"]}')"><span class="money_color">{$data.sum_money}</span></td> <td onclick="details('{$data["id"]}')"><span class="money_color">{$data.sum_money}</span></td>

Loading…
Cancel
Save