# 2007 Shopping & Dining & Local Living (Waiting to Collect) Service Dynamics
# content_json definition
parameter | Is required | 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 | Number of commodities | |
product_list | Reference Status Requirements | object | Product information | |
Queue_number | Reference Status Requirements | string | User Meal Pickup Number | Up to 10 visible characters can be displayed and entered |
current_number | Reference Status Requirements | string | Current Call Number | Numbers, letters and symbols combination check |
min_wait_Time | Reference Status Requirements | uint32 | The lower limit of the expected waiting time, the display rules can refer to the followingEstimated Waiting Time Display Instructionspart | In seconds. |
max_wait_Time | Reference Status Requirements | uint32 | Expected waiting time limit, display rules can refer to belowEstimated Waiting Time Display Instructionspart | In seconds. |
product_list definition
parameter | Is required | type | Introductions | Format requirements |
---|---|---|---|---|
Info_list | yes | array< object> | Product information |
Info_list definition
parameter | Is required | type | Introductions | Format requirements |
---|---|---|---|---|
product_img | yes | string | Pictures of Goods | |
product_Name | yes | string | Name of Product | |
product_path_query | yes | string | Product path and query | |
count | no | uint32 | Number of items, the default is 1 | |
Single_price | no | uint32 | Unit price of goods | The unit is divided |
Number, letter and symbol combination check
- Up to 32 visible characters
- All characters need to hit [A-Z] [a-z] [0-9] "_-/."
Example: A101 、1234 、a101 、A-101
Estimated Waiting Time Display Instructions
- if min_wait_time=max_wait_Time Is expected to wait for {max_wait_Time/60} minutes
- if max_wait_time=0 This means that they are expected to wait.>{min _wait_Time/60} minutes
- if min_wait_time=0 This means that they are expected to wait.<{max_wait_Time/60} minutes
- if min_wait_time=0 & max_wait_time=0 It is not possible to give an estimated wait time.Does not show the user the expected wait time
# cur_Status passes in the meaning of the status id, and the fields under the different status id require
id | Is this state possible when activated? | Can change from previous state* | State description | Required fields in this state | Optional field in this state | content_Example of json |
---|---|---|---|---|---|---|
1 | yes | 6 | Users have 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":"Bai","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":"Bai","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 receive | Queue_number wxa_path_query | "{"cur_status":3,"queue_number": "S0121","wxa_path_query":"pages/index/index"}" | |
4 | no | 1, 2, 3, 6 | Trading successfully | 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 sale | wxa_path_query | "{"cur_status":6,"wxa_path_query":"pages/index/index"}" | |
7 | no | 6 | The sale is over. | wxa_path_query | "{"cur_status":7,"wxa_path_query":"pages/index/index"}" | |
8 | no | 6 | The sale order is closed | wxa_path_query | "{"cur_status":8,"wxa_path_query":"pages/index/index"}" |
Can change from previous stateIntroductions
- The number in this column indicates that the current state can only be changed by these states (this is not required on activation)
- It should be noted that the current state changes to the current state, but also requires the status id in this column: if the current state is 1, only if 1 is also in this column, the next update when the status is passed 1
- 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 required | type | Introductions | Format requirements |
---|---|---|---|---|
store_Info | no | object | Store information | |
product_additional_list | yes | object | Product additional information, and product_List sort one-to-one correspondence |
store_Info definition
parameter | Is required | type | Introductions | Format requirements |
---|---|---|---|---|
store_Name | yes | string | Name of store | |
province | yes | string | Province/region | |
city | yes | string | City | |
county | yes | string | District/county | |
store_address | no | string | Detailed address | |
store_id | no | uint64 | Store send id | If you are connectedStore delivery, the above store related information field does not need to be passed in, can be directly passed “Store id (store_id)”, if all fields are passed in, we give priority to store information for store express delivery. |
product_additional_list definition
parameter | Is required | type | Introductions | Format requirements |
---|---|---|---|---|
Info_list | yes | array< object> | Product Additional Information |
Info_list definition
parameter | Is required | type | Introductions | Format requirements |
---|---|---|---|---|
unit_price | yes | uint32 | Unit price of goods | The unit is divided |
number | yes | uint32 | Number of commodities |