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

赠送积分和角色管理

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