                 return false
             }
         }
+
+        public static func ==(lhs: MonkeyKing.Account, rhs: MonkeyKing.Account) -> Bool {
+            return lhs.appID == rhs.appID
+        }
     }
 
     public enum SupportedPlatform {

import UIKit
import WebKit

public func ==(lhs: MonkeyKing.Account, rhs: MonkeyKing.Account) -> Bool {
    return lhs.appID == rhs.appID
}

open class MonkeyKing: NSObject {

    public typealias DeliverCompletionHandler = (_ result: DeliverResult) -> Void
    public typealias OAuthCompletionHandler = (_ info: [String: Any]?, _ response: URLResponse?, _ error: Swift.Error?) -> Void
    public typealias PayCompletionHandler = (_ result: Bool) -> Void

        case weibo
        case pocket(requestToken: String)
        case alipay
    }

    open class func registerAccount(_ account: Account) {
