/** * 设置各种码的header信息 * @param int $code */ public static function sendHeaderCode($paramArr) { $options = array('code' => ''); if (is_array($paramArr)) { $options = array_merge($options, $paramArr); } extract($options); API_Http::sendHeaderCode($code); }