                           success: success,
                           fail: fail)
     }
-
+    
     /// POST 请求
     ///
     /// - Parameters:

                        RGNetwork.hideProgress()
                    }
                })
                .responseJSON { (response) in
                    print("RGNetwork \(method.rawValue) request debugDescription: \n", response.debugDescription)
                    let httpStatusCode = response.response?.statusCode
                    let data = response.data
                    let jsonString = String(data: data!, encoding: String.Encoding.utf8)
                    if let result = response.result.value {
                        success(result as! [String : Any], requestString, jsonString!, "\(httpStatusCode!)")
                        DispatchQueue.main.async {
                            RGNetwork.hideProgress()
                        }
                    } else {
                        fail(response.result.error, requestString)
                        DispatchQueue.main.async {
                            RGNetwork.hideProgress()
                            RGToast.shared.toast(message: "网络访问失败")
                        }
                    }
            }
        }
    }

    //  Request String Log
    fileprivate static func requestURL(_ urlString: String, parameters: [String: Any]?) -> String {
        if parameters?.keys.count == 0 && parameters == nil {

                          success: success,
                          fail: fail)
    }
    
    /// DELETE 请求
    ///
    /// - Parameters:
