load options
This commit is contained in:
@@ -52,7 +52,12 @@ class WrenchAccount extends BaseController
|
||||
$raw_array = json_decode($raw_json, true);
|
||||
$in = $raw_array;
|
||||
$in["action"] = WRENCHBOARD_LOAD_REFERLINK;
|
||||
$in["action_path"] = 100;
|
||||
$in["loc"] = $_SERVER["REMOTE_ADDR"];
|
||||
if (isset($in["path"]) && $in["path"] == 'promoref'){
|
||||
$in["refer_link"] = str_replace('', "REFPROMO-", $in["refer_link"]);
|
||||
$in["action_path"] = 200;
|
||||
}
|
||||
$ret = $this->wrenchboard->wrenchboard_api($in, $out);
|
||||
$out['internal_return'] = $ret;
|
||||
return $this->respond( $this->summaryReturnData($in,$out), 200);
|
||||
|
||||
Reference in New Issue
Block a user