You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
357 B
19 lines
357 B
<?php
|
|
namespace app\home\controller;
|
|
|
|
use app\common\controller\BaseController;
|
|
use app\common\model\ImGroupModel;
|
|
|
|
class Index extends BaseController
|
|
{
|
|
public function index()
|
|
{
|
|
$data = ImGroupModel::Inst()->find(1);
|
|
return $data;
|
|
}
|
|
|
|
public function hello($name = 'ThinkPHP6')
|
|
{
|
|
return 'hello,' . $name;
|
|
}
|
|
}
|