| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?php
- /**
- * Created by PhpStorm.
- * User: wangming
- * Date: 2019/1/22
- * Time: 21:34
- */
- class Baseconfig{
- public function __construct()
- {
- }
- static public function getInfoById($id)
- {
- $Table_baseconfig = new Table_baseconfig();
- return $Table_baseconfig->getInfoById($id);
- }
- static public function getInfoByKey($openId)
- {
- $Table_baseconfig = new Table_baseconfig();
- return $Table_baseconfig->getInfoByKey($openId);
- }
- static public function add($attrs)
- {
- $Table_baseconfig = new Table_baseconfig();
- $id = $Table_baseconfig->add($attrs);
- return $id;
- }
- static public function update($id, $attrs)
- {
- $Table_baseconfig = new Table_baseconfig();
- return $Table_baseconfig->update($id, $attrs);
- }
- }
|