|
@@ -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);
|
|
|
}
|
|
|
|