Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨建斌
/
dy-wx2
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
220fdb23
authored
2019-10-17 21:57:42 +0800
by
fuenxin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
update msg
1 parent
dfe95d13
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
js/controller/mainController.js
js/controller/mainController.js
View file @
220fdb2
...
...
@@ -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"
);
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment