Explorar o código

Merge branch 'wugg' of wugg/phpstock into version1.5

wugg %!s(int64=2) %!d(string=hai) anos
pai
achega
30efe1aa0a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/admin/controller/Log.php

+ 1 - 1
app/admin/controller/Log.php

@@ -115,7 +115,7 @@ class Log extends BaseController
         $count = Db::name("order_msg")->where($condition)->count();
         $total = ceil($count/$size);
         $page = $page >= $total ? $total : $page;
-        $list =Db::name("order_msg")->where($condition)->page($page,$size)->select();
+        $list =Db::name("order_msg")->where($condition)->page(intval($page),$size)->select();
         $data=[];
         $type = \think\facade\Config::get("order");
         foreach ($list as $value){