diff --git a/app/api/logic/operation/OpurchaseGoodsOfferLogic.php b/app/api/logic/operation/OpurchaseGoodsOfferLogic.php index 84a15b5..1eb69ef 100644 --- a/app/api/logic/operation/OpurchaseGoodsOfferLogic.php +++ b/app/api/logic/operation/OpurchaseGoodsOfferLogic.php @@ -55,6 +55,7 @@ class OpurchaseGoodsOfferLogic extends BaseLogic $time=strtotime($params['date']); $where[]=['create_time','between',[$time,$time+24*60*60-1]];//当天时间范围 } + $where['is_adopt']=2; OpurchaseGoodsOffer::where($where)->update([ 'delivery_name' => $params['delivery_name'], 'delivery_id' => $params['delivery_id'],