|
@@ -5,6 +5,7 @@ namespace app\admin\controller;
|
|
|
use think\Validate;
|
|
use think\Validate;
|
|
|
use think\Lang;
|
|
use think\Lang;
|
|
|
use app\admin\model\Userinfo;
|
|
use app\admin\model\Userinfo;
|
|
|
|
|
+use app\common\model\User as UserModel;
|
|
|
|
|
|
|
|
class User extends AdminControl
|
|
class User extends AdminControl
|
|
|
{
|
|
{
|
|
@@ -21,7 +22,7 @@ class User extends AdminControl
|
|
|
*/
|
|
*/
|
|
|
public function index()
|
|
public function index()
|
|
|
{
|
|
{
|
|
|
- $model_user = Model('User');
|
|
|
|
|
|
|
+ $model_user = new UserModel();
|
|
|
$title = input('post.title');
|
|
$title = input('post.title');
|
|
|
$time = input('post.timeRang');
|
|
$time = input('post.timeRang');
|
|
|
if (!empty($time)) {
|
|
if (!empty($time)) {
|