GiftController.php
396 字节
<?php
namespace app\admin\controller;
use cmf\controller\AdminBaseController;
use think\Db;
class GiftController extends AdminBaseController {
public function index() {
$request = request();
if($request->isPost()) {
}else {
return $this->fetch('', [
'data' => Db::name('gift')->where(['id'=>1])->find()
]);
}
}
}