Permalink
Browse files

basetarget

  • Loading branch information...
1 parent 8662d3d commit e112b0604a85ce32bfa41217ac0eb1cdcd837291 @xinyu198736 committed Jan 13, 2014
Showing with 2 additions and 0 deletions.
  1. +2 −0 utils/checkUserForIO.coffee
@@ -1,6 +1,8 @@
func_user = __F 'user'
md5 = require 'MD5'
module.exports = (cookie,callback)->
+ if not cookie
+ callback new Error '没有登录'
cookiearr = cookie.split(";")
cookies = {}
cookiearr.forEach (c)->

0 comments on commit e112b06

Please sign in to comment.