|
|
@@ -182,7 +182,7 @@ class DevicesService extends BaseService
|
|
|
];
|
|
|
|
|
|
// 调用亮灯接口处理
|
|
|
- $apiUrl = ConfigService::make()->getConfigByCode('gd_api_url');
|
|
|
+ $apiUrl = ConfigService::make()->getConfigByCode('gd_api_url').'/LEDControl.ashx';
|
|
|
RedisService::set($errorKey.':request', ['url'=> $apiUrl,'data'=> $data], 3600);
|
|
|
$result = httpRequest($apiUrl, $data,'post','',3);
|
|
|
RedisService::set($errorKey.':result', $result, 3600);
|