Added logs
This commit is contained in:
@@ -197,6 +197,7 @@ long sitecrons_calls(CVars in, CVars &out) {
|
||||
return ret;
|
||||
}
|
||||
long RefreshPromoActivities(CVars in, CVars &out){
|
||||
logfmt(logINFO, "RefreshPromoActivities() *** **** **** ENTRY");
|
||||
char vname[30];
|
||||
long ret = PHP_API_BAD_PARAM;
|
||||
try {
|
||||
@@ -204,7 +205,7 @@ long RefreshPromoActivities(CVars in, CVars &out){
|
||||
const PGresult *res, *resF;
|
||||
|
||||
// check if pending
|
||||
res = pgsql_query("SELECT * FROM promo_member WHERE status = 1 ORDER BY id DESC LIMIT 20");
|
||||
res = pgsql_query("SELECT * FROM promo_member WHERE status = 1 ORDER BY id DESC LIMIT 120");
|
||||
if (res != NULL && pgsql_num_rows(res) > 0) {
|
||||
out["total_record"] = pgsql_num_rows(res);
|
||||
|
||||
|
||||
@@ -268,7 +268,7 @@ class AirFlow extends BaseController
|
||||
}
|
||||
|
||||
public function flowPromoProcess(){
|
||||
//define('WRB_CRONJOB_PROCESS_PROMO', 788 ;
|
||||
log_message('critical', "***** ***** AirFlow::flowPromoProcess ****" );
|
||||
$raw_json = file_get_contents('php://input');
|
||||
$in = json_decode($raw_json, true);
|
||||
$out =[];
|
||||
|
||||
Reference in New Issue
Block a user