fix data
This commit is contained in:
@@ -428,6 +428,14 @@ long WrenchReturnJobList(CVars in, CVars &out) {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
long limit = REQ_LONG(in, "limit", 1, -1);
|
long limit = REQ_LONG(in, "limit", 1, -1);
|
||||||
|
OPTIONAL(in, "member_id") REQ_LONG(in, "member_id", 1, -1);
|
||||||
|
OPTIONAL(in, "uid") REQ_STRING(in, "uid", 2, 149, "(.*)");
|
||||||
|
|
||||||
|
if ( in["member_id"].Long() > 0 && in["uid"] !=""){
|
||||||
|
logfmt(logINFO, "*** WrenchReturnJobList() member_id = %lu uid=%s", in["member_id"].Long(), in["uid"].c_str());
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
REQ_LONG(in, "page", 1, -1);
|
REQ_LONG(in, "page", 1, -1);
|
||||||
out["total_record"] = "0";
|
out["total_record"] = "0";
|
||||||
const PGresult *res;
|
const PGresult *res;
|
||||||
|
|||||||
Reference in New Issue
Block a user