...
|
...
|
@@ -33,7 +33,9 @@ class UserController extends RestBaseController |
|
|
->where(['c.delete_time'=>null,'uca.user_id'=>$v['id'],'uca.status'=>1,'c.start_time'=>$b_time])
|
|
|
->field('c.id')
|
|
|
->select()->toArray();
|
|
|
var_dump($v['id']);
|
|
|
var_dump($re);
|
|
|
var_dump($b_time);
|
|
|
if ($re){
|
|
|
foreach ($re as $k2=>$v2) {
|
|
|
$count=Db::name('coach_class')
|
...
|
...
|
|