...
|
...
|
@@ -800,7 +800,8 @@ class User extends Api |
|
|
$info->getRelation('order')->visible(['id','order_sn','pay_time']);
|
|
|
}
|
|
|
if($info->getRelation('withdraw')){
|
|
|
$info->getRelation('withdraw')->payment_time = date('Y/m/d/H:i',$info->getRelation('withdraw')->payment_time);
|
|
|
$payment_time = empty($info->getRelation('withdraw')->payment_time) ? $info->getRelation('withdraw')->createtime : $info->getRelation('withdraw')->payment_time;
|
|
|
$info->getRelation('withdraw')->payment_time = date('Y/m/d/H:i',$payment_time);
|
|
|
$info->getRelation('withdraw')->visible(['id','order_sn','payment_time']);
|
|
|
}
|
|
|
$this->success('成功',$info);
|
...
|
...
|
|