Commit b1810d95 authored by 章建武's avatar 章建武

dep

parent a52ef0ac
...@@ -120,7 +120,7 @@ class ArticleController extends Controller ...@@ -120,7 +120,7 @@ class ArticleController extends Controller
$type = $request->get('type'); $type = $request->get('type');
$id = $request->post('id'); $id = $request->post('id');
$num = $request->post('num'); $num = $request->post('num');
ArticleInfo::where('id','=',$id)->increment('browse'); ArticleInfo::where('num','=',$num)->increment('browse');
$data = ArticleInfo::query()->where('type', '=', $type) $data = ArticleInfo::query()->where('type', '=', $type)
->where('id','<>',$id) ->where('id','<>',$id)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment