             
             // 根据[订单状态]和[课程是否被抢占标记]来判断支付结果
             dispatch_async(dispatch_get_main_queue()) { [weak self] in
+                ThemeHUD.hideActivityIndicator()
                 
                 // 判断是否被抢买
                 if order.is_timeslot_allocated == false {

    ///  - parameter error:                 PingppError对象
    ///  - parameter currentViewController: 当前视图控制器
    func handleResult(result: String, error: PingppError?, currentViewController: UIViewController?) {
        
        dispatch_async(dispatch_get_main_queue(), { () -> Void in
            ThemeHUD.showActivityIndicator()
        })
        
        guard currentViewController != nil else {
            ThemeHUD.hideActivityIndicator()

                }
            }
            
        })
    }
    
