/** * 检测到评论过快的时候,会进入该接口 */ public static function bigapp_json_api_flood_comment($time_lastcomment = 0, $time_newcomment = 0) { $result = array("error_code" => BigAppErr::$comment['code'], "error_msg" => __('You are posting comments too quickly. Slow down.'), "data" => __lan('dup comment')); bigapp_core::set_response($result); }
public function logout() { $result = array("error_code" => 0, "error_msg" => "success", "data" => array()); bigapp_core::set_response($result); }