Commit b0b7e50f by 杨昕

add log

parent b34793a8
Pipeline #18915 passed with stages
in 1 minute 1 second
...@@ -18,7 +18,7 @@ class AliOssModel ...@@ -18,7 +18,7 @@ class AliOssModel
'Content-Length: ' . strlen(json_encode($data)) 'Content-Length: ' . strlen(json_encode($data))
); );
$res = http_request_code($url,$header,"POST",$data,2); $res = http_request_code($url,$header,"POST",$data,2);
LogModel::addlog([" 获取阿里OSS临时token 1"=>$res,"请求URL"=>$url]); LogModel::addlog([" 获取阿里OSS临时token 1"=>$res,"请求URL"=>$url,"请求头header"=>$header]);
return json_decode($res,true); return json_decode($res,true);
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment