220fdb23 by fuenxin

update msg

1 parent dfe95d13
......@@ -14,6 +14,9 @@ angular.module('myApp')
}
var code = getUrl('code')
var loginUrlCode = function () {
$scope.userinfo = {};
$scope.userinfo.userName = "未登录";
$scope.userinfo.loginState = false;
if (code) {
globalService.saveData('loginCode', code)
dingdaService.verifyThirdCode(code).success(function (res) {
......@@ -46,10 +49,6 @@ angular.module('myApp')
$state.go('login', {}, { reload: true });
}
})
} else {
$scope.userinfo = {};
$scope.userinfo.userName = "未登录";
$scope.userinfo.loginState = false;
}
}
$scope.userinfo = globalService.getData("user");
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!