接口调整,留言管理调整
This commit is contained in:
parent
6bc3a32e79
commit
4ab22822f8
@ -47,12 +47,12 @@ class Encyclopedia extends Base
|
||||
$user_id = 0;
|
||||
$user = $this->auth->getUser();//登录用户
|
||||
if($user)$user_id = $user['id'];
|
||||
$page = $this->request->get('page/d', 0); //页数
|
||||
$limit = $this->request->get('limit/d', 0); //条数
|
||||
$keywords = $this->request->get('keywords/s', ''); //搜索关键字
|
||||
$recommend = $this->request->get('recommend/s', ''); //搜索关键字
|
||||
$page = $this->request->param('page/d', 0); //页数
|
||||
$limit = $this->request->param('limit/d', 0); //条数
|
||||
$keywords = $this->request->param('keywords/s', ''); //搜索关键字
|
||||
$recommend = $this->request->param('recommend/s', ''); //搜索关键字
|
||||
$params =[];
|
||||
$cate_id = $this->request->get('cate_id/s', ''); //搜索关键字
|
||||
$cate_id = $this->request->param('cate_id/s', ''); //搜索关键字
|
||||
// $params["flag"] = $this->request->get('flag/s', ''); //搜索关键字
|
||||
// $params["hot"] = $this->request->get('hot/s', ''); //搜索关键字
|
||||
// $params["fine"] = $this->request->get('fine/s', ''); //搜索关键字
|
||||
@ -86,7 +86,7 @@ class Encyclopedia extends Base
|
||||
$user_id = 0;
|
||||
$user = $this->auth->getUser();//登录用户
|
||||
if($user)$user_id = $user['id'];
|
||||
$id = $this->request->get('id/d');
|
||||
$id = $this->request->param('id/d');
|
||||
|
||||
try{
|
||||
$menulist = $this->model->detail($id,$show_field=[],$except_field=[],$user_id);
|
||||
|
@ -46,12 +46,12 @@ class Information extends Base
|
||||
$user_id = 0;
|
||||
$user = $this->auth->getUser();//登录用户
|
||||
if($user)$user_id = $user['id'];
|
||||
$page = $this->request->get('page/d', 0); //页数
|
||||
$limit = $this->request->get('limit/d', 0); //条数
|
||||
$keywords = $this->request->get('keywords/s', ''); //搜索关键字
|
||||
$recommend = $this->request->get('recommend/s', ''); //搜索关键字
|
||||
$page = $this->request->param('page/d', 0); //页数
|
||||
$limit = $this->request->param('limit/d', 0); //条数
|
||||
$keywords = $this->request->param('keywords/s', ''); //搜索关键字
|
||||
$recommend = $this->request->param('recommend/s', ''); //搜索关键字
|
||||
$params =[];
|
||||
$cate_id = $this->request->get('cate_id/s', ''); //搜索关键字
|
||||
$cate_id = $this->request->param('cate_id/s', ''); //搜索关键字
|
||||
// $params["flag"] = $this->request->get('flag/s', ''); //搜索关键字
|
||||
// $params["hot"] = $this->request->get('hot/s', ''); //搜索关键字
|
||||
// $params["fine"] = $this->request->get('fine/s', ''); //搜索关键字
|
||||
@ -85,7 +85,7 @@ class Information extends Base
|
||||
$user_id = 0;
|
||||
$user = $this->auth->getUser();//登录用户
|
||||
if($user)$user_id = $user['id'];
|
||||
$id = $this->request->get('id/d');
|
||||
$id = $this->request->param('id/d');
|
||||
|
||||
try{
|
||||
$menulist = $this->model->detail($id,$show_field=[],$except_field=[],$user_id);
|
||||
|
@ -84,12 +84,12 @@ class LeaveWord extends Base
|
||||
$user_id = 0;
|
||||
$user = $this->auth->getUser();//登录用户
|
||||
if($user)$user_id = $user['id'];
|
||||
$page = $this->request->get('page/d', 0); //页数
|
||||
$limit = $this->request->get('limit/d', 0); //条数
|
||||
$keywords = $this->request->get('keywords/s', ''); //搜索关键字
|
||||
$status = $this->request->get('status/s', ''); //搜索关键字
|
||||
$page = $this->request->param('page/d', 0); //页数
|
||||
$limit = $this->request->param('limit/d', 0); //条数
|
||||
$keywords = $this->request->param('keywords/s', ''); //搜索关键字
|
||||
$status = $this->request->param('status/s', ''); //搜索关键字
|
||||
$params =[];
|
||||
$show = $this->request->get('show/s', ''); //搜索关键字
|
||||
$show = $this->request->param('show/s', ''); //搜索关键字
|
||||
// $params["flag"] = $this->request->get('flag/s', ''); //搜索关键字
|
||||
// $params["hot"] = $this->request->get('hot/s', ''); //搜索关键字
|
||||
// $params["fine"] = $this->request->get('fine/s', ''); //搜索关键字
|
||||
|
@ -49,15 +49,15 @@ class News extends Base
|
||||
$user_id = 0;
|
||||
$user = $this->auth->getUser();//登录用户
|
||||
if($user)$user_id = $user['id'];
|
||||
$page = $this->request->get('page/d', 0); //页数
|
||||
$limit = $this->request->get('limit/d', 0); //条数
|
||||
$keywords = $this->request->get('keywords/s', ''); //搜索关键字
|
||||
$recommend = $this->request->get('recommend/s', ''); //搜索关键字
|
||||
$page = $this->request->param('page/d', 0); //页数
|
||||
$limit = $this->request->param('limit/d', 0); //条数
|
||||
$keywords = $this->request->param('keywords/s', ''); //搜索关键字
|
||||
$recommend = $this->request->param('recommend/s', ''); //搜索关键字
|
||||
$params =[];
|
||||
$cate_id = $this->request->get('cate_id/s', ''); //搜索关键字
|
||||
$params["flag"] = $this->request->get('flag/s', ''); //搜索关键字
|
||||
$params["hot"] = $this->request->get('hot/s', ''); //搜索关键字
|
||||
$params["fine"] = $this->request->get('fine/s', ''); //搜索关键字
|
||||
$cate_id = $this->request->param('cate_id/s', ''); //搜索关键字
|
||||
$params["flag"] = $this->request->param('flag/s', ''); //搜索关键字
|
||||
$params["hot"] = $this->request->param('hot/s', ''); //搜索关键字
|
||||
$params["fine"] = $this->request->param('fine/s', ''); //搜索关键字
|
||||
|
||||
|
||||
// $type = $this->request->get('type/s', ''); //筛选学员和教练单
|
||||
@ -96,12 +96,12 @@ class News extends Base
|
||||
$user = $this->auth->getUser();//登录用户
|
||||
if($user)$user_id = $user['id'];
|
||||
$params=[];
|
||||
$page = $this->request->get('page/d', 0); //页数
|
||||
$limit = $this->request->get('limit/d', 0); //条数
|
||||
$page = $this->request->param('page/d', 0); //页数
|
||||
$limit = $this->request->param('limit/d', 0); //条数
|
||||
|
||||
$params["flag"] = $this->request->get('flag/s', ''); //搜索关键字
|
||||
$params["hot"] = $this->request->get('hot/s', ''); //搜索关键字
|
||||
$params["home"] = $this->request->get('home/s', ''); //搜索关键字
|
||||
$params["flag"] = $this->request->param('flag/s', ''); //搜索关键字
|
||||
$params["hot"] = $this->request->param('hot/s', ''); //搜索关键字
|
||||
$params["home"] = $this->request->param('home/s', ''); //搜索关键字
|
||||
|
||||
try{
|
||||
//当前申请状态
|
||||
@ -126,7 +126,7 @@ class News extends Base
|
||||
$user_id = 0;
|
||||
$user = $this->auth->getUser();//登录用户
|
||||
if($user)$user_id = $user['id'];
|
||||
$id = $this->request->get('id/d');
|
||||
$id = $this->request->param('id/d');
|
||||
|
||||
try{
|
||||
$menulist = $this->model->detail($id,$show_field=[],$except_field=[],$user_id);
|
||||
|
BIN
public/uploads/20250523/c0cde0ee18f3696b4254823d2c098a5d.png
Normal file
BIN
public/uploads/20250523/c0cde0ee18f3696b4254823d2c098a5d.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 238 KiB |
BIN
public/uploads/20250523/e3e703669d24cb61cff1c9c28aecc725.png
Normal file
BIN
public/uploads/20250523/e3e703669d24cb61cff1c9c28aecc725.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 205 KiB |
BIN
public/uploads/20250523/e95f49007982d1546009003833c8841c.png
Normal file
BIN
public/uploads/20250523/e95f49007982d1546009003833c8841c.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 299 KiB |
Loading…
x
Reference in New Issue
Block a user