Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etax-income-api
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
caoxiaohong
etax-income-api
Commits
e4a9c45c
Commit
e4a9c45c
authored
Jun 20, 2025
by
ddx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加cookieInfo
parent
03228ee7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
1 deletions
+21
-1
etax-income-domain/src/main/java/com/sxc/etaxincome/domain/business/impl/CreateTestCaseManager.java
+7
-0
etax-income-server/src/main/webapp/management-query-token-page.html
+9
-1
etax-income-server/src/main/webapp/scripts/management-query-token-page.js
+5
-0
No files found.
etax-income-domain/src/main/java/com/sxc/etaxincome/domain/business/impl/CreateTestCaseManager.java
View file @
e4a9c45c
...
...
@@ -46,7 +46,14 @@ public class CreateTestCaseManager implements ICreateTestCaseManager {
}
else
if
(
rtype
.
equals
(
"0920"
))
{
dataParams
.
put
(
"nsrsbh"
,
managementTestRealToken
.
getTaxno
());
}
Map
<
String
,
Object
>
cookieParams
=
Maps
.
newHashMap
();
cookieParams
.
put
(
"taxno"
,
managementTestRealToken
.
getTaxno
());
cookieParams
.
put
(
"cookie"
,
managementTestRealToken
.
getToken
());
cookieParams
.
put
(
"dqdm"
,
managementTestRealToken
.
getZoneCode
());
urlParams
.
put
(
"data"
,
JSON
.
toJSON
(
dataParams
));
urlParams
.
put
(
"cookieInfo"
,
JSON
.
toJSON
(
cookieParams
));
return
JSON
.
toJSONString
(
urlParams
);
}
}
etax-income-server/src/main/webapp/management-query-token-page.html
View file @
e4a9c45c
...
...
@@ -235,7 +235,15 @@
<div
class=
"form-group"
>
<label
class=
"col-sm-3 control-label"
>
返回值:
</label>
<div
class=
"col-sm-9"
>
<textarea
class=
"form-control"
id=
"paramOut"
cols=
"60"
rows=
"16"
></textarea>
<textarea
class=
"form-control"
id=
"paramOut"
cols=
"60"
rows=
"12"
></textarea>
</div>
</div>
</div>
<div
class=
"box-body"
>
<div
class=
"form-group"
>
<label
class=
"col-sm-3 control-label"
>
工具参数:
</label>
<div
class=
"col-sm-9"
>
<textarea
class=
"form-control"
id=
"cookieInfo"
cols=
"60"
rows=
"6"
></textarea>
</div>
</div>
</div>
...
...
etax-income-server/src/main/webapp/scripts/management-query-token-page.js
View file @
e4a9c45c
...
...
@@ -304,6 +304,7 @@ function openTestSampleModal(taxno, userCode, zoneCode) {
$
(
"#proxy"
).
val
(
''
);
$
(
"#paramIn"
).
val
(
''
);
$
(
"#paramOut"
).
val
(
''
);
$
(
"#cookieInfo"
).
val
(
''
);
$
(
"#rtype"
).
val
(
'0920'
);
getRequest
();
}
...
...
@@ -337,6 +338,10 @@ function getRequest() {
var
jsonFormat
=
JSON
.
stringify
(
response
.
data
,
null
,
'
\
t'
);
$
(
'#paramIn'
).
val
(
jsonFormat
);
$
(
'#runButton'
).
attr
(
"disabled"
,
false
);
var
cookieInfoFormat
=
JSON
.
stringify
(
response
.
cookieInfo
,
null
,
'
\
t'
);
$
(
'#cookieInfo'
).
val
(
cookieInfoFormat
);
}
},
error
:
function
(
e
)
{
...
...
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