feat: 添加筛选条件 is_adopt=2

This commit is contained in:
mkm 2024-05-29 17:43:56 +08:00
parent aa485dfe3d
commit 06ce28a988

View File

@ -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'],