删除自动开方时增加上报处方数据。增加自动结束时上报处方数据,修改上报处方脚本
This commit is contained in:
@@ -9,7 +9,7 @@ use GuzzleHttp\Client;
|
||||
use GuzzleHttp\Exception\GuzzleException;
|
||||
use Hyperf\Di\Annotation\Inject;
|
||||
use Hyperf\Redis\Redis;
|
||||
use Hyperf\Utils\ApplicationContext;
|
||||
use Hyperf\Context\ApplicationContext;
|
||||
use Psr\Container\ContainerExceptionInterface;
|
||||
use Psr\Container\ContainerInterface;
|
||||
use Psr\Container\NotFoundExceptionInterface;
|
||||
@@ -35,9 +35,9 @@ class regulatoryPlatform
|
||||
public function __construct()
|
||||
{
|
||||
// 请求地址
|
||||
$this->api_url = config('regulatory_platform.api_url');
|
||||
$this->client_id = config('regulatory_platform.client_id');
|
||||
$this->client_secret = config('regulatory_platform.client_secret');
|
||||
$this->api_url = \Hyperf\Config\config('regulatory_platform.api_url');
|
||||
$this->client_id = \Hyperf\Config\config('regulatory_platform.client_id');
|
||||
$this->client_secret = \Hyperf\Config\config('regulatory_platform.client_secret');
|
||||
$this->container = ApplicationContext::getContainer();
|
||||
$this->client = $this->container->get(Client::class);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user