This commit is contained in:
2022-08-06 16:07:10 -04:00
parent 0074b8a998
commit 7f32e70b9b
4 changed files with 28 additions and 14 deletions
+12 -3
View File
@@ -15,6 +15,7 @@
#include "account.h"
long BkoCommonSessionCheck(long backoffice_id,long shop,long acc, const char *sessionid, int create );
long BkoResendOffer(CVars in, CVars &out);
long bko_calls(CVars in, CVars &out)
{
@@ -25,15 +26,23 @@ long bko_calls(CVars in, CVars &out)
{
case WRENCHBOARD_BKO_LOGIN:
return LoginBkoAdmin( in, out);
break;
break;
case WRENCHBOARD_BKO_RESEND_OFFER:
return BkoResendOffer( in, out);
break;
}
logfmt( logINFO, "/bko_calls()" );
return 0;
}
long BkoResendOffer(CVars in, CVars &out)
{
logfmt( logINFO, "BkoResendOffer()" );
REQ_STRING (in, "offer_code", 5, 49, "(.*)");
logfmt( logINFO, "/BkoResendOffer()" );
}
long LoginBkoAdmin(CVars in, CVars &out)