rabin 3 anni fa
parent
commit
d0f1973ede
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      service/mail/lib/Manage.php

+ 2 - 2
service/mail/lib/Manage.php

@@ -64,8 +64,8 @@ class Manage
         } else {
             Dever::setInput('day', Dever::input('search_option_month'));
             list($start, $end) = Dever::month();
-            $tiyan = Dever::db('shop/info')->total(array('status' => 1, 'type' => 1, 'start' => $start, 'end' => $end));
-            $lingshou = Dever::db('shop/info')->total(array('status' => 1, 'type' => 2, 'start' => $start, 'end' => $end));
+            $tiyan = Dever::db('shop/info')->total(array('status' => 1, 'type' => 1, 'end' => $end));
+            $lingshou = Dever::db('shop/info')->total(array('status' => 1, 'type' => 2, 'end' => $end));
             $total = $tiyan + $lingshou;
             $manage['info'] = date('Y年m月', $month) . ' 共有店铺 ' . $total . ' 家 体验店 ' . $tiyan . ' 家 零售店 ' . $lingshou . ' 家';
             $manage['desc'] = '';