63c3a69c by ex

判断用户不存在

1 parent bbd253cc
......@@ -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失效,请重新登录',
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!