shish 4 éve
szülő
commit
2051a90f54
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      app-hd/controllers/PurchaseClearController.php

+ 2 - 0
app-hd/controllers/PurchaseClearController.php

@@ -86,6 +86,8 @@ class PurchaseClearController extends BaseController
             if (isset($post['currentMiniOpenId']) && !empty($post['currentMiniOpenId'])) {
             if (isset($post['currentMiniOpenId']) && !empty($post['currentMiniOpenId'])) {
                 $openId = $post['currentMiniOpenId'];
                 $openId = $post['currentMiniOpenId'];
             }
             }
+        }
+        if (empty($openId)) {
             util::fail('没有openId');
             util::fail('没有openId');
         }
         }
         $capitalType = dict::getDict('capitalType', 'hdPurchaseClear', 'id');
         $capitalType = dict::getDict('capitalType', 'hdPurchaseClear', 'id');