|
@@ -13,23 +13,6 @@ class Index extends Frontend
|
|
|
protected $noNeedRight = '*';
|
|
|
protected $layout = '';
|
|
|
|
|
|
- public function aaaa(){
|
|
|
- $query = Db::name('pay_order')
|
|
|
- ->whereBetween('createtime',[1706716800,1706803199])
|
|
|
- ->where('status',1)
|
|
|
- ->whereNotIn('user_id',[1556])
|
|
|
- ->where('payment_class','wechat');
|
|
|
-
|
|
|
- dd($query->sum('money'));
|
|
|
-
|
|
|
- $list = $query->select();
|
|
|
-
|
|
|
- foreach ($list as $key=>$item){
|
|
|
- $list[$key]['createtime'] = date('Y-m-d H:i:s',$item['createtime']);
|
|
|
- }
|
|
|
- dd($list);
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* 测试 汇付 支付
|
|
|
*/
|