xxxrrrdddd 2 years ago
parent
commit
c2f82916a3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/common/model/Mobile.php

+ 1 - 1
application/common/model/Mobile.php

@@ -145,7 +145,7 @@ class Mobile extends Model
 
             if(isset($mobile->getChangedData()['is_activity'])){
                 if($mobile->getChangedData()['is_activity']==1) {
-                    self::where('id', '>', 0)->update(['activity_time' => null]);
+                    //self::where('id', '>', 0)->update(['activity_time' => null]);
                     $mobile['activity_time'] = time();
                 }else{
                     $mobile['activity_time']=null;