public function checkLogin()
 {
     $params = array();
     $params['method'] = "login.check";
     $params['ip'] = ACloudSysCoreCommon::getIp();
     $params['ua'] = $_SERVER['HTTP_USER_AGENT'];
     $params['posttime'] = time();
     require_once Wind::getRealPath("ACLOUD:system.core.ACloudSysCoreVerify");
     $params = $this->buildPostParams($params);
     $params['sign'] = ACloudSysCoreVerify::createSignWithOAuth($params);
     require_once Wind::getRealPath("ACLOUD:system.core.ACloudSysCoreHttp");
     $result = ACloudSysCoreHttp::sendPost($params);
     if (!is_object($result) || $result->code != 100) {
         return array(false, $result->msg);
     }
     return array(true, $result->msg);
 }
 public function getNetWorkInterflow()
 {
     require_once Wind::getRealPath("ACLOUD:system.core.ACloudSysCoreHttp");
     $result = ACloudSysCoreHttp::sendPost($this->buildPostParams('env.interflow', array()));
     return is_object($result) && $result->code == 100 ? true : false;
 }