Commit 99c384a9 authored by IRON xiang's avatar IRON xiang
Browse files

v1.0.4

parent 650ecccd
......@@ -31,8 +31,8 @@ import datetime
def get_dates_with_interval(n):
start_date = datetime.date.today()
end_date = start_date + datetime.timedelta(days=n)
end_date = datetime.date.today()
start_date = end_date - datetime.timedelta(days=n)
return start_date.strftime("%Y-%m-%d"), end_date.strftime("%Y-%m-%d")
......@@ -191,7 +191,7 @@ class Walle:
'Accept': 'application/json, text/javascript, */*; q=0.01',
'Accept-Language': 'zh-CN,zh;q=0.9',
'Cache-Control': 'no-cache',
'Connection': 'keep-alive',
'Connection': 'close',
'Content-Type': 'application/json',
'Cookie': self.Cookies,
'Origin': 'http://192.168.30.131:8090',
......@@ -214,13 +214,15 @@ class Walle:
# 'o': [],
# },
# }
# start, endt = get_dates_with_interval(30)
start, endt = get_dates_with_interval(60)
json_data = {
'p': {
'f': {
'companyId_SEQ': '819656806245760',
'foldercreatedtime_DGOE': start,
'foldercreatedtime_DLOE': endt,
'ordno_SC': ordNo,
},
'n': 1,
's': 100,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment