|
@@ -1347,7 +1347,9 @@ function getUserBuyCollection($data = []){
|
|
|
if ($sell_time <= time()){
|
|
|
$ret['state'] = 1;
|
|
|
}
|
|
|
- $ret['state'] = $data['state'];
|
|
|
+ else {
|
|
|
+ $ret['state'] = $data['state'];
|
|
|
+ }
|
|
|
$ret['sell_time'] = date('Y-m-d H:i:s',$sell_time);
|
|
|
}else{
|
|
|
$ret['state'] = $data['state'];
|