     var accounts = [Account]()
 
     public class func registerAccount(account: Account)  {
-        monkeyKing.accounts.append(account)
+        sharedMonkeyKing.accounts.append(account)
     }
 
     public class func handleOpenURL(URL: NSURL) -> Bool {

        public enum WeChatType {
            case Session
            case Timeline
        }
        case WeChat(WeChatType)
    }


    public class func shareMessage(message: Message, finish: Finish) {

        switch message {

        case .WeChat(let type):

            for case let .WeChat(appID) in sharedMonkeyKing.accounts {

                var info: [String: String] = [
                    "result": "1",
                    "returnFromApp": "0",
                    "scene": type.scene,
                    "sdkver": "1.5",
                    "command": "1010",
                ]

                switch type {
                case .Session:

                    info["title"] = "Hello"
                    info["mediaUrl"] = "http://baidu.com"
                    info["objectType"] = "5"

                case .Timeline:
                    break
                }

                let dic = [appID: info]

                guard let data = try? NSPropertyListSerialization.dataWithPropertyList(dic, format: NSPropertyListFormat.BinaryFormat_v1_0, options: NSPropertyListWriteOptions(0)) else {
                    return
                }

                UIPasteboard.generalPasteboard().setData(data, forPasteboardType: "content")

                let weChatSchemeURLString = "weixin://app/\(appID)/sendreq/?"

                guard let URL = NSURL(string: weChatSchemeURLString) else {
                    return
                }
                
                UIApplication.sharedApplication().openURL(URL)
            }
        }
    }
}

