Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
IRON xiang
mail_manager_xjc
Commits
99c384a9
Commit
99c384a9
authored
3 months ago
by
IRON xiang
Browse files
Options
Download
Email Patches
Plain Diff
v1.0.4
parent
650ecccd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
source/walle.py
source/walle.py
+7
-5
No files found.
source/walle.py
View file @
99c384a9
...
...
@@ -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-aliv
e'
,
'Connection'
:
'
clos
e'
,
'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(
3
0)
start
,
endt
=
get_dates_with_interval
(
6
0
)
json_data
=
{
'p'
:
{
'f'
:
{
'companyId_SEQ'
:
'819656806245760'
,
'foldercreatedtime_DGOE'
:
start
,
'foldercreatedtime_DLOE'
:
endt
,
'ordno_SC'
:
ordNo
,
},
'n'
:
1
,
's'
:
100
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment