|
...
|
...
|
@@ -40,7 +40,9 @@ class AyrReleaseLogic extends BaseLogic |
|
|
|
public function release_add(){
|
|
|
|
$this->param['project_id'] = $this->user['project_id'];
|
|
|
|
$this->param['operator_id'] = $this->user['id'];
|
|
|
|
if(isset($this->param['images']) && !empty($this->param['images'])){
|
|
|
|
$this->param['images'] = implode(',',$this->param['images']);
|
|
|
|
}
|
|
|
|
$this->param['platforms'] = json_encode($this->param['platforms']);
|
|
|
|
$rs = $this->model->add($this->param);
|
|
|
|
if($rs === false){
|
...
|
...
|
|