diff --git a/app/admin/view/default/order/module/operate.html b/app/admin/view/default/order/module/operate.html index 9420ed612..2121940c2 100644 --- a/app/admin/view/default/order/module/operate.html +++ b/app/admin/view/default/order/module/operate.html @@ -18,12 +18,12 @@ {{/if}} {{if $module_data['operate_data']['is_delivery'] eq 1}} {{if $module_data['order_model'] eq 2}} - {{else /}} - diff --git a/app/service/BuyService.php b/app/service/BuyService.php index f89c13210..fbe2bbdec 100755 --- a/app/service/BuyService.php +++ b/app/service/BuyService.php @@ -554,7 +554,7 @@ class BuyService 'is_delete_time' => 0, 'is_shelves' => 1, ], - 'field' => 'id AS goods_id, title, images, inventory_unit, buy_min_number, buy_max_number, model', + 'field' => 'id,id AS goods_id, title, images, inventory_unit, buy_min_number, buy_max_number, model', ]); $ret = GoodsService::GoodsList($goods_params); if(empty($ret['data'][0])) diff --git a/app/service/UserAddressService.php b/app/service/UserAddressService.php index 08705e107..2bf549e60 100644 --- a/app/service/UserAddressService.php +++ b/app/service/UserAddressService.php @@ -193,6 +193,10 @@ class UserAddressService { $is_default = true; } + + // 地理位置距离字段 + $v['distance_value'] = null; + $v['distance_unit'] = null; } // 是否处理默认地址,没有默认地址将第一个设置为默认地址