Files
OMS/app/ome/lib/saas/service.php
2025-12-28 23:13:25 +08:00

51 lines
1007 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* Copyright © ShopeX http://www.shopex.cn. All rights reserved.
* See LICENSE file for license details.
*/
class ome_saas_service {
private $site;
/**
* __construct
* @param mixed $site site
* @return mixed 返回值
*/
public function __construct(ome_saas_site &$site) {
$this->site = $site;
}
/**
* @获取ome_saas_site实例化的对象
* @access public
* @param void
* @return object
*/
public function getSite(){
return $this->site;
}
/**
* @获取服务到期的剩余天数
* @access public
* @param void
* @return int
*/
public function getValidityDate() {
return $this->site->getManager ()->getValidityDate ();
}
/**
* @获取服务基本信息
* @access public
* @param void
* @return int
*/
public function getInfo() {
return $this->site->getManager ()->getInfo ();
}
}