fuyu 5 years ago
parent
commit
e46160a00a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/inter/service/WechatService.php

+ 1 - 1
application/inter/service/WechatService.php

@@ -177,7 +177,7 @@ class WechatService {
       $sql2 .= " or idcard = ?";
       $options[] = $card_num;
     }
-    if($card_num) {
+    if($phone) {
       $sql2 .= " or phone = ?";
       $options[] = $phone;
     }