@@ -184,8 +184,9 @@
method: "get"
}).then(function (res) {
msg.success('扫码成功');
- }, function () {
- msg.error('扫码失败');
+ }, function (erro) {
+ alert(JSON.stringify(erro));
+ msg.error('扫码失败:'+erro.data.message);
});
}