promor sign up
This commit is contained in:
@@ -10,17 +10,10 @@ class Home extends BaseController
|
||||
}
|
||||
|
||||
public function promoIndex($promo,$promoOwner=''):string{
|
||||
// echo $promo;
|
||||
// echo $promoOwner;
|
||||
//http://10.204.5.100:9083/en/promo/api/v1/start
|
||||
|
||||
// echo $backend_server = getenv("API_ENDPOINT");
|
||||
|
||||
$in["promo"] = $promo;
|
||||
$in["promo_owner"] = $promoOwner;
|
||||
$out = $this->APIcall('POST', $this->wrenchApiServer(). 'start',$in);
|
||||
$out["task"] = $this->APIcall('POST', $this->wrenchApiServer(). 'tasks',$in);
|
||||
//var_dump($out);
|
||||
$out["task"] = $this->APIcall('POST', $this->wrenchApiServer(). 'tasks',$in)["result_list"];
|
||||
return view('welcome_message', $out);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user