         public enum WeChatType {
             case Session
             case Timeline
+
+            var scene: String {
+                switch self {
+                case .Session:
+                    return "0"
+                case .Timeline:
+                    return "1"
+                }
+            }
         }
         case WeChat(WeChatType)
     }

    var accounts = [Account]()

    public class func registerAccount(account: Account)  {
        monkeyKing.accounts.append(account)
    }

    public class func handleOpenURL(URL: NSURL) -> Bool {


public class MonkeyKing {

    static let sharedMonkeyKing = MonkeyKing()

    public enum Account {
        case WeChat(appID: String)
