Loading…

Dining table/table code/table number maintenance and management

The first step to scan the code to order food is to generate a unique QR code for each table, so that a user or several users can scan the code with their mobile phones at the same time and order food. After ordering, the merchant needs to be able to identify the table number information. Then, the first step to generate a QR code is to maintain your table information in the background: # Activate plug-in 1. If you are a free member, it is a pity that you cannot use the plug-in function of apifm for the time being; 2. If you are a professional version member, then log in to the backend, go to "Factory settings" --> "Plugin management" on the left menu, find the "Scan QR code to order" plug-in, and purchase it online to activate it; 3. If you are a value-added member, you don’t need to do anything, you can use all plug-in functions for free; # Enable the "Scan QR code to order" module After turning on the "Scan QR Code to Order" module, you can see the menu related to "Scan QR Order" in the left menu. So if you do not see the "Scan QR Order" related menu, then the possible reasons are: 1. The plug-in is not activated; 2. The plug-in has expired; 3. The module is not enabled; 4. After enabling the module, F5 is not pressed to refresh the browser page; #Backend maintenance and management table number ![](https://dcdn.it120.cc/yuque/0/2020/png/572726/1597328479233-cf5f239b-2803-4256-a9d8-a650c7a1f145.png) id: The coding of the table. In all subsequent interfaces, the table coding parameters that need to be used refer to this field. It uniquely identifies a certain dining table and will not be repeated globally; this number is automatically generated by the system and cannot be modified by you; Number: You can specify it arbitrarily for a more friendly display in the front end (mini program, website, H5, android, ios). For example, some restaurants will name the tables A1, B5, C8, etc., for display only; Name: You can also specify it arbitrarily. Some restaurants will use names to name tables/boxes, such as "Listen to the Rain, Tide Surge" and other relatively elegant names; Key: In subsequent interfaces related to code scanning, this attribute may be needed to encrypt and prevent counterfeiting of the QR code to prevent users from maliciously scanning the code to order food. This will be introduced in detail in subsequent chapters; Status: The operation currently has the following status (status): + 0 Normal state, you can scan the code to order food; + 1 Disabled state, such as table maintenance, malfunction, etc. When it cannot be used, it can be set to this state. In this state, you will not be able to scan the QR code to order food; + 2 reserved status. In this status, you cannot scan the code to order. If a table has been reserved, you can set the table to status 2; + 3 This status indicates that this table is dining, and you can continue to scan the code to add another meal; + 4 After the user pays the bill, the table will enter this state. This state is waiting for cleaning, and the waiter needs to clean it. After the cleaning is completed, please change the state to 0 (normal ordering state); # Front-end table number interface ["Frontend API docs》](##/%E5%89%8D%E7%AB%AFapi%E6%8E%A5%E5%8F% A3%E6%96%87%E6%A1%A3/%E6%89%AB%E7%A0%81%E7%82%B9%E9%A4%90/listUsingPOST_38) ![](https://dcdn.it120.cc/yuque/0/2020/png/572726/1597329305695-7f3baa1e-ccb3-4d75-952b-2a3b6a0ddb7a.png)