# 2007 Shopping & Dining & Local Life (Waiting & Receiving) Service Dynamics

# Content_json definition

parameter Is it compulsory? type Introductions Format requirements
cur_status yes int32 Current status id
wxa_path_query yes string Card click the jump path and query
product_count Reference status requirements uint32 Quantity of goods
product_list Reference status requirements object Product Information
queue_number Reference status requirements string User Reservation Number Up to 10 visible characters can be displayed and input
current_number Reference status requirements string Current call number A combination of numbers, letters and symbols is verified.
min_wait_time Reference status requirements uint32 The lower expected waiting time limit. For display rules, refer to the "Display instructions for expected awaited time" section below In units of seconds
max_wait_time Reference status requirements uint32 The maximum expected waiting time is for display rules to refer to the "Display instructions for expected sitting time" section below In units of seconds

Product_list definition

parameter Is it compulsory? type Introductions Format requirements
info_list yes array Product Information

Info_list definition

parameter Is it compulsory? type Introductions Format requirements
product_img yes string Image of the product
product_name yes string Product Name
product_path_query yes string Product path and query
count no uint32 Number of items, default 1
single_price no uint32 Unit price of commodities Units are divided

Combined numbers, letters, and symbols verification

  1. Up to 32 visible characters
  2. All characters need to hit [A-Z] [a-z] [0-9] "_~ - /."

Examples: A101, 1234, a101, A-101

Estimated Wait Time Show Instructions

  1. If min_wait_time = max_wait_time: Estimated wait {max_wait_time / 60} minutes
  2. If max_wait_time = 0, the expected wait > {min_wait_time / 60} minutes
  3. If min_wait_time = 0, expect to wait < {max_wait_time / 60} minutes
  4. If min_wait_time = 0 & max_wait_time = 0, the expected waiting time cannot be given.No expected waiting time is shown to the user

# Cur_status passes in the meaning of the state id, and the field under the different state id requires

id Is it possible for this state to be activated? Can be changed from previous state * Status Description Required fields under this state Select fields in this state Content_json example
1 yes 6 The user has paid product_count

product_list

wxa_path_query
"{\"cur_status\":1,\"product_count\": 1,\"product_list\":{\"info_list\":[{\"product_img \":\" https://res.wx.qq.com/op_res/DiSd8fVjXuHr5K9U73oRr74fMqnT5r9_GmI3mbfLOn2RpC_aENIPjYPPhPN_YnNKnUhyuAy8yLqNRAlh_JCsWQ\ ",\"product_name\":\"Abel ', 'product_path_query\":\"pages/index/index\"}]},\"wxa_path_query\":\"pages/index/index\"}"
2 yes 1, 2, 6 In Production product_count

product_list

queue_number

min_wait_time

max_wait_time

wxa_path_query
current_number "{\"cur_status\":2,\"product_count\": 5,\"product_list\":{\"info_list\":[{\"product_img \":\" https://res.wx.qq.com/op_res/DiSd8fVjXuHr5K9U73oRr74fMqnT5r9_GmI3mbfLOn2RpC_aENIPjYPPhPN_YnNKnUhyuAy8yLqNRAlh_JCsWQ\ ",\"product_name\":\"Abel ', 'product_path_query\":\"pages/index/index\"}]},\"queue_number\":\"S0121\",\"min_wait_time\": 600,\"max_wait_time\": 900,\"wxa_path_query\":\"pages/index/index\"}"
3 no 2, 6 Please get it. queue_number

wxa_path_query
"{\"cur_status\":3,\"queue_number\": \"S0121\",\"wxa_path_query\":\"pages/index/index\"}"
4 no 1, 2, 3, 6 The transaction was successful. queue_number

wxa_path_query
"{\"cur_status\":4,\"queue_number\": \"S0121\",\"wxa_path_query\":\"pages/index/index\"}"
5 no 1, 2, 3, 6 Order cancelled wxa_path_query "{\"cur_status\":5,\"wxa_path_query\":\"pages/index/index\"}"
6 no 1, 2, 3 After sales, wxa_path_query "{\"cur_status\":6,\"wxa_path_query\":\"pages/index/index\"}"
7 no 6 The sales are over. wxa_path_query "{\"cur_status\":7,\"wxa_path_query\":\"pages/index/index\"}"
8 no 6 The sales order is closed. wxa_path_query "{\"cur_status\":8,\"wxa_path_query\":\"pages/index/index\"}"

"Can be changed from previous state" specification

  1. The numbers in this column indicate that the current state can only be changed by these states (this is not required when activating)
  2. Note that changing the current state to the current state also requires the state ID to be in this column: If the current state is 1, the state is allowed to be passed to 1 at the next update only if 1 is also in this column
  3. A state id that does not exist in this column, meaning the end state, and the service state is no longer updatable

# Ext_json definition

parameter Is it compulsory? type Introductions Format requirements
store_info no object Store Information
product_additional_list yes object Item attachment, one-to-one correspondence with product_list sort

Store_info definition

parameter Is it compulsory? type Introductions Format requirements
store_name yes string Store Name
province yes string Province / region in which you live
city yes string City of residence
county yes string District / County
store_address no string Detailed address
store_id no uint64 Store send id If you have entered " Store Express ," the above store-related information field does not need to be entered, but can be directly entered "store id" (store_id). If all the fields are entered, we prefer store information for store Express.

Product_additional_list Definition

parameter Is it compulsory? type Introductions Format requirements
info_list yes array Additional information for merchandise

Info_list definition

parameter Is it compulsory? type Introductions Format requirements
unit_price yes uint32 Unit price of commodities Units are divided
number yes uint32 Quantity of goods