<?php
return [
'sendcloud' => [
'api_user' => env('SEND_CLOUD_USER'),
'api_key' => env('SEND_CLOUD_KEY'),
],
];
MAIL_DRIVER=sendcloud
SEND_CLOUD_USER=Hacking_test_mWeGIq
SEND_CLOUD_KEY=不给你看
/**
SendCloudTransport constructor.
*
@param $api_user
@param $api_key
*/
public function __construct($api_user, $api_key)
{
// $this->api_user = env(SEND_CLOUD_USER);
// $this->api_key = env(SEND_CLOUD_KEY);
$this->api_user = $api_user;
$this->api_key = $api_key;
}
为何读取不到呢