Added logs

This commit is contained in:
CHIEFSOFT\ameye
2024-11-24 15:57:10 -05:00
parent a8af20f330
commit 2872a44357
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -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);
+1 -1
View File
@@ -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 =[];