dev/addPush
Zovjsra 5 years ago
parent ee6bd1d371
commit 2c5e85c99e

@ -126,4 +126,4 @@ def initPage():
if __name__ == "__main__": if __name__ == "__main__":
app.run(debug=True, port=4998, host='0.0.0.0', threaded=True) app.run(debug=False, port=4980, host='0.0.0.0', threaded=True)

@ -272,7 +272,7 @@ def loadPostContents():
def getDefault(startDate, endDate): def getDefault(startDate, endDate):
global defaultDate global defaultDate
if (startDate != defaultDate['startDate'] or endDate != defaultDate['endDate']): if (startDate != defaultDate['startDate'] or endDate != defaultDate['endDate']):
loadPostContents loadPostContents()
defaultDate['startDate'] = startDate defaultDate['startDate'] = startDate
defaultDate['endDate'] = endDate defaultDate['endDate'] = endDate
print('更新預設資料') print('更新預設資料')

@ -14,6 +14,7 @@
完整 完整
新聞 新聞
標題 標題

Loading…
Cancel
Save