fix url
This commit is contained in:
parent
e7ac302cfe
commit
ca4272c561
|
@ -34,7 +34,7 @@ angular.module('warehost')
|
|||
};
|
||||
$scope.add = function(){
|
||||
$scope.obj = {};
|
||||
}
|
||||
};
|
||||
$scope.save = function(){
|
||||
if($scope.obj.ID){
|
||||
$http.put(config.api+'/web/website/'+$stateParams.websiteid+'/page/'+$scope.obj.ID,$scope.obj).then(submitresult);
|
||||
|
|
|
@ -15,7 +15,7 @@ angular.module('warehost')
|
|||
$scope.obj = {};
|
||||
}
|
||||
function load(){
|
||||
$http.get(config.api+'/user/').then(function(res){
|
||||
$http.get(config.api+'/user').then(function(res){
|
||||
$scope.loginlist = res.data.data;
|
||||
$http.get(config.api+'/web/website/'+$stateParams.websiteid+'/permission').then(function(res){
|
||||
session.set(res);
|
||||
|
|
Reference in New Issue