intererst debug
This commit is contained in:
@@ -529,6 +529,8 @@ wrenchboard-> ;
|
||||
|
||||
snprintf(vname, sizeof (vname), "interest_count_%s", rec2["offer_code"].c_str());
|
||||
out[vname] = rec2["interest_count"];
|
||||
|
||||
logfmt(logINFO, "WrenchReturnJobList->INTEREST COUNT %s ==== %lu",vname,rec2["interest_count"].Long());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -414,6 +414,7 @@ class ResultFormatter extends Model
|
||||
for ($i = 0; $i < $total; $i++) {
|
||||
$key = sprintf("%05d", $i);
|
||||
$int_c = 'interest_count_'.$out["offer_code_${key}"];
|
||||
log_message('critical', "interest_count_ ::: ".$int_c);
|
||||
$cateG = $out["category_${key}"];
|
||||
$res["result_list"][] = array(
|
||||
"title" => $out["title_${key}"],
|
||||
@@ -435,7 +436,7 @@ class ResultFormatter extends Model
|
||||
'job_country' => $out["job_country_${key}"],
|
||||
'currency' => $out["currency_${key}"],
|
||||
'currency_code' => $out["currency_code_${key}"],
|
||||
'interest_count' => $out["${$int_c}"] ?? 0,
|
||||
'interest_count' => $out[$int_c] ?? 0,
|
||||
'category' => $this->dummyGetCategory( $cateG )
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user