diff --git a/public/static/get_cinema_info.html b/public/static/get_cinema_info.html index 7e46b40..cebba75 100644 --- a/public/static/get_cinema_info.html +++ b/public/static/get_cinema_info.html @@ -1,304 +1,1798 @@ - -2、影院信息下载接口 + + + 2、影院信息下载接口 + + - -

2、影院信息下载接口

GET /data/getCinemaInfo

请求参数

名称长度类型必选中文名描述
cinemaCode8string电影院编码none

返回示例

返回数据结构

状态码 200

名称类型描述说明
codestringnonenone
statusstringnonenone
dataobjectnonenone
cinemaCodestring电影院编码none
cinemaNamestring电影院名称none
oicialNamestring企业名称none
managerstring影院经理姓名none
managerTelstring影院经理电话none
faxstring传真号none
cinemaChainNamestring所属院线 
screensinteger影厅数量none
businessStatusString营业状态11:注销 12:营业 13:停业 14:测试 15:待审核
legalPersonstringnonenone
legalPersonTelstringnonenone
salesstringnonenone
salesTelstringnonenone
telephonenullnonenone
cityCodestringnonenone
cityNamestringnonenone
cinemaLevelinteger影院级别1:"市"2:"县"3:"乡
screenList[object]影厅列表none
screenCodestringnonenone
screenNamestringnonenone
seatCountintegernonenone
hallTypestringnonevip:VIP
showTypestring放映制式影厅放映类型:
N:标准 CG:中国巨幕 C:Cinity IG:IMAX 巨幕 D:杜比 X:X-LAND L:LED 4D:4D S:特种 O:其他
isRedboolean是否人民院线true:是 false:否
isArtboolean是否艺术院线true:是 false:否

 

+ +

2、影院信息下载接口

+

GET /data/getCinemaInfo

+

请求参数

+
+ + + + + + + + + + + + + + + + + + + + + +
名称长度类型必选中文名描述
cinemaCode8string电影院编码none
+
+

返回示例

+
+

返回数据结构

+

状态码 200

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
名称类型描述说明
codestringnonenone
statusstringnonenone
dataobjectnonenone
cinemaCodestring电影院编码none
cinemaNamestring营业地址 none
addressstring电影院地址25规范新字段
oicialNamestring企业名称none
managerstring影院经理姓名none
managerTelstring影院经理电话none
faxstring传真号none
cinemaChainNamestring所属院线 
screensinteger影厅数量none
businessStatusString营业状态11:注销 12:营业 13:停业 14:测试 15:待审核
legalPersonstringnonenone
legalPersonTelstringnonenone
salesstringnonenone
salesTelstringnonenone
telephonenullnonenone
cityCodestringnonenone
cityNamestringnonenone
cinemaLevelinteger影院级别1:"市"2:"县"3:"乡
screenList[object]影厅列表none
screenCodestringnonenone
screenNamestringnonenone
seatCountintegernonenone
hallTypestringnonevip:VIP
showTypestring放映制式影厅放映类型:
N:标准 CG:中国巨幕 C:Cinity IG:IMAX 巨幕 D:杜比 X:X-LAND L:LED + 4D:4D S:特种 O:其他 +
isRedboolean是否人民院线true:是 false:否
isArtboolean是否艺术院线true:是 false:否
+
+

 

- \ No newline at end of file + diff --git a/public/static/get_screen_info.html b/public/static/get_screen_info.html index dac2b7e..6a67ff0 100644 --- a/public/static/get_screen_info.html +++ b/public/static/get_screen_info.html @@ -1,304 +1,1673 @@ - -3、影厅信息下载接口 + + + 3、影厅信息下载接口 + + - -

3、影厅信息下载接口

GET /data/getScreenInfo

请求参数

名称位置类型必选中文名说明
cinemaCode8string影院编码none

返回示例

返回数据结构

状态码 200

名称类型约束说明
codestringnonenone
statusstringnonenone
dataobjectnonenone
cinemaCodestring电影院编码none
screenList[object]影厅列表none
screenCodestring影厅编码字符串类型,固定16个字符长度
screenNamestring影厅名称none
seatCountinteger座位数量none
hallTypestring影厅类型vip:VIP
showTypestring放映制式影厅放映类型:N:标准 CG:中国巨幕 C:Cinity IG:IMAX 巨幕 D:杜比 X:X-LAND L:LED 4D:4D S:特种 O:其他
isRedbooleannone是否人民院线
isArtbooleannone是否艺术院线

 

+ +

3、影厅信息下载接口

+

GET /data/getScreenInfo

+

请求参数

+
+ + + + + + + + + + + + + + + + + + + + + +
名称位置类型必选中文名说明
cinemaCode8string影院编码none
+
+

