DB::enableQueryLog();
$last_month_cost = DB::table('ds_dwb_game_summary')
->where("userid","in",$tuple_uid)
->whereRaw("ds>={$start} and ds<= {$end}")
->sum('cost');
dd(DB::getQueryLog());
微信小程序
微信扫一扫体验
微信公众账号
微信扫一扫加关注
发表评论 取消回复