uid
This commit is contained in:
@@ -508,21 +508,25 @@ long WrenchJobsInterestStats(CVars in, CVars &out) {
|
||||
long ret = PHP_API_BAD_PARAM;
|
||||
char vname[30];
|
||||
//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
|
||||
|
||||
try {
|
||||
out["job_completed"] = "0";
|
||||
out["job_active"] = "0";
|
||||
out["job_percent_complete"] = "0";
|
||||
out["job_uncompleted"] = "0";
|
||||
out["job_rejected"] = "0";
|
||||
out["job_pending"] = "0";
|
||||
out["job_last_date"] = "0000-00-00";
|
||||
|
||||
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";
|
||||
out["job_percent_complete"] = "0";
|
||||
out["job_uncompleted"] = "0";
|
||||
out["job_rejected"] = "0";
|
||||
out["job_pending"] = "0";
|
||||
out["job_last_date"] = "0000-00-00";
|
||||
|
||||
|
||||
//SELECT id as client_id FROM members WHERE uid::text = 'dfc9d601-780f-4d78-839f-422f0928f911';
|
||||
|
||||
ret = PHP_CREATED_OK;
|
||||
} catch (bad_parameter) {
|
||||
out["log_status"] = "Error WrenchJobsInterestStats";
|
||||
|
||||
Reference in New Issue
Block a user