|
|
@ -3,7 +3,7 @@ var apiUrl = '/api/v1/';
|
|
|
|
var debug = false; //调试标志,如果在本地请置为true
|
|
|
|
var debug = false; //调试标志,如果在本地请置为true
|
|
|
|
|
|
|
|
|
|
|
|
if(debug===true){
|
|
|
|
if(debug===true){
|
|
|
|
apiUrl = 'http://www.trustie.net/api/v1/';
|
|
|
|
apiUrl = 'https://test.course.trustie.net/api/v1/';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
app.factory('auth', function($http,$routeParams, $cookies, $q){
|
|
|
|
app.factory('auth', function($http,$routeParams, $cookies, $q){
|
|
|
|