job_id
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user