|
|
$pointParent = $this->model->where(['id'=> $pointId,'mark'=>1])->select(['id','points'])->first();
|
|
$pointParent = $this->model->where(['id'=> $pointId,'mark'=>1])->select(['id','points'])->first();
|
|
|
$points = isset($pointParent['points']) && $pointParent['points']? $pointParent['points'].$pointId.',' : ($pointId ? $pointId . ',' : '');
|
|
$points = isset($pointParent['points']) && $pointParent['points']? $pointParent['points'].$pointId.',' : ($pointId ? $pointId . ',' : '');
|