Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
3e43fdfb
Commit
3e43fdfb
authored
May 22, 2018
by
frank.xa.zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add tomcat maven config
fixed a small issue
parent
3b90b175
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
3 deletions
+28
-3
pom.xml
atms-api/pom.xml
+13
-1
ModelConfigurationController.java
...taxtech/atms/controller/ModelConfigurationController.java
+1
-1
pom.xml
atms-web/pom.xml
+14
-1
No files found.
atms-api/pom.xml
View file @
3e43fdfb
...
@@ -455,7 +455,19 @@
...
@@ -455,7 +455,19 @@
<encoding>
UTF-8
</encoding>
<encoding>
UTF-8
</encoding>
</configuration>
</configuration>
</plugin>
</plugin>
<plugin>
<groupId>
org.apache.tomcat.maven
</groupId>
<!-- tomcat7的插件, 不同tomcat版本这个也不一样 -->
<artifactId>
tomcat7-maven-plugin
</artifactId>
<version>
2.1
</version>
<configuration>
<!-- 通过maven tomcat7:run运行项目时,访问项目的端口号 -->
<port>
8180
</port>
<!-- 项目访问路径 本例:localhost:9090, 如果配置的aa, 则访问路径为localhost:9090/aa-->
<path>
/
</path>
<uriEncoding>
UTF-8
</uriEncoding>
</configuration>
</plugin>
</plugins>
</plugins>
</build>
</build>
</project>
</project>
atms-api/src/main/java/pwc/taxtech/atms/controller/ModelConfigurationController.java
View file @
3e43fdfb
...
@@ -20,7 +20,7 @@ public class ModelConfigurationController {
...
@@ -20,7 +20,7 @@ public class ModelConfigurationController {
@Autowired
@Autowired
ModelConfigurationService
modelConfigurationService
;
ModelConfigurationService
modelConfigurationService
;
@RequestMapping
(
value
=
"model/byIndustry"
,
method
=
RequestMethod
.
GET
,
produces
=
MediaType
.
APPLICATION_JSON_UTF8_VALUE
)
@RequestMapping
(
value
=
"
/
model/byIndustry"
,
method
=
RequestMethod
.
GET
,
produces
=
MediaType
.
APPLICATION_JSON_UTF8_VALUE
)
public
@ResponseBody
List
<
ModelProfileDto
>
GetModelListByIndustry
(
@RequestParam
String
industryID
,
public
@ResponseBody
List
<
ModelProfileDto
>
GetModelListByIndustry
(
@RequestParam
String
industryID
,
@RequestParam
String
serviceTypeID
)
{
@RequestParam
String
serviceTypeID
)
{
return
modelConfigurationService
.
GetModelListByIndustry
(
serviceTypeID
,
industryID
);
return
modelConfigurationService
.
GetModelListByIndustry
(
serviceTypeID
,
industryID
);
...
...
atms-web/pom.xml
View file @
3e43fdfb
...
@@ -244,7 +244,20 @@
...
@@ -244,7 +244,20 @@
</webResources>
</webResources>
</configuration>
</configuration>
</plugin>
</plugin>
</plugins>
<plugin>
<groupId>
org.apache.tomcat.maven
</groupId>
<!-- tomcat7的插件, 不同tomcat版本这个也不一样 -->
<artifactId>
tomcat7-maven-plugin
</artifactId>
<version>
2.1
</version>
<configuration>
<!-- 通过maven tomcat7:run运行项目时,访问项目的端口号 -->
<port>
8080
</port>
<!-- 项目访问路径 本例:localhost:9090, 如果配置的aa, 则访问路径为localhost:9090/aa-->
<path>
/
</path>
<uriEncoding>
UTF-8
</uriEncoding>
</configuration>
</plugin>
</plugins>
</build>
</build>
</project>
</project>
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