作者 李小龙

返回

... ... @@ -491,7 +491,11 @@ 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);
if (isset($resp["data"])){
$this->response("success",self::SUCCESS,$resp["data"]);
}else{
$this->success();
}
return;
}
... ...