作者 刘锟

update

... ... @@ -508,7 +508,12 @@ public function transmit($request, $type = self::TYPEVISIT, $traffic = self::TRA
}
@file_put_contents(storage_path('logs/fail_req/' . date('Y-m-d') . '.log'), var_export($dataJson, true) . PHP_EOL, FILE_APPEND);
}
$this->response("success", self::SUCCESS, $resp["data"] ?? []);
if($type == self::TYPEINQUIRY){
$this->response("success", self::SUCCESS, $resp["data"] ?? []);
}else{
$this->success($resp["data"] ?? []);
}
}
/**
... ...