minmod
This commit is contained in:
parent
eeac74f128
commit
5d1cac0c97
|
@ -3,7 +3,7 @@
|
|||
"module": {
|
||||
"method": {
|
||||
"description": "Test de l'API",
|
||||
"permissions": ["warehouse", "admin"],
|
||||
"permissions": ["warehouse"],
|
||||
"parameters": {}
|
||||
},
|
||||
|
||||
|
|
|
@ -129,4 +129,3 @@
|
|||
//
|
||||
// // USE CASE :: select(FIELD1, FIELD2, ...)
|
||||
// mixed = ORM::Row->select('id_user', 'username');
|
||||
?>
|
||||
|
|
|
@ -331,7 +331,7 @@
|
|||
=========================================================*/
|
||||
$actionsReq = new Repo('action/getAll');
|
||||
$actions = ($actionsReq->error==0) ? $actionsReq->answer() : [];
|
||||
var_dump($actionsReq->answer());
|
||||
// var_dump($actionsReq->answer());
|
||||
|
||||
/* [2] On regroupe les actions par TIMEOUT
|
||||
=========================================================*/
|
||||
|
|
|
@ -9,11 +9,11 @@
|
|||
/* PERMET DE TESTER L'API
|
||||
*
|
||||
*/
|
||||
public static function method(){
|
||||
public static function method($params){
|
||||
|
||||
return [
|
||||
'ModuleError' => ManagerError::Success,
|
||||
'ReceivedArguments' => func_get_args()
|
||||
'ReceivedArguments' => $params
|
||||
];
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue