Commit 477af4dc authored by 冯超鹏's avatar 冯超鹏

api

parent bd91a0a2
Pipeline #125 canceled with stages
...@@ -20,7 +20,7 @@ use Validator; ...@@ -20,7 +20,7 @@ use Validator;
class UinappHomeController extends Controller class UinappHomeController extends Controller
{ {
public function devicedatainfo(){ public function devicedatainfo(){
// $data = DB::table('device as d') // $data = DB::table('device as d')
// ->join('device_type as t','d.dtype','=','t.tid') // ->join('device_type as t','d.dtype','=','t.tid')
// ->join('gas as g','d.status','=','g.id') // ->join('gas as g','d.status','=','g.id')
......
...@@ -122,7 +122,7 @@ Route::group(['middleware'=>'auth:api'],function (){ ...@@ -122,7 +122,7 @@ Route::group(['middleware'=>'auth:api'],function (){
//uinapp 接口 //uinapp 接口
Route::group(['middleware'=>'auth:api'],function (){ Route::group(['middleware'=>'auth:api'],function (){
Route::get('huinapphome/devicedatainfo','UinappHomeController@deviceDataInfo');//设备详情 Route::get('huinapphome/devicedatainfo','UinappHomeController@devicedatainfo');//设备详情
}); });
// Fake APIs // Fake APIs
Route::get('/table/list', function () { 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