Commit 4418150e authored by 冯超鹏's avatar 冯超鹏

no message

parent 43687989
Pipeline #117 canceled with stages
......@@ -96,7 +96,7 @@ class DevicesController extends Controller
{
$deviceid = $request->input('deviceid');
if ($_POST) {
$up = DB::table('device')
$up = DB::table('devicepoliceinfo')
->where('id', '=', $deviceid)
->update(['delete' => 2]);
return $this->jsonSuccessData($up);
......
......@@ -122,7 +122,7 @@ Route::group(['middleware'=>'auth:api'],function (){
//uinapp 接口
Route::group(['middleware'=>'auth:api'],function (){
Route::get('HomeGZHYController/deviceDataInfo/{id}','HomeGZHYController@deviceDataInfo');//设备详情
Route::get('homecontroller/deviceDataInfo/{id}','HomeGZHYController@deviceDataInfo');//设备详情
});
// Fake APIs
Route::get('/table/list', function () {
......
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