今日订单

This commit is contained in:
chenbo 2023-12-22 17:07:09 +08:00
parent dd44ea63ce
commit 9398dfc214

View File

@ -43,7 +43,7 @@ class Order extends BaseController
public function currOrderInfo()
{
try {
$day = '2023-11-29'; // today
$day = 'today'; // today
$currOrderCountQuery = Db::name('store_order')->alias('o')
->field(['o.order_sn', 'o.real_name', 'o.user_phone', 'o.user_address', 'o.user_address_code', 'p.store_name', 'm.mer_name', 'o.create_time', 'o.status'])
->leftJoin('product_order_log og', 'o.order_id = og.order_id')