assign taskn
This commit is contained in:
@@ -1610,6 +1610,7 @@ long WrenchSendJobsOfferGroup(CVars in, CVars &out) {
|
||||
REQ_LONG(in, "group_id", 1, -1);
|
||||
//REQ_STRING (in, "email", 1, 59, "(.*)");
|
||||
REQ_STRING(in, "job_description", 1, 5000, "(.*)");
|
||||
long bypass = REQ_LONG(in, "bypass", 1, -1);
|
||||
|
||||
srand((unsigned) time(NULL));
|
||||
int r = rand();
|
||||
@@ -1676,7 +1677,7 @@ long WrenchSendJobsOfferGroup(CVars in, CVars &out) {
|
||||
|
||||
logfmt(logINFO, "Price = %lu Balance = %lu", y["price"].Long() * total_member, z["amount"].Long());
|
||||
|
||||
if (total_member > 2 ){
|
||||
if (total_member > 2 && bypass == 0 ){
|
||||
// REQ_LONG(in, "member_id", 1, -1);
|
||||
// REQ_LONG(in, "job_id", 1, -1);
|
||||
// REQ_LONG(in, "group_id", 1, -1);
|
||||
|
||||
Reference in New Issue
Block a user