...
|
...
|
@@ -17,8 +17,8 @@ use think\Validate; |
|
|
class AboutController extends AdminBaseController
|
|
|
{
|
|
|
public function index(){
|
|
|
$data=Db::name('page')
|
|
|
->where('id',4)
|
|
|
$data=Db::name('about')
|
|
|
->where('id',1)
|
|
|
->paginate(10);
|
|
|
$this->assign([
|
|
|
'data'=>$data,
|
...
|
...
|
|