Ejemplo n.º 1
0
 /**
  * @param string $usr_uid {@min 32} {@max 32}
  *
  * @url POST /:usr_uid/image-upload
  */
 public function doPostUserImageUpload($usr_uid)
 {
     try {
         $user = new \ProcessMaker\BusinessModel\User();
         $user->uploadImage($usr_uid);
     } catch (\Exception $e) {
         //response
         throw new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage());
     }
 }