# 2011 Developments in Scenic Area Ticket 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_list Reference status requirements object Ticket Information
start_use_time Reference status requirements uint32 Can Start Using Time Second-level timestamps, displayed in MM / DDHH: mm format
expiration_time Reference status requirements uint32 Expiry time Second-level timestamps, displayed in MM / DDHH: mm format

Product_list definition

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

Info_list definition

parameter Is it compulsory? type Introductions Format requirements
product_img yes string Pictures of the scenic area
product_name yes string Ticket Name
product_path_query yes string Ticket path and query
count no uint32 Number, default 1
single_price no uint32 Unit Price 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 6, 8 Payment has been made product_list

wxa_path_query
start_use_time

expiration_time
"{\"cur_status\":1, \"product_list\":{\"info_list\":[{\"product_img \": \" https://res.wx.qq.com/op_res/DiSd8fVjXuHr5K9U73oRr-0imv0GklZrlRRj_mZmbnO0jT349XT-qIzT_DmjQsDLSO3xZbUTbOP--HA_BosOoA\ ", \"product_name\":\"TITCreative Park ', 'product_path_query\":\"pages/index/index\", \"count\": 1, \"single_price\": 111}]}, \"start_use_time\": 1690819200, \"expiration_time\": 1690905599, \"wxa_path_query\":\"pages/index/index\"}"
2 yes 1, 6, 8 Ticket sales were successful product_list

wxa_path_query
start_use_time

expiration_time
"{\"cur_status\":2, \"product_list\":{\"info_list\":[{\"product_img \": \" https://res.wx.qq.com/op_res/DiSd8fVjXuHr5K9U73oRr-0imv0GklZrlRRj_mZmbnO0jT349XT-qIzT_DmjQsDLSO3xZbUTbOP--HA_BosOoA\ ", \"product_name\":\"TITCreative Park ', 'product_path_query\":\"pages/index/index\", \"count\": 1, \"single_price\": 111}]}, \"start_use_time\": 1690819200, \"expiration_time\": 1690905599, \"wxa_path_query\":\"pages/index/index\"}"
3 no 1, 6, 8 Ticketing failed. wxa_path_query "{\"cur_status\":3, \"wxa_path_query\":\"pages/index/index\"}"
4 no 2, 6, 8 To be used wxa_path_query "{\"cur_status\":4, \"wxa_path_query\":\"pages/index/index\"}"
5 no 4, 6, 8 Used wxa_path_query "{\"cur_status\":5, \"wxa_path_query\":\"pages/index/index\"}"
6 no 1, 2, 3, 4, 5 Ticket refunds are in place wxa_path_query "{\"cur_status\":6, \"wxa_path_query\":\"pages/index/index\"}"
7 no 6 The refund was successful. wxa_path_query "{\"cur_status\":7, \"wxa_path_query\":\"pages/index/index\"}"
8 no 6 Ticket refund failed wxa_path_query "{\"cur_status\":8, \"wxa_path_query\":\"pages/index/index\"}"
9 no 1, 2, 3, 4, 5, 6, 7 Order cancelled wxa_path_query "{\"cur_status\":9, \"wxa_path_query\":\"pages/index/index\"}"
10 no 4 Expiry and failure wxa_path_query "{\"cur_status\":10, \"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 Scenic Area Information
product_additional_list yes object Ticket additional information, 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 Ticket Additional Information

Info_list definition

parameter Is it compulsory? type Introductions Format requirements
unit_price yes uint32 Unit Price Units are divided
number yes uint32 Number