'会员提交订单', OrderLogEnum::USER_CANCEL_ORDER => '会员取消订单', OrderLogEnum::USER_DEL_ORDER => '会员删除订单', OrderLogEnum::USER_CONFIRM_ORDER => '会员确认收货', OrderLogEnum::USER_PAID_ORDER => '会员支付订单', OrderLogEnum::SHOP_CANCEL_ORDER => '商家取消订单', OrderLogEnum::SHOP_DEL_ORDER => '商家删除订单', OrderLogEnum::SHOP_DELIVERY_ORDER => '商家发货', OrderLogEnum::SHOP_CONFIRM_ORDER => '商家确认收货', ]; if ($log === true) { return $desc; } return isset($desc[$log]) ? $desc[$log] : $log; } }