...
|
...
|
@@ -54,7 +54,8 @@ class CoachController extends RestBaseController |
|
|
$param['user_id']=$userId;
|
|
|
$param['create_time']=time();
|
|
|
$param['status']=0;
|
|
|
$param['product']=implode(',',$param['product']);
|
|
|
$param['product']=substr($param['product'],1,strlen($param['product'])-1);
|
|
|
// $param['product']=implode(',',$param['product']);
|
|
|
//判断是否有审核不通过的申请
|
|
|
$re = Db::name('coach')->where('user_id', $userId)->find();
|
|
|
if ($re) {
|
...
|
...
|
|