# 2005 purchase of public service
# 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 | Number of insurance products | |
| product_list | Reference status requirements | object | Insurance Products Information | |
| submit_deadline | Reference status requirements | unit32 | Complete policy information deadlines | Second-level timestamps, displayed in MM / DDHH: mm format |
| policy_issuance_time | Reference status requirements | unit32 | Expect the time to sell the order | Second-level timestamps, displayed in MM / DD format |
| effective_time | Reference status requirements | unit32 | Effective date | Second-level timestamps, displayed in MM / DDHH: mm format |
Product_list definition
| parameter | Is it compulsory? | type | Introductions | Format requirements |
|---|---|---|---|---|
| info_list | yes | array | Insurance Products Information |
Info_list definition
| parameter | Is it compulsory? | type | Introductions | Format requirements |
|---|---|---|---|---|
| product_img | yes | string | Insurance Products Photo | |
| product_name | yes | string | Insurance product name | |
| product_path_query | yes | string | Insurance 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 | 1, 7 | Policy information to be completed | product_count product_list wxa_path_query | submit_deadline | "{\"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\":\"Foreign travel insurance \", \"product_path_query\":\"pages/index/index\"}]},\"submit_deadline\":1696867200,\"wxa_path_query\":\"pages/index/index\"}" |
| 2 | no | 1, 2, 7 | The completion of the policy is coming to an end. | wxa_path_query | submit_deadline | "{\"cur_status\":2,\"submit_deadline\": 1696867200,\"wxa_path_query\": \"pages/index/index\"}" |
| 3 | yes | 1, 2, 7 | Wait to get the order. | product_count product_list wxa_path_query | policy_issuance_time | "{\"cur_status\":3,\"product_count\":1,\"product_list\":{\"info_list\":[{\"product_img\ ":\" https://res.wx.qq.com/op_res/DiSd8fVjXuHr5K9U73oRr74fMqnT5r9_GmI3mbfLOn2RpC_aENIPjYPPhPN_YnNKnUhyuAy8yLqNRAlh_JCsWQ\, "\" product_name\ ":\" overseas travel insurance\,\ "product_path_query\":\"pages/index/index\"}]},\"policy_issuance_time\":1696867200,\"wxa_path_query\":\"pages/index/index\"}" |
| 4 | no | 1, 2, 3, 7 | I failed to play a single. | wxa_path_query | "{\"cur_status\":4,\"wxa_path_query\": \"pages/index/index\"}" | |
| 5 | no | 1, 2, 3, 5, 7 | The order was successful and is pending entry into force. | wxa_path_query | effective_time | "{\"cur_status\":5,\"effective_time\":1696867200,\"wxa_path_query\": \"pages/index/index\"}" |
| 6 | no | 5 | Entered into force | wxa_path_query | effective_time | "{\"cur_status\":6,\"effective_time\":1696867200,\"wxa_path_query\": \"pages/index/index\"}" |
| 7 | yes | / | Payment has been made | wxa_path_query product_count product_list | "{\"cur_status\":7,\"product_count\": 1,\"product_list\":{\"info_list\":[{\"product_img \":\" https://res.wx.qq.com/op_res/DiSd8fVjXuHr5K9U73oRr74fMqnT5r9_GmI3mbfLOn2RpC_aENIPjYPPhPN_YnNKnUhyuAy8yLqNRAlh_JCsWQ\ ",\"product_name\":\"Foreign travel insurance \", \"product_path_query\":\"pages/index/index\"}]},\"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 |
|---|---|---|---|---|
| product_additional_list | yes | object | Item attachment, one-to-one correspondence with product_list sort |
Product_additional_list Definition
| parameter | Is it compulsory? | type | Introductions | Format requirements |
|---|---|---|---|---|
| info_list | yes | array | Additional information for insurance products |
Info_list definition
| parameter | Is it compulsory? | type | Introductions | Format requirements |
|---|---|---|---|---|
| unit_price | yes | uint32 | Unit price of insurance products | Units are divided |
| number | yes | uint32 | Number of insurance products |