Commit 7b73fad0 by 杨昕

add log

parent b0b7e50f
Pipeline #18916 passed with stages
in 1 minute 0 seconds
......@@ -17,7 +17,7 @@ class AliOssModel
'Content-Type: application/json; charset=utf-8',
'Content-Length: ' . strlen(json_encode($data))
);
$res = http_request_code($url,$header,"POST",$data,2);
$res = http_request_code($url,$header,"POST",json_encode($data),2);
LogModel::addlog([" 获取阿里OSS临时token 1"=>$res,"请求URL"=>$url,"请求头header"=>$header]);
return json_decode($res,true);
}
......
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