Index.php 732 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * @copyright Copyright (c) 2017 https://www.sapixx.com All rights reserved.
  4. * @license Licensed (http://www.apache.org/licenses/LICENSE-2.0).
  5. * @author pillar<ltmn@qq.com>
  6. * 管理首页
  7. */
  8. namespace app\green\controller\Manage;
  9. use app\common\controller\Manage;
  10. class Index extends Manage{
  11. public $mini_program = [];
  12. public function initialize(){
  13. parent::initialize();
  14. $this->mini_program = ['member_miniapp_id' => $this->member_miniapp_id];
  15. $this->assign('pathMaps',[['name'=>'商户管理','url'=>url("device/index")]]);
  16. }
  17. /**
  18. * 商家关联
  19. * @return void
  20. */
  21. public function index(){
  22. $this->redirect(url('user/index'));
  23. }
  24. }