Commit 627db3dd authored by Administrator's avatar Administrator

再次报警提示

parent 598bee60
Pipeline #86 failed with stages
......@@ -126,7 +126,7 @@ class SwooleCommandMeTcpController extends Controller
if ($davicedata[1] != 1 && $type['endtime'] == '') {
$up = DB::table('reportpolice')
->where('devicenumber', '=', $davicedata[0])
->update(['concentration' => $davicedata[2], 'policestatus' => $davicedata[1], 'status' => 1]);
->update(['concentration' => $davicedata[2], 'policestatus' => $davicedata[1], 'police' => 1, 'status' => 1]);
}
} else {
if ($davicedata[1] != 1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment