diff --git a/www-api/public/svs/user/userve.php b/www-api/public/svs/user/userve.php index e05ba833..be2e7e5b 100755 --- a/www-api/public/svs/user/userve.php +++ b/www-api/public/svs/user/userve.php @@ -43,7 +43,8 @@ $endpoints = array( 'couponpending' => array('POST'), 'couponredeem' => array('POST'), 'sendinterestmessage' => array('POST'), - 'replyinterestmessage' => array('POST') + 'replyinterestmessage' => array('POST'), + 'disableaccount' => array('POST') ); $call_backend = true; // sometimes we need to overwite the call to the extenstion API @@ -106,6 +107,14 @@ if ($_SERVER["REQUEST_METHOD"] == "GET") { } $in["loc"] = $_SERVER["REMOTE_ADDR"]; switch ($endpoint) { + case 'disableaccount': + $local_out = [ + 'result'=>'100', + 'status'=> '3', + 'msg'=> 'This is from backend' + ]; + // $call_backend = false; + break; case 'replyinterestmessage': $in["action"] = WRENCHBOARD_JOB_REPLY_QUESTION; break;