| xqd
@@ -613,6 +613,9 @@ class HomeController extends Controller
|
|
|
$hasPaid = QueryInfoModel::where('user_id', $_user->id)->where('grade', $_user->grade)->where('is_paid', 1)->count();
|
|
|
$not_expire = Carbon::now() < $_user->paid_end_time;
|
|
|
|
|
|
+ $price = PaidSettingModel::first();
|
|
|
+ if($price->price <=0 ) return 1;
|
|
|
+
|
|
|
if($hasPaid && $not_expire){
|
|
|
return 1;
|
|
|
}else{
|