返回示例

+
+
+
+
+ +
+
+
+

返回数据结构

+

状态码 200

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
名称类型约束说明
codestringnonenone
statusstringnonenone
dataobjectnonenone
cinemaCodestring电影院编码none
screenList[object]影厅列表none
screenCodestring影厅编码字符串类型,固定16个字符长度
screenNamestring影厅名称none
seatCountinteger座位数量none
hallTypestring影厅类型vip:VIP
isRedbooleannone是否人民院线
isArtbooleannone是否艺术院线
showTypestring放映制式影厅放映类型:N:标准 CG:中国巨幕 C:Cinity IG:IMAX 巨幕 D:杜比 X:X-LAND L:LED 4D:4D S:特种 O:其他
displayTypestring显示方式25规范新字段 1: DLP 投影 2: LCoS 投影 3: LED 直显 4:其他
+
+

 

- \ No newline at end of file + diff --git a/public/static/report_check_ticket.html b/public/static/report_check_ticket.html new file mode 100644 index 0000000..c97c731 --- /dev/null +++ b/public/static/report_check_ticket.html @@ -0,0 +1,304 @@ + + + + +4、检票数据上报接口 + + +

4、检票数据上报接口

POST /report/reportCheckTicket

请求示例

请求参数

参数数据类型是否可空描述说明
dataobject
data{    
sendChannelCodestring数据报送方编码电影票检票系统编码
ticketListarray电影票列表
ticketList[{    
ticketNostring电影票编码编码规则应符合附录 A 中的规定
checkTimestring检票时间格式: yyyy-MM-dd HH:mm:ss,北京时间
}]ticketList    
}data    

返回示例

+ + \ No newline at end of file diff --git a/src/components/mock/ApiBlock.vue b/src/components/mock/ApiBlock.vue index 8cad634..386eb15 100644 --- a/src/components/mock/ApiBlock.vue +++ b/src/components/mock/ApiBlock.vue @@ -24,6 +24,7 @@ const activeName = ref('download_film_info') + diff --git a/src/views/mock/index.vue b/src/views/mock/index.vue index 4e781fe..83c7b74 100644 --- a/src/views/mock/index.vue +++ b/src/views/mock/index.vue @@ -23,7 +23,7 @@ const checkAll = ref(false) const isIndeterminate = ref(false) const checkedMockConfig = ref([]) const mockConfigItems = ['download_film_info', 'get_cinema_info', 'get_screen_info', 'report_ticket', - 'report_film_schedule', 'upload_screen_seat_info', 'get_overtime_ticket_status', 'valid_error'] + 'report_film_schedule', 'upload_screen_seat_info', 'report_check_ticket', 'get_overtime_ticket_status', 'valid_error'] const tabs_dict = [ {label: '影片信息下载', name: 'download_film_info'}, @@ -32,6 +32,7 @@ const tabs_dict = [ {label: '票房数据上报', name: 'report_ticket'}, {label: '排片数据上报', name: 'report_film_schedule'}, {label: '座位信息上报', name: 'upload_screen_seat_info'}, + {label: '检票数据上报', name: 'report_check_ticket'}, {label: '超时票务查询', name: 'get_overtime_ticket_status'}, {label: '数据清洗查询', name: 'valid_error'}, ] @@ -69,7 +70,8 @@ const mockConfig = label: '数据上报', items: [{key: 'report_ticket', name: '票房数据上报接口'}, {key: 'report_film_schedule', name: '排片数据上报接口'}, - {key: 'upload_screen_seat_info', name: '座位信息上报接口'}] + {key: 'upload_screen_seat_info', name: '座位信息上报接口'}, + {key: 'report_check_ticket', name: '检票数据上报接口'}] }, { label: '超时票务审核', items: [{key: 'get_overtime_ticket_status', name: '超时票务查询接口'},] @@ -241,6 +243,13 @@ function getResponseJson() { console.log(err) }) } + if (api === 'report_check_ticket') { + get_response_json(req).then(res => { + allJsonData.value.report_check_ticket = res + }).catch(err => { + console.log(err) + }) + } if (api === 'report_film_schedule') { get_response_json(req).then(res => { allJsonData.value.report_film_schedule = res @@ -327,7 +336,7 @@ const handleStart = () => { alert('请先选择影院IP!') return; } - if (checkedMockConfig.value.length===0){ + if (checkedMockConfig.value.length === 0) { alert('请先选择要模拟的接口!') return; } @@ -419,7 +428,7 @@ onBeforeRouteLeave((from, to, next) => { console.log(from.path) if (to.path === '/mock' && running.value === true) { alert('请先停止运行!') - }else{ + } else { next() }