更新银行卡信息
This commit is contained in:
parent
b15a510c1c
commit
1ef494997a
@ -1491,6 +1491,12 @@ class StoreOrderRepository extends BaseRepository
|
|||||||
]
|
]
|
||||||
);
|
);
|
||||||
if (!$res) throw new ValidateException('数据不存在');
|
if (!$res) throw new ValidateException('数据不存在');
|
||||||
|
if(in_array($res['source'],[13])){
|
||||||
|
$res['bank_info']=Db::name('merchant_intention')->where('status',1)->where('uid',$res['uid'])->field('company_name,bank_username,bank_opening,bank_code')->find();
|
||||||
|
}else{
|
||||||
|
$res['bank_info']=[];
|
||||||
|
}
|
||||||
|
|
||||||
$res['integral'] = (int)$res['integral'];
|
$res['integral'] = (int)$res['integral'];
|
||||||
return $res->append(['refund_extension_one', 'refund_extension_two']);
|
return $res->append(['refund_extension_one', 'refund_extension_two']);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user