|
|
@ -101,7 +101,7 @@
|
|
|
|
var deviceId = '<%=request.getSession().getAttribute("deviceId")%>';
|
|
|
|
var deviceId = '<%=request.getSession().getAttribute("deviceId")%>';
|
|
|
|
var deviceOwner = '<%=request.getSession().getAttribute("deviceOwner")%>';
|
|
|
|
var deviceOwner = '<%=request.getSession().getAttribute("deviceOwner")%>';
|
|
|
|
var token = '<%=request.getSession().getAttribute("token")%>';
|
|
|
|
var token = '<%=request.getSession().getAttribute("token")%>';
|
|
|
|
var url = '/connectedcup/controller/ordercoffee?deviceId=' + deviceId + '&deviceOwner=' + deviceOwner;
|
|
|
|
var url = '/connectedcup/device/ordercoffee?deviceId=' + deviceId ;
|
|
|
|
|
|
|
|
|
|
|
|
$.ajax({
|
|
|
|
$.ajax({
|
|
|
|
type: 'POST',
|
|
|
|
type: 'POST',
|
|
|
@ -131,4 +131,4 @@
|
|
|
|
sendData();
|
|
|
|
sendData();
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
</html>
|
|
|
|