Commit 9895e125 authored by 章建武's avatar 章建武

dep

parent 073a490c
Pipeline #52 canceled with stages
...@@ -61,6 +61,7 @@ class IndexController extends Controller ...@@ -61,6 +61,7 @@ class IndexController extends Controller
->where('language_type', '=', $language_type) ->where('language_type', '=', $language_type)
->where(['status'=>0]) ->where(['status'=>0])
->limit(1) ->limit(1)
->where('type','=',2)
->orderBy('created_at','desc') ->orderBy('created_at','desc')
->first(); ->first();
...@@ -68,6 +69,7 @@ class IndexController extends Controller ...@@ -68,6 +69,7 @@ class IndexController extends Controller
->where('language_type', '=', $language_type) ->where('language_type', '=', $language_type)
->limit(1) ->limit(1)
->where(['status'=>0]) ->where(['status'=>0])
->where('type','=',3)
->orderBy('updated_at','desc') ->orderBy('updated_at','desc')
->first(); ->first();
......
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