mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
이미지 파일 업로드시 본문 자동삽입되도록 수정
This commit is contained in:
parent
b32367a464
commit
0a82801a5b
2 changed files with 13 additions and 0 deletions
|
|
@ -46,6 +46,12 @@ class fileController extends file
|
|||
|
||||
$output = $this->insertFile($file_info, $module_srl, $upload_target_srl);
|
||||
Context::setResponseMethod('JSON');
|
||||
$this->add('file_srl',$output->get('file_srl'));
|
||||
$this->add('file_size',$output->get('file_size'));
|
||||
$this->add('direct_download',$output->get('direct_download'));
|
||||
$this->add('source_filename',$output->get('source_filename'));
|
||||
$this->add('download_url',$output->get('uploaded_filename'));
|
||||
$this->add('upload_target_srl',$output->get('upload_target_srl'));
|
||||
if($output->error != '0') $this->stop($output->message);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue