|
@@ -110,7 +110,7 @@ class DwyController extends BaseController
|
|
|
{
|
|
|
$data = $request->all();
|
|
|
file_put_contents('dwy1.txt', json_encode($data) . PHP_EOL, 8);
|
|
|
-// $this->post_helper("https://tmapp.dwycloud.com/api/openCommand",json_encode($data),[]);
|
|
|
+ $this->post_helper("https://clouddevice.qingyaokeji.com/api/openCommand",$data,[]);
|
|
|
$device_id = $data['device_code'];
|
|
|
$box_code = $data['box_code'];
|
|
|
$key = $data['type'];
|