1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <?php
- namespace app\admin\model;
- use support\Db;
- use support\Model;
- class H5Config extends Model
- {
-
- protected $table = 'h5_config';
- public $timestamps = false;
-
- public static function getConfig()
- {
- $date = static::select('*')
- ->where('config_name','h5')
- ->first();
- return $date;
- }
-
- }
|