Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
guns-vip
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
chenjunxiong
guns-vip
Commits
26eda777
Commit
26eda777
authored
Nov 03, 2017
by
naan1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改模板一处错误
parent
5a4d825a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
guns-admin/src/main/java/com/stylefeng/guns/core/template/config/ControllerConfig.java
+1
-1
guns-admin/src/main/resources/gunsTemplate/advanced/Controller.java.btl
+1
-1
No files found.
guns-admin/src/main/java/com/stylefeng/guns/core/template/config/ControllerConfig.java
View file @
26eda777
...
@@ -29,7 +29,7 @@ public class ControllerConfig {
...
@@ -29,7 +29,7 @@ public class ControllerConfig {
imports
.
add
(
"com.stylefeng.guns.core.log.LogObjectHolder"
);
imports
.
add
(
"com.stylefeng.guns.core.log.LogObjectHolder"
);
imports
.
add
(
"org.springframework.web.bind.annotation.RequestParam"
);
imports
.
add
(
"org.springframework.web.bind.annotation.RequestParam"
);
imports
.
add
(
contextConfig
.
getModelPackageName
()
+
"."
+
contextConfig
.
getEntityName
());
imports
.
add
(
contextConfig
.
getModelPackageName
()
+
"."
+
contextConfig
.
getEntityName
());
imports
.
add
(
"com.stylefeng.guns.modular."
+
contextConfig
.
getModuleName
()
+
".service"
+
".I"
+
contextConfig
.
get
BizEnBig
Name
()
+
"Service"
);
imports
.
add
(
"com.stylefeng.guns.modular."
+
contextConfig
.
getModuleName
()
+
".service"
+
".I"
+
contextConfig
.
get
Entity
Name
()
+
"Service"
);
this
.
imports
=
imports
;
this
.
imports
=
imports
;
this
.
packageName
=
"com.stylefeng.guns.modular."
+
contextConfig
.
getModuleName
()
+
".controller"
;
this
.
packageName
=
"com.stylefeng.guns.modular."
+
contextConfig
.
getModuleName
()
+
".controller"
;
this
.
controllerPathTemplate
=
"\\src\\main\\java\\com\\stylefeng\\guns\\modular\\"
+
contextConfig
.
getModuleName
()
+
"\\controller\\{}Controller.java"
;
this
.
controllerPathTemplate
=
"\\src\\main\\java\\com\\stylefeng\\guns\\modular\\"
+
contextConfig
.
getModuleName
()
+
"\\controller\\{}Controller.java"
;
...
...
guns-admin/src/main/resources/gunsTemplate/advanced/Controller.java.btl
View file @
26eda777
...
@@ -17,7 +17,7 @@ public class ${context.bizEnBigName}Controller extends BaseController {
...
@@ -17,7 +17,7 @@ public class ${context.bizEnBigName}Controller extends BaseController {
private
String
PREFIX
=
"/${context.moduleName}/${context.bizEnName}/"
;
private
String
PREFIX
=
"/${context.moduleName}/${context.bizEnName}/"
;
@
Autowired
@
Autowired
private
I
${
context
.
bizEnBig
Name
}
Service
${
context
.
bizEnName
}
Service
;
private
I
${
context
.
entity
Name
}
Service
${
context
.
bizEnName
}
Service
;
/**
/**
*
跳转到
${
context
.
bizChName
}
首页
*
跳转到
${
context
.
bizChName
}
首页
...
...
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