Add delete calls
This commit is contained in:
@@ -102,7 +102,7 @@ define('WRENCHBOARD_USER_SENDJOBINT', 11052);
|
||||
|
||||
define('WRENCHBOARD_ACCOUNT_WALLETS', 11060);
|
||||
|
||||
|
||||
define('WRENCHBOARD_USER_DELETEACC', 11990);
|
||||
define('WRENCHBOARD_ACCOUNT_END', 11999);
|
||||
//**************************************************************
|
||||
define('WRENCHBOARD_JOB_CREATEJOB',13010 );
|
||||
|
||||
@@ -108,12 +108,7 @@ 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;
|
||||
$in['action'] = WRENCHBOARD_USER_DELETEACC;
|
||||
break;
|
||||
case 'replyinterestmessage':
|
||||
$in["action"] = WRENCHBOARD_JOB_REPLY_QUESTION;
|
||||
|
||||
Reference in New Issue
Block a user