1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <?php
-
-
- namespace app\home\model;
-
- use think\Model;
-
-
- class UiConfig extends Model
- {
-
- protected function initialize()
- {
-
- parent::initialize();
- }
-
-
-
- public function getInfo($theme_style, $page, $type, $name)
- {
- $md5key = md5($theme_style.$page.$name);
- $map = array(
- 'md5key' => $md5key,
- 'type' => $type,
- );
- $result = M('ui_config')->where($map)->cache(true,EYOUCMS_CACHE_TIME,"ui_config")->find();
-
- return $result;
- }
- }
|