<?php
header("Content-Type: text/plain");
$guid = input('guid');
$object = get_business_page($guid);
if(!$object){
		echo 0;
		exit();
}
$cover = new \Ossn\Component\BusinessPage\Cover;
if($cover->addCover($guid)){
		$object = get_business_page($guid);
		echo $object->coverURL();
} else {
		echo 0;	
}
exit;