|
...
|
...
|
@@ -40,6 +40,8 @@ class AyrReleaseLogic extends BaseLogic |
|
|
|
public function release_add(){
|
|
|
|
$this->param['project_id'] = $this->user['project_id'];
|
|
|
|
$this->param['operator_id'] = $this->user['id'];
|
|
|
|
$this->param['images'] = implode(',',$this->param['images']);
|
|
|
|
$this->param['platforms'] = json_encode($this->param['platforms']);
|
|
|
|
$rs = $this->model->add($this->param);
|
|
|
|
if($rs === false){
|
|
|
|
$this->fail('error');
|
...
|
...
|
|