|
@@ -166,6 +166,7 @@ class Books extends Api
|
|
->where('goods_id',$id)
|
|
->where('goods_id',$id)
|
|
->where('status',1)
|
|
->where('status',1)
|
|
->where('is_expire',1)
|
|
->where('is_expire',1)
|
|
|
|
+ ->where('free_end_time','>',date("Y-m-d H:i:s"))
|
|
->where('is_deleted',1)->find();
|
|
->where('is_deleted',1)->find();
|
|
if($cer){
|
|
if($cer){
|
|
$list['is_certificate'] = 0;
|
|
$list['is_certificate'] = 0;
|