Systemconfig.php 421 B

123456789101112131415161718192021222324252627
  1. <?php
  2. namespace app\service\model;
  3. use think\Model;
  4. /**
  5. * 设置模型
  6. */
  7. class Systemconfig extends Model
  8. {
  9. /**
  10. * 数据获取
  11. *
  12. * @access public
  13. * @return array 返回类型
  14. */
  15. public function selectSystemconfig()
  16. {
  17. $result = $this->field(['systemconfig_enName', 'systemconfig_data'])->select();
  18. return $result;
  19. }//end selectSystemconfig()
  20. }//end class