fuyu 5 năm trước cách đây
mục cha
commit
e46160a00a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
     }