# 2006 Shopping & Catering (City Delivery) 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
arrival_Time Reference Status Requirements uint32 Estimated delivery time (cur_Status is 3 or 4 or 5 or 6 or 7 o'clock), delivery time (cur_When status is 8) Second-level timestamps, displayed in HH: mm format
distance_to_store Reference Status Requirements uint32 Distance of rider from pickup point The unit is m.
distance_to_destination Reference Status Requirements uint32 Distance from Rider to Receipt The unit is m.

product_list definition

parameter Is required type Introductions Format requirements
Info_list yes array< object&gt 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

# 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 10 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, 10 In stock product_count
product_list
wxa_path_query
arrival_Time "{"cur_status":2,"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"}]},"arrival_Time": 1696157643,"wxa_path_query":"pages/index/index"}"
3 no 1, 2, 3 ,10 Waiting for Rider wxa_path_query arrival_Time "{"cur_status":3,"arrival_Time": 1696157643,"wxa_path_query":"pages/index/index"}"
4 no 1, 2, 3, 4, 7, 10 The rider heads to the pickup point wxa_path_query arrival_Time
distance_to_store
"{"cur_status":4,"arrival_Time": 1696157643,"distance_to_store": 1500,"wxa_path_query":"pages/index/index"}"
5 no 1, 2, 3, 4, 5, 7, 10 The rider has arrived at the pickup point wxa_path_query arrival_Time "{"cur_status":5,"arrival_Time": 1696157643,"wxa_path_query":"pages/index/index"}"
6 no 1, 2, 3, 4, 5, 6, 7, 10 Riders in Delivery wxa_path_query arrival_Time
distance_to_destination
"{"cur_status":6,"arrival_Time": 1696157643,"distance_to_destination": 1500,"wxa_path_query":"pages/index/index"}"
7 no 4, 5, 6, 7, 10 Delivery order cancelled, waiting for delivery again wxa_path_query arrival_Time "{"cur_status":7,"arrival_Time": 1696157643,"wxa_path_query":"pages/index/index"}"
8 no 6, 10 Goods have been delivered wxa_path_query arrival_Time "{"cur_status":8,"arrival_Time": 1696157643,"wxa_path_query":"pages/index/index"}"
9 no 1, 2, 3, 4, 5, 6, 7, 8, 10 Trading successfully wxa_path_query "{"cur_status":9,"wxa_path_query":"pages/index/index"}"
10 no 1, 2, 3, 4, 5, 6, 7, 8 After sale wxa_path_query "{"cur_status":10,"wxa_path_query":"pages/index/index"}"
11 no 10 The sale is over. wxa_path_query "{"cur_status":11,"wxa_path_query":"pages/index/index"}"
12 no 10 The sale order is closed wxa_path_query "{"cur_status":12,"wxa_path_query":"pages/index/index"}"
13 no 1, 2, 3, 4, 5, 6, 7, 8, 10 Order cancelled wxa_path_query "{"cur_status":13,"wxa_path_query":"pages/index/index"}"

Can change from previous stateIntroductions

  1. The number in this column indicates that the current state can only be changed by these states (this is not required on activation)
  2. 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
  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 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&gt Product Additional Information

Info_list definition

parameter Is required type Introductions Format requirements
unit_price yes uint32 Unit price of goods
number yes uint32 Number of commodities