long WrenchPromoAssignTask( CVars in, CVars &out )
This commit is contained in:
@@ -21,6 +21,7 @@ long WrenchPromoAdminLogin(CVars in, CVars &out);
|
||||
long WrenchPromoAddList(CVars in, CVars &out);
|
||||
long WrenchPromoGetList( CVars in, CVars &out );
|
||||
long WrenchPromoGetMember( CVars in, CVars &out );
|
||||
long WrenchPromoAssignTask( CVars in, CVars &out );
|
||||
|
||||
long market_calls(CVars in, CVars &out) {
|
||||
logfmt(logINFO, "market_calls()");
|
||||
@@ -52,6 +53,9 @@ long market_calls(CVars in, CVars &out) {
|
||||
case WRENCHBOARD_PROMOADMIN_GETMEMBER:
|
||||
return WrenchPromoGetMember(in, out);
|
||||
break;
|
||||
case WRENCHBOARD_PROMOADMIN_ASSIGNTASK:
|
||||
return WrenchPromoAssignTask(in, out);
|
||||
break;
|
||||
}
|
||||
|
||||
} catch (bad_parameter) {
|
||||
@@ -61,6 +65,13 @@ long market_calls(CVars in, CVars &out) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
long WrenchPromoAssignTask( CVars in, CVars &out )
|
||||
{
|
||||
out["status"] = "OK";
|
||||
out["task_result"] = "Backend Not Ready";
|
||||
return 0;
|
||||
}
|
||||
|
||||
long WrenchPromoGetMember( CVars in, CVars &out )
|
||||
{
|
||||
char vname[30];
|
||||
|
||||
Reference in New Issue
Block a user