Index.php 589 B

1234567891011121314151617181920212223
  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\guard\controller\manage;
  9. use app\common\controller\Manage;
  10. use app\guard\model\Guard;
  11. class Index extends Manage{
  12. /**
  13. * 默认方法方式
  14. * @return void
  15. */
  16. public function Index(){
  17. $view['guard'] = Guard::where(['member_miniapp_id' => $this->member_miniapp_id])->select();
  18. return view()->assign($view);
  19. }
  20. }