|
|
<?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('sami_gift')->where(['id'=>1])->find()
|
|
|
]);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|