| 123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
- /***
- * Class St_log
- * * @author 王刚涛
- * 日线数据
- */
- class St_log {
- public function __construct()
- {
- }
- static public function getInfoById($id)
- {
- $Table_st_log = new Table_st_log();
- return $Table_st_log->getInfoById($id);
- }
- static public function add($attrs)
- {
- if (empty($attrs)) throw new Exception('参数不能为空', 101);
- $Table_st_log = new Table_st_log();
- $id = $Table_st_log->add($attrs);
- return $id;
- }
- static public function getList($filter = array(), $count=0, $page=0, $pageSize=0)
- {
- $Table_st_log = new Table_st_log();
- return $Table_st_log->getList($filter, $count, $page, $pageSize);
- }
- }
- ?>
|