订单自动收货参数错误修复

This commit is contained in:
gongfuxiang 2021-11-30 14:57:22 +08:00
parent bfad7da342
commit f6e151be4b

View File

@ -126,7 +126,7 @@ class CrontabService
if($ret['code'] == 0)
{
// 订单商品销量增加
$ret = OrderService::GoodsSalesCountInc(['order_id'=>$v['id'], 'order_status'=>$upd_data['status']]);
$ret = OrderService::GoodsSalesCountInc(['order_id'=>$v['id'], 'opt_type'=>'collect']);
if($ret['code'] == 0)
{
// 用户消息