version.ctrl.php 580 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * [WeEngine System] Copyright (c) 2014 WE7.CC
  4. * WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details.
  5. */
  6. defined('IN_IA') or exit('Access Denied');
  7. load()->model('welcome');
  8. load()->model('miniapp');
  9. $dos = array('home', 'get_daily_visittrend', 'display');
  10. $do = in_array($do, $dos) ? $do : 'home';
  11. $_W['page']['title'] = '小程序 - 管理';
  12. $wxapp_info = miniapp_fetch($_W['uniacid']);
  13. if ($do == 'display') {
  14. $wxapp_version_list = miniapp_version_all($_W['uniacid']);
  15. template('wxapp/version-display');
  16. }