Browse Source

银行卡/支付宝详情调整

zhangxiaobin 1 year ago
parent
commit
789637eb23
1 changed files with 2 additions and 2 deletions
  1. 2 2
      application/api/controller/Withdraw.php

+ 2 - 2
application/api/controller/Withdraw.php

@@ -231,7 +231,7 @@ class Withdraw extends Common
     public function getBankInfo() {
         // 查询是否有过绑定
         $bankInfo = \app\common\model\UserBank::where(["user_id"=>$this->auth->id])->find();
-        if(!$bankInfo) $this->error("银行卡信息获取失败!");
+        //if(!$bankInfo) $this->error("银行卡信息获取失败!");
         $this->success("获取成功!",$bankInfo);
     }
 
@@ -282,7 +282,7 @@ class Withdraw extends Common
     public function getAlipayInfo() {
         // 查询是否有过绑定
         $alipayInfo = UserAlipay::where(["user_id"=>$this->auth->id])->find();
-        if(!$alipayInfo) $this->error("支付宝信息获取失败!");
+        //if(!$alipayInfo) $this->error("支付宝信息获取失败!");
         $this->success("获取成功!",$alipayInfo);
     }