diff --git a/www/svs/user/constants.php b/www/svs/user/constants.php index 0e34b985..8ff24656 100644 --- a/www/svs/user/constants.php +++ b/www/svs/user/constants.php @@ -98,6 +98,8 @@ define('WRENCHBOARD_USER_GETBANKLIST', 11050); define('WRENCHBOARD_USER_SENDMONEY', 11051); define('WRENCHBOARD_USER_SENDJOBINT', 11052); +define('WRENCHBOARD_ACCOUNT_WALLETS', 11060); + define('WRENCHBOARD_ACCOUNT_END', 11999); //************************************************************** diff --git a/www/svs/user/userve.php b/www/svs/user/userve.php index 53f1e48f..4bf61d02 100644 --- a/www/svs/user/userve.php +++ b/www/svs/user/userve.php @@ -29,7 +29,8 @@ $endpoints = array( 'sendmoneyfee' => array('POST'), 'getpendingjobs' => array('POST'), 'taskmessage' => array('POST'), - 'sendtaskmessage' => array('POST') + 'sendtaskmessage' => array('POST'), + 'getwallets' => array('POST') ); @@ -166,6 +167,9 @@ switch ($endpoint) { break; case 'sendtaskmessage': $in["action"] = WRENCHBOARD_MOBILE_SENDTASKMESSAGE; break; + + case 'getwallets': $in["action"] = WRENCHBOARD_ACCOUNT_WALLETS; + break; }