1
0

first commit

This commit is contained in:
2020-08-06 14:58:51 +08:00
commit 17096657dc
780 changed files with 92857 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<?php
// +------------------------------------------------+
// |http://www.cjango.com |
// +------------------------------------------------+
// | 修复BUG不是一朝一夕的事情等我喝醉了再说吧 |
// +------------------------------------------------+
// | Author: 小陈叔叔 <Jason.Chen> |
// +------------------------------------------------+
namespace app\system\controller;
use app\common\model\VipOrder;
use app\common\service\Vip as VipService;
class Vip extends _Init
{
public function index($title = '')
{
$map = [];
if (!empty($title)) {
$ids = VipService::getIds($title);
$map['uid'] = ['in', $ids];
}
$this->list = VipOrder::where($map)->order('create_time desc')->paginate();
return $this->fetch('');
}
public function info($id)
{
$this->list = VipOrder::where('uid', $id)->paginate();
return $this->fetch('');
}
}