fuyu 4 years ago
parent
commit
11744b1bd6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/inter/controller/Dcquery.php

+ 1 - 1
application/inter/controller/Dcquery.php

@@ -174,7 +174,7 @@ class Dcquery extends Controller
             $institution = DB::table('institution')->where('id',$study_info['institution_id'])->field('name,is_yyk')->find();
             $institution = DB::table('institution')->where('id',$study_info['institution_id'])->field('name,is_yyk')->find();
             if($institution['is_yyk'] == 1 && $flag == 'pc')
             if($institution['is_yyk'] == 1 && $flag == 'pc')
             {
             {
-                if(strtotime("-0 year -3 month -0 day") < strtotime($institution['createdAt']))
+                if(strtotime("-0 year -3 month -0 day") > strtotime($institution['createdAt']))
                 {
                 {
                     // 创建时间大于三个月前的时间戳  已过三个月
                     // 创建时间大于三个月前的时间戳  已过三个月
                     $return['alert'] = [
                     $return['alert'] = [