client_uid

This commit is contained in:
CHIEFSOFT\ameye
2024-07-18 13:17:15 -04:00
parent 0ddfc03e3f
commit 7798324c3f
+12 -2
View File
@@ -507,7 +507,12 @@ long WrenchUserJobsInterestList(CVars in, CVars &out) {
long WrenchJobsInterestStats(CVars in, CVars &out) {
long ret = PHP_API_BAD_PARAM;
char vname[30];
out = in;
//out = in;
try {
REQ_STRING(in, "uid", 1, 95, "(.*)"); //uid
REQ_STRING(in, "interest_uid", 1, 95, "(.*)"); //interest_uid
REQ_STRING(in, "client_uid", 1, 95, "(.*)"); //client_uid
out["job_completed"] = "0";
out["job_active"] = "0";
@@ -515,8 +520,13 @@ long WrenchJobsInterestStats(CVars in, CVars &out) {
out["job_uncompleted"] = "0";
out["job_rejected"] = "0";
out["job_pending"] = "0";
out["job_last_date"] = "0000-00-00";
ret = PHP_CREATED_OK;
ret = PHP_CREATED_OK;
} catch (bad_parameter) {
out["log_status"] = "Error WrenchJobsInterestStats";
}
return ret;
}