Commit 26abffd9 authored by songxiaohang's avatar songxiaohang

update:code为0的条件优化

parent 8a412935
......@@ -70,7 +70,7 @@ class MonUtil{
}
//接口返回状态码打点
if(!empty($code) && is_numeric($code)){
if(isset($code) && is_numeric($code)){
$result = self::counting($module . "." . (string)$request_uri, (string)$code,1) . "\n";
}else{
$result = self::counting($module . "." . (string)$request_uri, (string)-999,1) . "\n";
......
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