Mike 7 lat temu
rodzic
commit
7724a47941

+ 5 - 2
miaomiao/www/js/config/config.js

xqd
@@ -3,7 +3,10 @@
     app.constant("config", {
         // server: 'http://localhost:8092/',
         // imgServer: 'http://localhost:8092/api/attachment/download/'
-        server: 'http://q8.9026.com/',
-        imgServer: 'http://q8.9026.com/attachment/'
+        // server: 'http://q8.9026.com/',
+        // imgServer: 'http://q8.9026.com/attachment/',
+        
+        server: 'http://miao.beiyuesi.com/',
+        imgServer: 'http://miao.beiyuesi.com/attachment/'
     });
 })(angular.module('app'));

+ 2 - 2
miaomiao/www/js/controllers/my.js

xqd
@@ -17,8 +17,8 @@
         };
 
     }]);
-    app.controller('profileCtrl', ["$scope", "$ionicTabsDelegate","$state","$filter", "storage", "myService", "msg", "common"
-      , function ($scope,$ionicTabsDelegate, $state, $filter, storage, myService, msg, common) {
+    app.controller('profileCtrl', ["$scope", "$timeout","$ionicTabsDelegate","$state","$filter", "storage", "myService", "msg", "common"
+      , function ($scope, $timeout, $ionicTabsDelegate, $state, $filter, storage, myService, msg, common) {
             $scope.$on('$ionicView.beforeEnter', function () {
                 $ionicTabsDelegate.showBar(false);
             });