Commit 619194ec by 朱继来

调整

parent beb3c5df
Showing with 2 additions and 1 deletions
......@@ -17,7 +17,7 @@ class OpLogModel extends Model
//列表
public function getList()
{
$input = Request::all();
$input = Request::all();
$list = $this->where(function ($query) use ($input) {
foreach ($input as $k => $v){
$v = trim($v);
......@@ -25,6 +25,7 @@ class OpLogModel extends Model
continue;
}
switch ($k){
case "relation_id":
case "relation_sn":
case "types":
$query->where($k,$v);
......
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 sign in to comment