The order status includes 1-new order, 2-to-be-received order, 3-refund order; the polling interface has the corresponding quantities of these three statuses, and if there is a sound, how does js handle these three order sounds? What is the order of broadcasting?
Store orders in an array and use filters to process them, array.filter