Backend Service Layer

This commit is contained in:
2019-03-08 16:27:41 +00:00
parent f4745eab09
commit d028bd3998
2 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -38,7 +38,7 @@ if (array_search($_SERVER['REQUEST_METHOD'], $methods) === false) {
exit();
}
$in["action"] = MERMS_USER_CREATEACCOUNT;
// $in["action"] = MERMS_USER_CREATEACCOUNT;
$in["loc"] = $_SERVER["REMOTE_ADDR"];
switch ($endpoint) {
@@ -58,7 +58,7 @@ switch ($endpoint) {
$out = $in;
switch ( $in["action"] ) {
case MERMS_USER_CREATEACCOUNT+10:
case 100:
$out["return"] = "REACH AND BACK";
$out["retrun_number"] = rand(1000,9999);
$out["endpoint"] = $endpoint;