|
@@ -46,7 +46,7 @@ class Trainactive extends Api
|
|
|
if($info['userauth_status'] == 0 && $this->auth->idcard_status != 1){
|
|
|
$this->error('您未实名,不能签到该培训活动');
|
|
|
}
|
|
|
- if(!in_array($this->auth->id,$info['user_ids'])){
|
|
|
+ if(!in_array($this->auth->id,explode(',',$info['user_ids']))){
|
|
|
$this->error('您不能签到该培训活动');
|
|
|
}
|
|
|
|