shish 2 년 전
부모
커밋
bc4e67b8fc
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      app-mall/controllers/OrderController.php

+ 4 - 2
app-mall/controllers/OrderController.php

@@ -150,8 +150,10 @@ class OrderController extends BaseController
 
             if (isset($return->shopId)) {
                 if ($return->shopId == 2) {
-                    if ($return->actPrice < 2) {
-                        util::fail('满200元支持送货上门');
+                    if ($return->actPrice < 200) {
+                        if ($return->sendType == 0) {
+                            util::fail('满200元支持送货上门');
+                        }
                     }
                 }
             }