推送二维码被扫信息 消息格式修改
This commit is contained in:
@@ -94,11 +94,7 @@ public class TbVisitorManagementController extends BaseController {
|
||||
if (qrCodeInfo == null) {
|
||||
return R.fail("二维码已过期");
|
||||
}
|
||||
JSONObject jsonObject = new JSONObject();
|
||||
jsonObject.put("type", "qrcode");
|
||||
jsonObject.put("date", qrcode);
|
||||
|
||||
remoteWebSocketMessageService.publishMessage(List.of(qrCodeInfo.getUserid()), WebSocketMsgType.MOBILE_QRCODE, jsonObject.toString());
|
||||
remoteWebSocketMessageService.publishMessage(List.of(qrCodeInfo.getUserid()), WebSocketMsgType.MOBILE_QRCODE, qrcode);
|
||||
return R.ok("二维码可用");
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user