shish 4 years ago
parent
commit
2051a90f54
1 changed files with 2 additions and 0 deletions
  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'])) {
                 $openId = $post['currentMiniOpenId'];
             }
+        }
+        if (empty($openId)) {
             util::fail('没有openId');
         }
         $capitalType = dict::getDict('capitalType', 'hdPurchaseClear', 'id');