# 2002 Shopping (Self-Taking) Services 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 | |
| pickup_time | Reference status requirements | uint32 | Estimated total self-care time | Second-level timestamps, displayed in MM / DD format |
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 |
# 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 | 7 | 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, 7 | In stock | product_count product_list wxa_path_query | pickup_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\":\"Abel ', 'product_path_query\":\"pages/index/index\"}]},\"pickup_time\":1696157643,\"wxa_path_query\":\"pages/index/index\"}" |
| 3 | no | 1, 2, 3, 7 | Part of it is self-funded | wxa_path_query | pickup_time | "{\"cur_status\":3,\"pickup_time\": 1696157643,\"wxa_path_query\":\"pages/index/index\"}" |
| 4 | no | 1, 2, 3, 7 | Subject to user's own pickup | wxa_path_query | "{\"cur_status\":4,\"wxa_path_query\":\"pages/index/index\"}" | |
| 5 | no | 3, 4, 7 | Restock for user to pick up | wxa_path_query | "{\"cur_status\":5,\"wxa_path_query\":\"pages/index/index\"}" | |
| 6 | no | 4, 5, 7 | I've already taken it out. | wxa_path_query | "{\"cur_status\":6,\"wxa_path_query\":\"pages/index/index\"}" | |
| 7 | no | 1, 2, 3, 4, 5, 6 | After sales, | wxa_path_query | "{\"cur_status\":7,\"wxa_path_query\":\"pages/index/index\"}" | |
| 8 | no | 1, 2, 3, 4, 5, 6, 7 | The transaction was successful. | wxa_path_query | "{\"cur_status\":8,\"wxa_path_query\":\"pages/index/index\"}" | |
| 9 | no | 7 | The sales are over. | wxa_path_query | "{\"cur_status\":9,\"wxa_path_query\":\"pages/index/index\"}" | |
| 10 | no | 1, 2, 7 | Order cancelled | wxa_path_query | "{\"cur_status\":10,\"wxa_path_query\":\"pages/index/index\"}" | |
| 11 | no | 7 | The sales order is closed. | wxa_path_query | "{\"cur_status\":11,\"wxa_path_query\":\"pages/index/index\"}" |
"Can be changed from previous state" specification
- The numbers in this column indicate that the current state can only be changed by these states (this is not required when activating)
- 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
- 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 |