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
95064cdf
Commit
95064cdf
authored
Jun 03, 2017
by
fsn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
默认添加一个测试号
parent
5570b3d9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
sql/guns.sql
+0
-0
src/main/java/com/stylefeng/guns/modular/system/controller/CodeController.java
+3
-0
No files found.
sql/guns.sql
View file @
95064cdf
This diff is collapsed.
Click to expand it.
src/main/java/com/stylefeng/guns/modular/system/controller/CodeController.java
View file @
95064cdf
package
com
.
stylefeng
.
guns
.
modular
.
system
.
controller
;
import
com.stylefeng.guns.common.annotion.Permission
;
import
com.stylefeng.guns.common.constant.Const
;
import
com.stylefeng.guns.common.controller.BaseController
;
import
com.stylefeng.guns.common.exception.BizExceptionEnum
;
import
com.stylefeng.guns.common.exception.BussinessException
;
...
...
@@ -46,6 +48,7 @@ public class CodeController extends BaseController {
})
@RequestMapping
(
value
=
"/generate"
,
method
=
RequestMethod
.
POST
)
@ResponseBody
@Permission
(
Const
.
ADMIN_NAME
)
public
Object
add
(
String
bizChName
,
String
bizEnName
,
String
path
)
{
if
(
ToolUtil
.
isOneEmpty
(
bizChName
,
bizEnName
))
{
throw
new
BussinessException
(
BizExceptionEnum
.
REQUEST_NULL
);
...
...
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