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
e1caffc9
authored
2019-10-16 23:04:30 +0800
by
fuenxin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
update code func
1 parent
fdb4f2b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
js/controller/mainController.js
js/controller/mainController.js
View file @
e1caffc
...
...
@@ -13,7 +13,7 @@ angular.module('myApp')
if
(
r
!=
null
)
return
unescape
(
r
[
2
]);
return
null
;
}
var
code
=
getUrl
(
'code'
)
var
loginCode
=
function
(
code
)
{
var
login
Url
Code
=
function
(
code
)
{
if
(
code
){
dingdaService
.
verifyThirdCode
(
code
).
success
(
function
(
res
)
{
globalService
.
saveData
(
'loginCode'
,
code
)
...
...
@@ -52,11 +52,11 @@ angular.module('myApp')
}
$scope
.
userinfo
=
globalService
.
getData
(
"user"
);
if
(
!
$scope
.
userinfo
)
{
loginCode
()
login
Url
Code
()
}
else
{
var
loginCode
=
globalService
.
getData
(
"loginCode"
);
if
(
code
&&
(
loginCode
!==
code
)){
loginCode
()
login
Url
Code
()
}
// alert("getUnfinishedOrder")
dingdaService
.
getUnfinishedOrder
().
success
(
function
(
data
,
status
){
...
...
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