$v) { if($k != "sign" && $v != "" && !is_array($v)){ $buff .= $k . "=" . $v . "&"; } } $buff = trim($buff, "&"); return $buff; } /** * 获取当前时间 * 格式为:年月日时分秒 * @return false|string */ public static function getCurrentDateStr() { return date("YmdHis", time()); } }