作者 lihan
1 个管道 的构建 通过 耗费 0 秒

赠送积分和角色管理

... ... @@ -122,9 +122,9 @@ class AdminIndexController extends AdminBaseController
'step' => ['neq', 1]
];
$data = Db::name('zj_order')->where($map)->field('*')->select();
$whole = $data[0]['whole'];
$whole_num = $data[0]['whole_num'];
$total = $whole - $whole_num;
// $whole = $data[0]['whole'];
// $whole_num = $data[0]['whole_num'];
// $total = $whole - $whole_num;
print_r($data->toArray());
} else {
$total = 0;
... ...