fnc
This commit is contained in:
@@ -63,7 +63,7 @@ class UploadManager extends Model
|
|||||||
$out["call_backend"] = false; // flag ready to save data entry
|
$out["call_backend"] = false; // flag ready to save data entry
|
||||||
$data['file_uid'] =$in["uid"];
|
$data['file_uid'] =$in["uid"];
|
||||||
$data['profile'] = $in["profile"];
|
$data['profile'] = $in["profile"];
|
||||||
$out['upload_result']=$this->specififBackendCall(WRENCHBOARD_PICTURE_PROFILE,$data);
|
$out['upload_result'] = $this->specififBackendCall(WRENCHBOARD_PICTURE_PROFILE,$data);
|
||||||
/*
|
/*
|
||||||
* public function specififBackendCall($action,$data){
|
* public function specififBackendCall($action,$data){
|
||||||
$in["action"] = $action;
|
$in["action"] = $action;
|
||||||
@@ -131,7 +131,12 @@ class UploadManager extends Model
|
|||||||
return $out;
|
return $out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function specififBackendCall($action,$data){
|
||||||
|
$in["action"] = $action;
|
||||||
|
$wrenchboard = new \App\Models\BackendModel();
|
||||||
|
$ret = $wrenchboard->wrenchboard_api($data, $out);
|
||||||
|
return $ret;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user