|
@@ -67,7 +67,7 @@ class MetaRepository {
|
|
$meta = $this->meta->create($data);
|
|
$meta = $this->meta->create($data);
|
|
|
|
|
|
DB::commit();
|
|
DB::commit();
|
|
- QrCode::size(200)->generate("http://uptoyo.com/".$meta['id'],public_path().'/qrcodes/'.$meta['patch_num'].'.png');
|
|
|
|
|
|
+ QrCode::generate("http://uptoyo.com/".$meta['id'],public_path().'/qrcodes/'.$meta['patch_num'].'.png');
|
|
return Response::create();
|
|
return Response::create();
|
|
}catch (QueryException $exception){
|
|
}catch (QueryException $exception){
|
|
DB::rollBack();
|
|
DB::rollBack();
|