new back office call
This commit is contained in:
@@ -174,7 +174,8 @@ enum { PARTNER_STRIPE };
|
||||
#define WRENCHBOARD_BKO_RESEND_OFFER 10025
|
||||
#define WRENCHBOARD_BKO_MARKETING_MSG 10026
|
||||
|
||||
#define WRENCHBOARD_BKO_SEND_PUSH 10035
|
||||
#define WRENCHBOARD_BKO_SEND_PUSH 10035
|
||||
#define WRENCHBOARD_BKO_REFRESH_WALLET 10036
|
||||
|
||||
#define WRENCHBOARD_BKO_END 10999
|
||||
//**************************************************************
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
long BkoCommonSessionCheck(long backoffice_id,long shop,long acc, const char *sessionid, int create );
|
||||
long BkoResendOffer(CVars in, CVars &out);
|
||||
|
||||
long BkoRefreshWallet(CVars in, CVars &out);
|
||||
long BkoResendMarketing(CVars in, CVars &out);
|
||||
|
||||
struct MemoryStruct {
|
||||
@@ -67,12 +67,35 @@ long bko_calls(CVars in, CVars &out)
|
||||
|
||||
case WRENCHBOARD_BKO_SEND_PUSH:
|
||||
return BkoSendPush( in, out);
|
||||
break;
|
||||
break;
|
||||
|
||||
case WRENCHBOARD_BKO_REFRESH_WALLET:
|
||||
return BkoRefreshWallet(in, out);
|
||||
break;
|
||||
|
||||
case
|
||||
|
||||
}
|
||||
logfmt( logINFO, "/bko_calls()" );
|
||||
return 0;
|
||||
}
|
||||
|
||||
long BkoRefreshWallet(CVars in, CVars &out)
|
||||
{
|
||||
logfmt( logINFO, "BkoResendMarketing()" );
|
||||
REQ_STRING (in, "uid", 5, 149, "(.*)");
|
||||
CVars x;
|
||||
|
||||
//if ( load_db_record( x, "SELECT * FROM marketing_list WHERE uid='%s'", in["uid"].c_str() )){
|
||||
// market_email(WRENCHBOARD_BKO_MARKETING_MSG, x, out);
|
||||
//}
|
||||
|
||||
|
||||
logfmt( logINFO, "/BkoResendMarketing()" );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
long BkoResendMarketing(CVars in, CVars &out)
|
||||
{
|
||||
logfmt( logINFO, "BkoResendMarketing()" );
|
||||
|
||||
Reference in New Issue
Block a user