|
在H5中:我用的你们示例Demo的登录,也引入了jsw.js这个文件,然后后台报错:jsw-session.js:28 Uncaught TypeError: jSWUtils.extend is not a function at new jSW.SWSession (jsw-session.js:28)
at testLogin (index.js:35)
at HTMLDocument.<anonymous> (index.js:18)
at i (jquery-1.12.4.min.js:2)
at Object.fireWith [as resolveWith] (jquery-1.12.4.min.js:2)
at Function.ready (jquery-1.12.4.min.js:2)
at HTMLDocument.K (jquery-1.12.4.min.js:2)
jSW.SWSession @ jsw-session.js:28
testLogin @ index.js:35
(anonymous) @ index.js:18
i @ jquery-1.12.4.min.js:2
fireWith @ jquery-1.12.4.min.js:2
ready @ jquery-1.12.4.min.js:2
K @ jquery-1.12.4.min.js:2
http websoket connect success!
jSWProtocol.js:1522 获取公钥
jSWProtocol.js:1532 登录:公钥 d:796502897, n:2301015491
jsw-session.js:500 login info:127.0.0.1:9701useradmin
HandleResponse.js:332 login Failed
HandleResponse.js:1469 cmd: WEB_BVCU_LOGIN fail RC_CODE_E_BVCU_AUTHORIZE_FAILED
responseDoCallback @ HandleResponse.js:1469
internalOnResponseSuccess @ HandleResponse.js:1430
eval @ jsw-session.js:2157
InjectModule @ dependency_mgr.js:117
GetRegedModule @ dependency_mgr.js:140
moduleInjectUtil @ dependency_mgr.js:225
DependencyMgr.HandleResponseInJect @ dependency_mgr.js:212
_internalOnResponseSuccess @ jsw-session.js:2156
success @ jSWProtocol.js:1552
jSWProtocol.txOnResponseUint8Array @ jSWProtocol.js:1456
(anonymous) @ jSWProtocol.js:1475
FileReader (async)
jSWProtocol.txOnResponse @ jSWProtocol.js:1477
_ws.onmessage @ jsw-session.js:190
|
|