作者 李小龙

表单提交返回调整

... ... @@ -449,7 +449,7 @@ public function deleteDirectory($path)
* @param $request
* @param string $type
* @param int $traffic
* @return string
* @return string|void
*/
public function transmit($request, $type = self::TYPEVISIT, $traffic = self::TRAFFICZERO)
{
... ... @@ -491,7 +491,8 @@ 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);
}
return $this->success();
$this->response("success",self::SUCCESS,$resp);
return;
}
/**
... ...