|
@@ -802,7 +802,7 @@ class HaiKangController extends BaseController
|
|
|
|
|
|
//宁煤通过海康接口获取首桢图片
|
|
//宁煤通过海康接口获取首桢图片
|
|
public function getPictureByHk($query){
|
|
public function getPictureByHk($query){
|
|
- $url = $this->artemis.'/api/video1/manualCapture';
|
|
|
|
|
|
+ $url = $this->artemis.'/api/video/v1/manualCapture';
|
|
$params['cameraIndexCode'] = $query->index_code;
|
|
$params['cameraIndexCode'] = $query->index_code;
|
|
$this->sign = $this->get_sign($url);
|
|
$this->sign = $this->get_sign($url);
|
|
$picture = $this->curlPost($this->pre_url . $url, json_encode($params));
|
|
$picture = $this->curlPost($this->pre_url . $url, json_encode($params));
|