suggest tasks
This commit is contained in:
@@ -99,6 +99,8 @@ $routes->post('/en/wrench/api/v1/familyadd', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/familyupdate', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/familymanage', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/familysampletasks', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/familysuggesttasks', 'WrenchApi::apigate');
|
||||
|
||||
|
||||
$routes->post('/en/wrench/api/v1/recipients', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/addrecipient', 'WrenchApi::apigate');
|
||||
|
||||
@@ -117,6 +117,7 @@ class WrenchApi extends BaseController
|
||||
'payremcard' => ['POST'],
|
||||
'mynotifications' => ['POST'],
|
||||
'familysampletasks' => ['POST'],
|
||||
'familysuggesttasks' => ['POST'],
|
||||
];
|
||||
return $endpoints;
|
||||
}
|
||||
@@ -180,6 +181,9 @@ class WrenchApi extends BaseController
|
||||
break;
|
||||
case 'familysampletasks':
|
||||
$in["action"] = WRENCHBOARD_FAMILY_SAMPLETASKS;
|
||||
break;
|
||||
case 'familysuggesttasks':
|
||||
|
||||
break;
|
||||
case 'familylist':
|
||||
$in["action"] = WRENCHBOARD_FAMILY_LIST;
|
||||
|
||||
Reference in New Issue
Block a user