Home banners

This commit is contained in:
DESKTOP-GBA0BK8\Admin
2023-04-25 15:50:55 -04:00
parent 297d865b83
commit add8dbb406
8 changed files with 26 additions and 1 deletions
+6
View File
@@ -20,6 +20,7 @@
#include "history.h"
#include "jobs.h"
#include "reco_engine.h" //error in file name
#define CREATE_BY_EMAIL 1000
#define CREATE_BY_PHONE 2000
@@ -431,6 +432,9 @@ long account_calls(CVars in, CVars &out) {
case WRENCHBOARD_VERIFY_PENDING_LINK:
return VerifyWrenchAccountLink( in, out);
break;
case WRENCHBOARD_ACCOUNT_HOMEBANNERS:
return WrenchHomeBanners(in, out);
break;
}
logfmt(logINFO, "/account_calls()");
return ret;
@@ -439,6 +443,8 @@ long account_calls(CVars in, CVars &out) {
#define PHP_API_TRANSFER_COMPLETE 200
long VerifyWrenchAccountLink(CVars in, CVars &out) {
logfmt(logINFO, "VerifyWrenchAccountLink()");
long ret = PHP_API_BAD_PARAM;
+6 -1
View File
@@ -3,7 +3,7 @@
#include "cgi.h"
#include "input.h"
#include "wrenchboard_api.h"
#include "reco_engine.h"
#include "reco_engine.h" //error in file name
#include "email.h"
#include "safestring.h"
#include <string>
@@ -55,6 +55,11 @@ long recommendation_engine(long action , CVars in, CVars &out) {
return 0;
}
// also used from accounts
long WrenchHomeBanners(CVars in, CVars &out) {
out["status"] = "long WrenchHomeBanners(CVars in, CVars &out)";
return 111;
}
long sendOffersRecommendation( CVars in, CVars &out){