|
|
@@ -1,6 +1,6 @@
|
|
|
$(document).ready(function() {
|
|
|
|
|
|
- var canSeeDate = 7;
|
|
|
+ var canSeeDate = 0;
|
|
|
|
|
|
getCanSeeDayNum();
|
|
|
getCinemaHalls();
|
|
|
@@ -46,7 +46,16 @@ $(document).ready(function() {
|
|
|
}
|
|
|
|
|
|
function getCanSeeDayNum() {
|
|
|
- $("#can-see-num").text(canSeeDate);
|
|
|
+ getRequest(
|
|
|
+ '/schedule/view',
|
|
|
+ function (res) {
|
|
|
+ canSeeDate = res.content;
|
|
|
+ $("#can-see-num").text(canSeeDate);
|
|
|
+ },
|
|
|
+ function (error) {
|
|
|
+ alert(JSON.stringify(error));
|
|
|
+ }
|
|
|
+ );
|
|
|
}
|
|
|
|
|
|
$('#canview-modify-btn').click(function () {
|