抽出bid_result_controller和bid_statistics_controller相同部分的代码