mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 08:34:29 +00:00
creating the controller/view/api base
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
function getUser(){
|
||||
echo "test";
|
||||
}
|
||||
|
||||
class Dummy extends Auth_Controller
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -1,5 +1,7 @@
|
||||
import Search from "./search.js";
|
||||
import UserData from "./userdata.js";
|
||||
|
||||
export default {
|
||||
"Search": Search
|
||||
"Search": Search,
|
||||
"UserData": UserData
|
||||
};
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
export default {
|
||||
|
||||
getUser: function() {
|
||||
const url = FHC_JS_DATA_STORAGE_OBJECT.app_root
|
||||
+ 'Cis/Profil/getUser';
|
||||
return axios.get(url);
|
||||
},
|
||||
getUserDumy: function(){
|
||||
const url = FHC_JS_DATA_STORAGE_OBJECT.app_root
|
||||
+ 'public/js/apps/api/dummyapi.php/getUser';
|
||||
return axios.get(url);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user