This commit is contained in:
CHIEFSOFT\ameye
2023-07-07 12:28:08 -04:00
parent c9d3f71fbe
commit 488e60f1e3
+2 -1
View File
@@ -196,11 +196,12 @@ long WrenchSendJobsOfferCreateAssign(CVars in, CVars &out){
try {
CVars xx;
long member_id = REQ_LONG(in, "member_id", 1, -1);
REQ_LONG(in, "job_id", 1, -1);
// REQ_LONG(in, "job_id", 1, -1);
// REQ_STRING(in, "job_uid", 1, 59, "(.*)");
REQ_STRING(in, "family_uid", 1, 59, "(.*)");
// REQ_STRING(in, "job_description", 1, 5500, "(.*)");
if ( WrenchCreateJobs(in, xx) == PHP_CREATED_OK ){
in["job_id"] = xx["job_id"]; xx["job_id"].set_valid( true );
in["job_uid"] = xx["job_uid"]; xx["job_uid"].set_valid( true );
in["job_description"] = xx["job_detail"]; xx["job_description"].set_valid( true );
ret = WrenchSendJobsOfferFamily(in, out);