public function before()
 {
     $isDebugMode = false;
     if (isset($_GET['apiDebug']) && $_GET['apiDebug'] == 1) {
         $isDebugMode = true;
     }
     if (!$isDebugMode && Bll_CustomerRush_Basic::isMaintenanceMode()) {
         $data = array('status' => Const_APIStatus::RETURN_CODE_ERROR, 'errcode' => Const_APIStatus::E_CUSTOMER_RUSH_MAINTENANCE, 'message' => '抢客户功能维护中,预计花费1小时,请耐心等待。');
         header('Content-Type: application/json; charset=utf-8');
         echo json_encode($data);
         return self::STEP_EXIT;
     }
     return self::STEP_CONTINUE;
 }