Skip to content
Snippets Groups Projects
Commit f8b3c721 authored by jgaimard's avatar jgaimard
Browse files

web service jaquette

parent 6d333d1e
Branches
Tags
No related merge requests found
......@@ -122,14 +122,15 @@ class Class_WebService_AllServices {
static function uploadVignetteForNotice($url, $id) {
$notice = Class_Notice::find($id);
$result = static::runServiceAfiUploadVignette(array_filter(['isbn' => $notice->getIsbn(),
'ean' => $notice->getEan(),
'type_doc' => $notice->getTypeDocPergame(),
'titre' => $notice->getTitrePrincipal(),
'auteur' => $notice->getAuteurPrincipal(),
'image' => $url,
'tome_alpha' => $notice->getTomeAlpha(),
'numero' => $notice->getTomeAlpha(),
'clef_chapeau' => $notice->getClefChapeau()]));
if ('ok' !== $result['statut'])
if ('ok' !== $result['statut_recherche'])
return $result['message'];
$notice
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment