* Converts an integer to int.

This commit is contained in:
tianshujie
2024-03-04 10:07:40 +08:00
committed by caoyanyi
parent 60821e0c5d
commit 6de25e6ea0
+1
View File
@@ -40,6 +40,7 @@ class transferTao extends transferModel
if(!is_string($value)) continue;
if(strpos($value, '$') === false) continue;
$params[$param] = isset($getParams[ltrim($value, '$')]) ? $getParams[ltrim($value, '$')] : '';
if(is_numeric($params[$param]) && strpos($params[$param], ".") ===false) $params[$param] = (int)$params[$param];
}
/* 调用模块的方法。 */