# 2011 Scenic spot ticket service

# 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_list Reference Status Requirements object Ticket Information
start_use_Time Reference Status Requirements uint32 Start time Second time stamp, displayed as MM/DD HH: mm format
expiration_Time Reference Status Requirements uint32 Failure time Second time stamp, displayed as MM/DD HH: mm format

product_list definition

parameter Is required type Introductions Format requirements
Info_list yes array< object&gt Ticket Information

Info_list definition

parameter Is required type Introductions Format requirements
product_img yes string Photo Gallery
product_Name yes string Ticket Name
product_path_query yes string Ticket path and query
count no uint32 Number, defaults to 1
Single_price no uint32 Unit Price 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 6, 8 Paid 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":"TIT Creative 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 issued successfully 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":"TIT Creative 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 Failure to issue tickets 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 Refund wxa_path_query "{"cur_status":6, "wxa_path_query":"pages/index/index"}"
7 no 6 Refund successful wxa_path_query "{"cur_status":7, "wxa_path_query":"pages/index/index"}"
8 no 6 Refund failure 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 Expiration date wxa_path_query "{"cur_status":10, "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 Scenic Area Information
product_additional_list yes object Tickets Additional information, with 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 Tickets Additional Information

Info_list definition

parameter Is required type Introductions Format requirements
unit_price yes uint32 Unit Price The unit is divided
number yes uint32 Number