This commit is contained in:
2023-02-17 23:32:05 -05:00
parent 9566b81f40
commit b5736e8121
7 changed files with 99 additions and 32 deletions
+5
View File
@@ -59,6 +59,7 @@ class Myfituser extends BaseController
'resources' => ['GET'],
'trackcategory' => ['GET'],
'resetpass' => ['POST'],
'tracking' => ['POST'],
];
$res1 = [];
@@ -133,6 +134,10 @@ class Myfituser extends BaseController
$myfitTracking = new \App\Models\myfitTracking();
$res1 = $myfitTracking->getTrackCategory();
break;
case 'tracking':
$myfitTracking = new \App\Models\myfitTracking();
$res1 = $myfitTracking->trackEngine($raw_array);
break;
}
return $this->response->setJson($res1);