shish 11 месяцев назад
Родитель
Сommit
6a4a6f75fb
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app-mall/controllers/OrderController.php

+ 1 - 1
app-mall/controllers/OrderController.php

@@ -816,7 +816,7 @@ class OrderController extends BaseController
         $custom = $this->custom;
         $hdId = $this->hdId;
         $hd = $this->hd;
-        if (!empty($customId) && !empty($hdId)) {
+        if (empty($customId) || empty($hdId)) {
             //考虑没有登录时的付款
             $shop = $this->shop;
             $defaultCustomId = $shop->defaultCustomId ?? 0;