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
63c3a69c
authored
2019-01-06 16:05:56 +0800
by
ex
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
判断用户不存在
1 parent
bbd253cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
js/controller/mainController.js
js/controller/mainController.js
View file @
63c3a69
...
...
@@ -54,6 +54,13 @@ angular.module('myApp')
// alert("getUnfinishedOrder")
dingdaService
.
getUnfinishedOrder
().
success
(
function
(
data
,
status
){
// alert(JSON.stringify(data))
if
(
data
.
meta
.
code
===
303
){
layer
.
open
({
content
:
data
.
meta
.
message
,
time
:
2
})
localStorage
.
removeItem
(
'ls.user'
)
}
if
(
data
.
meta
.
code
===
401
)
{
layer
.
open
({
content
:
'登录token失效,请重新登录'
,
...
...
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