first commit
This commit is contained in:
40
application/mobile/controller/Tools.php
Normal file
40
application/mobile/controller/Tools.php
Normal file
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
// +-----------------------------------------------------------------------------------+
|
||||
// | Software: 卍 |
|
||||
// | Version: 0.1 |
|
||||
// | Site: http://www.xdeepu.cn |
|
||||
// | Author: 玄尘 <122383162@qq.com> |
|
||||
// | Copyright (c) 2017, http://www.xdeepu.cn. All Rights Reserved. |
|
||||
// +-----------------------------------------------------------------------------------+
|
||||
|
||||
namespace app\mobile\controller;
|
||||
|
||||
use app\common\model\MemberList as MemberListModel;
|
||||
|
||||
/**
|
||||
* fdsaf
|
||||
*/
|
||||
class Tools extends _Init
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
$this->list = MemberListModel::where('')->select();
|
||||
return $this->fetch('');
|
||||
}
|
||||
public function add()
|
||||
{
|
||||
if (IS_POST) {
|
||||
# code...
|
||||
} else {
|
||||
$this->showfoot = '1';
|
||||
$this->list = MemberListModel::where('')->select();
|
||||
|
||||
return $this->fetch('');
|
||||
}
|
||||
|
||||
}
|
||||
public function info()
|
||||
{
|
||||
return $this->fetch('');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user