1.提交缺失的东西

This commit is contained in:
2025-05-16 16:21:38 +08:00
parent 0a32f51df3
commit 71abdfbca2

View File

@ -517,7 +517,7 @@ class OrderLogic extends LogicBase
$order_source = $post['client'];
$goods_lists = $data['goods_lists'];
$user_address = $data['address'];
$user = User::get($user_id);
$user = User::find($user_id);
if ($post['delivery_type'] != CommonOrder::DELIVERY_STATUS_SELF && empty($data['address'])) {
throw new Exception('请选择收货地址');