Commit afcdd599 by xuzhenhao

调试

1 parent 393c3019
Showing with 1 additions and 1 deletions
......@@ -220,7 +220,7 @@ func CheckRequestToken(token string) (result interface{}, err error) {
}
if len(r) == 0 {
err = errors.New("token已失效")
return "", nil
return "105005", err
}
return string(r[0]["user_id"]), nil
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!