Просмотр исходного кода

修复通过邮箱修改密码

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@1380 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
suntg 10 лет назад
Родитель
Сommit
e7ae0eeb99

+ 1 - 1
src/main/webapp/resources/js/serve/app.js

@@ -395,7 +395,7 @@ define([ 'toaster', 'ngTable', 'common/services', 'ui.router', 'ui.bootstrap', '
 				$scope.resetSuccess = true;
 				$scope.resetError = false;
 				setTimeout(function() {//延迟3秒执行
-					window.location.href = "http://www.ubtob.com";
+					window.location.replace('singin');
 				}, 2000);
 			}, function(data){
 				$scope.loading = false;

+ 2 - 2
src/main/webapp/resources/js/serve/services/Serve.js

@@ -104,10 +104,10 @@ define([ 'angular', 'ngResource' ], function() {
 				});
 				return defer.promise;
 			},
-			check: function(phoneCode, userUu) {
+			check: function(userUU, checkcode) {
 				var defer = $q.defer();
 				$http.get('signup/forget/check', {
-					params: {phoneCode: phoneCode, userUu: userUu}
+					params: {userUU: userUU, checkcode: checkcode}
 				}).success(function(data) {
 					defer.resolve(data);
 				}).error(function(data, status, headers, config) {