- Timestamp:
- Mar 18, 2015 2:34:17 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/www/deploy/20150304/application/libraries/vservices.php
r787 r788 37 37 return $this->_curlObj->execute(); 38 38 } 39 public function getPreview ( ) {39 public function getPreview ($fileId) { 40 40 $this->_curlObj->create($this->_apiUrl. 'space/preview/'); 41 41 $this->_curlObj->option(CURLOPT_BUFFERSIZE, 10); 42 42 $this->_curlObj->options(array(CURLOPT_BUFFERSIZE => 10)); 43 $post = $this->_userId ? array('file id' => 575) : array();43 $post = $this->_userId ? array('fileId' => $fileId,'userId' => $this->_userId) : array(); 44 44 $this->_curlObj->post($post); 45 45 return $this->_curlObj->execute();
Note: See TracChangeset
for help on using the changeset viewer.