Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
sso
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
sso
Commits
a2fa9b4a
Commit
a2fa9b4a
authored
Jul 08, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
e14a5a6c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
TestController.java
src/main/java/com/schneider_distributor/TestController.java
+1
-3
No files found.
src/main/java/com/schneider_distributor/TestController.java
View file @
a2fa9b4a
...
...
@@ -22,7 +22,7 @@ public class TestController {
ZMISD009SOCREATIONTask
task
;
private
void
verify
()
{
if
(
profiles
.
contains
(
"
dev
"
))
{
if
(
profiles
.
contains
(
"
pro
"
))
{
throw
new
RuntimeException
(
"spring.profiles.active="
+
profiles
+
", The test interface has been closed."
);
}
}
...
...
@@ -30,8 +30,6 @@ public class TestController {
@RequestMapping
(
method
=
{
RequestMethod
.
GET
,
RequestMethod
.
POST
})
public
String
list
(
HttpServletRequest
request
)
{
this
.
verify
();
StringBuffer
url
=
request
.
getRequestURL
();
System
.
out
.
println
(
url
);
Map
<
String
,
String
>
map
=
new
LinkedHashMap
<
String
,
String
>();
map
.
put
(
"/"
,
"接口列表"
);
map
.
put
(
"/009_SO_CREATION"
,
"分销商采购(特价采购)订单,EDI平台调用SAP接口上传数据"
);
...
...
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