正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -69,7 +69,7 @@ class UpdateProgress extends Command | @@ -69,7 +69,7 @@ class UpdateProgress extends Command | ||
| 69 | if(!empty($info)){ | 69 | if(!empty($info)){ |
| 70 | $info = (array)$info; | 70 | $info = (array)$info; |
| 71 | //超时时间 | 71 | //超时时间 |
| 72 | - $time = date("Y-m-d H:i:s",strtotime($info['created_at']) + $info['total_num'] * 5); | 72 | + $time = date("Y-m-d H:i:s",strtotime($info['created_at']) + $info['total_num'] * 3600); |
| 73 | if($time > date("Y-m-d H:i:s")){ | 73 | if($time > date("Y-m-d H:i:s")){ |
| 74 | DB::connection('custom_mysql')->table('gl_update_progress')->where('id',$info['id'])->update(['current_num'=>$info['total_num']]); | 74 | DB::connection('custom_mysql')->table('gl_update_progress')->where('id',$info['id'])->update(['current_num'=>$info['total_num']]); |
| 75 | //获取当前项目的用户 | 75 | //获取当前项目的用户 |
-
请 注册 或 登录 后发表评论