Backend Service Layer
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user