|
|
|
@ -3,7 +3,7 @@ var apiUrl = '/api/v1/';
|
|
|
|
|
var debug = false; //调试标志,如果在本地请置为true
|
|
|
|
|
|
|
|
|
|
if(debug===true){
|
|
|
|
|
apiUrl = 'http://localhost:3000/api/v1/';
|
|
|
|
|
apiUrl = 'http://www.trustie.net/api/v1/';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
app.factory('auth', function($http,$routeParams, $cookies, $q){
|
|
|
|
@ -63,7 +63,7 @@ app.factory('rms', function(){
|
|
|
|
|
|
|
|
|
|
app.controller('ActivityController',function($scope, $http, auth, rms, common){
|
|
|
|
|
$scope.replaceUrl = function(url){
|
|
|
|
|
return "http://www.trustie.net/" + url;
|
|
|
|
|
return url;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
console.log("ActivityController load");
|
|
|
|
|