|
@@ -163,7 +163,7 @@ class Userwallet extends Api
|
|
|
|
|
|
$data = [
|
|
$data = [
|
|
'money' => model('wallet')->getwallet($this->auth->id,'money'),
|
|
'money' => model('wallet')->getwallet($this->auth->id,'money'),
|
|
- 'alipay_account' => ($this->auth->idcard_status == 1 && isset($idcard_confirm['alipay_account'])) ? $idcard_confirm['alipay_account'] : '',
|
|
|
|
|
|
+ 'alipay_account' => '',
|
|
'min' => 1,
|
|
'min' => 1,
|
|
'max' => 1000,
|
|
'max' => 1000,
|
|
];
|
|
];
|
|
@@ -197,7 +197,6 @@ class Userwallet extends Api
|
|
$data = [
|
|
$data = [
|
|
'user_id' => $this->auth->id,
|
|
'user_id' => $this->auth->id,
|
|
'number' => $money,
|
|
'number' => $money,
|
|
- 'alipay_account' => $idcard_confirm['alipay_account'],
|
|
|
|
'status' => 0,
|
|
'status' => 0,
|
|
'createtime' => time(),
|
|
'createtime' => time(),
|
|
'updatetime' => time(),
|
|
'updatetime' => time(),
|
|
@@ -304,8 +303,7 @@ class Userwallet extends Api
|
|
$alipay_account = $user_bank_info['banknumber'];
|
|
$alipay_account = $user_bank_info['banknumber'];
|
|
$realname = $user_bank_info['realname'];
|
|
$realname = $user_bank_info['realname'];
|
|
|
|
|
|
- /*$idcard_confirm = Db::name('user_idconfirm')->where('user_id', $this->auth->id)->find();
|
|
|
|
- $alipay_account = $idcard_confirm['alipay_account'];*/
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
$data = [
|
|
$data = [
|
|
'user_id' => $this->auth->id,
|
|
'user_id' => $this->auth->id,
|
|
@@ -454,8 +452,7 @@ class Userwallet extends Api
|
|
$alipay_account = $user_bank_info['banknumber'];
|
|
$alipay_account = $user_bank_info['banknumber'];
|
|
$realname = $user_bank_info['realname'];
|
|
$realname = $user_bank_info['realname'];
|
|
|
|
|
|
- /*$idcard_confirm = Db::name('user_idconfirm')->where('user_id', $this->auth->id)->find();
|
|
|
|
- $alipay_account = $idcard_confirm['alipay_account'];*/
|
|
|
|
|
|
+
|
|
|
|
|
|
$data = [
|
|
$data = [
|
|
'user_id' => $this->auth->id,
|
|
'user_id' => $this->auth->id,
|