|
@@ -212,7 +212,7 @@ class Index extends Controller
|
|
|
|
|
|
public function goldTest()
|
|
|
{
|
|
|
- $keyFilePath = public_path('dihua-01-5690813badec.json');
|
|
|
+ $keyFilePath = '/etc/nginx/nginx/html/dihua-01-5690813badec.json';
|
|
|
$storage = new StorageClient(['projectId'=>'dihua-01','keyFilePath' => $keyFilePath]);
|
|
|
$bucket = $storage->bucket('freeshippingvps');
|
|
|
|