...
|
...
|
@@ -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;
|
...
|
...
|
|