|
@@ -64,8 +64,8 @@ class Invite extends Controller
|
|
|
$create_at = $this->request->get('create_at');
|
|
|
if(isset($create_at) && $create_at) {
|
|
|
$time = explode(' - ',$_GET['create_at']);
|
|
|
- $start_date_time = $time[0].' 00:00:00';
|
|
|
- $end_date_time = $time[1].' 23:59:59';
|
|
|
+ $start_date_time = $time[0];
|
|
|
+ $end_date_time = $time[1];
|
|
|
$this->_query($this->table)
|
|
|
->field('pid,count(*) count')
|
|
|
->where('pid','>',0)
|
|
@@ -128,8 +128,8 @@ class Invite extends Controller
|
|
|
$create_at = $this->request->get('create_at');
|
|
|
if(isset($create_at) && $create_at) {
|
|
|
$time = explode(' - ',$_GET['create_at']);
|
|
|
- $start_date_time = $time[0].' 00:00:00';
|
|
|
- $end_date_time = $time[1].' 23:59:59';
|
|
|
+ $start_date_time = $time[0];
|
|
|
+ $end_date_time = $time[1];
|
|
|
$list = Db::name('store_member')
|
|
|
->field('pid,count(*) count')
|
|
|
->where('pid','>',0)
|