修改上报数据
This commit is contained in:
@@ -5,6 +5,7 @@ namespace Extend\Detection;
|
||||
use App\Constants\HttpEnumCode;
|
||||
use App\Exception\BusinessException;
|
||||
use App\Model\BasicDetectionOrgan;
|
||||
use App\Utils\Log;
|
||||
use GuzzleHttp\Client;
|
||||
use GuzzleHttp\Exception\GuzzleException;
|
||||
use Hyperf\Di\Annotation\Inject;
|
||||
@@ -78,6 +79,12 @@ class Base
|
||||
$arg = array_merge($arg,$option);
|
||||
}
|
||||
|
||||
// 打印使用
|
||||
$l = $arg;
|
||||
unset($l['json']['pictureOfDetectionTube']);
|
||||
dump($l);
|
||||
|
||||
Log::getInstance("请求参数")->info(json_encode($arg,JSON_UNESCAPED_UNICODE));
|
||||
$response = $this->client->post($path, $arg);
|
||||
|
||||
if ($response->getStatusCode() != '200'){
|
||||
|
||||
Reference in New Issue
Block a user