This commit is contained in:
CHIEFSOFT\ameye
2024-09-19 19:06:32 -04:00
parent 29a2f38096
commit 38fafdcb0b
3 changed files with 39 additions and 18 deletions
+18
View File
@@ -24,5 +24,23 @@ long WrenchJobsOfferInterest( CVars in, CVars &out );
long WrenchJobsProcessInterest( CVars in, CVars &out );
long WrenchConcludeJobsOffer( CVars in, CVars &out );
long WrenchJobsQuestion(CVars in, CVars &out);
long WrenchMarketInterestQuestion(CVars in, CVars &out);
long WrenchMarketInterestQuestionList(CVars in, CVars &out);
long WrenchReplyMessage(CVars in, CVars &out);
long WrenchJobPostAgree(CVars in, CVars &out);
long WrenchJobPostExtendTime(CVars in, CVars &out);
long WrenchJobPostNotifyOffer(CVars in, CVars &out);
long WrenchJobPostCancelOffer(CVars in, CVars &out);
long WrenchJobOfferSystems(CVars in, CVars &out);
long WrenchSendJobsOfferFamily(CVars in, CVars &out);
long WrenchSendMediaOfferFamily(CVars in, CVars &out);
long WrenchSendJobsOfferCreateAssign(CVars in, CVars &out);
long WrenchJobsOfferInterestList(CVars in, CVars &out);
long WrenchUserJobsInterestList(CVars in, CVars &out);
long WrenchJobsGroupList(CVars in, CVars &out);
long WrenchJobsInterestStats(CVars in, CVars &out);
#endif
+21 -1
View File
@@ -2485,6 +2485,7 @@ long LoginWrenchPromoAccount( CVars in, CVars &out ){
CVars p;
CVars z;
CVars inx;
CVars inj;
try {
REQ_STRING(in, "promo_owner", 2, 149, "(.*)");
@@ -2546,7 +2547,26 @@ long LoginWrenchPromoAccount( CVars in, CVars &out ){
inx["sessionid"] = "THIS-IS-DUMMY-INSURANCE"; inx["sessionid"].set_valid( true );
inx["loc"] = loc; inx["loc"].set_valid( true );
inx["login_mode"] = LOGIN_MODE_GENERAL; inx["login_mode"].set_valid( true );
return LoginWrenchBoardAccount(inx, out);
ret = LoginWrenchBoardAccount(inx, out);
logfmt(logINFO, "Auto Assign JOB LoginWrenchPromoAccount(CVars in, CVars &out)");
/*
$data = array(
"member_id" => $member_id ,
"sessionid" => $session_id ,
"uid" => $uid,
"job_id" => '98',
"job_uid" => '473d3239-ecd7-4eb5-859c-78261720cb8e',
"email" => 'ses66181+3@gmail.com',
"job_description" => 'Nitetronic Z6 Anti Snoring Pillow, Best Snore Stopper Device, Clinically Proven Snoring Solution for Snorers, Smart Stop Snoring Technology Suitable for All Sleepers',
'action'=>WRENCHBOARD_JOB_OFFER_SYSTEM,
'assign_mode' => ASSIGN_MODE_EMAIL,
);
*/
// out["assign_id"] = WrenchJobOfferSystems(inj, out);
}
-17
View File
@@ -18,23 +18,6 @@
#include "jobs_manager.h"
long WrenchJobsQuestion(CVars in, CVars &out);
long WrenchMarketInterestQuestion(CVars in, CVars &out);
long WrenchMarketInterestQuestionList(CVars in, CVars &out);
long WrenchReplyMessage(CVars in, CVars &out);
long WrenchJobPostAgree(CVars in, CVars &out);
long WrenchJobPostExtendTime(CVars in, CVars &out);
long WrenchJobPostNotifyOffer(CVars in, CVars &out);
long WrenchJobPostCancelOffer(CVars in, CVars &out);
long WrenchJobOfferSystems(CVars in, CVars &out);
long WrenchSendJobsOfferFamily(CVars in, CVars &out);
long WrenchSendMediaOfferFamily(CVars in, CVars &out);
long WrenchSendJobsOfferCreateAssign(CVars in, CVars &out);
long WrenchJobsOfferInterestList(CVars in, CVars &out);
long WrenchUserJobsInterestList(CVars in, CVars &out);
long WrenchJobsGroupList(CVars in, CVars &out);
long WrenchJobsInterestStats(CVars in, CVars &out);
long jobs_calls(CVars in, CVars &out) {
logfmt(logINFO, "jobs_calls()");
out["result"] = "YES I GET TO BACK END";