Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
sentinel
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
曲欣亮
sentinel
Commits
f0d2c6a6
Commit
f0d2c6a6
authored
Nov 19, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
评委组权限
parent
a43b69a9
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
44 additions
and
0 deletions
+44
-0
AdminAuthController.java
...in/java/com/egolm/film/api/admin/AdminAuthController.java
+2
-0
AdminUserController.java
...in/java/com/egolm/film/api/admin/AdminUserController.java
+26
-0
AdminUserService.java
...va/com/egolm/film/api/admin/service/AdminUserService.java
+5
-0
AdminAuthServiceImpl.java
...olm/film/api/admin/service/impl/AdminAuthServiceImpl.java
+1
-0
AdminUserServiceImpl.java
...olm/film/api/admin/service/impl/AdminUserServiceImpl.java
+10
-0
No files found.
src/main/java/com/egolm/film/api/admin/AdminAuthController.java
View file @
f0d2c6a6
...
...
@@ -7,6 +7,7 @@ import java.util.Map;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.util.ResourceUtils
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.ResponseBody
;
...
...
@@ -58,6 +59,7 @@ public class AdminAuthController {
}
@ResponseBody
@Transactional
@RequestMapping
(
"adminSave"
)
@ApiOperation
(
"添加管理员"
)
@ApiImplicitParams
({
...
...
src/main/java/com/egolm/film/api/admin/AdminUserController.java
0 → 100644
View file @
f0d2c6a6
package
com
.
egolm
.
film
.
api
.
admin
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
com.egolm.common.bean.Rjx
;
import
com.egolm.film.api.admin.service.AdminTokenService
;
import
io.swagger.annotations.Api
;
@Api
@Controller
@RequestMapping
(
"admin/user"
)
public
class
AdminUserController
{
@Autowired
AdminTokenService
tokenService
;
public
Rjx
queryGroupList
(
String
keyword
,
Long
index
,
Long
limit
)
{
return
Rjx
.
jsonOk
();
}
}
src/main/java/com/egolm/film/api/admin/service/AdminUserService.java
0 → 100644
View file @
f0d2c6a6
package
com
.
egolm
.
film
.
api
.
admin
.
service
;
public
interface
AdminUserService
{
}
src/main/java/com/egolm/film/api/admin/service/impl/AdminAuthServiceImpl.java
View file @
f0d2c6a6
...
...
@@ -55,6 +55,7 @@ public class AdminAuthServiceImpl implements AdminAuthService {
@Override
public
void
saveAdmin
(
Fc_admin
admin
)
{
jdbcTemplate
.
save
(
admin
);
jdbcTemplate
.
executeUpdate
(
"update fc_admin_group set user_num = user_num + 1 where group_id = ?"
,
admin
.
getGroup_id
());
}
@Override
...
...
src/main/java/com/egolm/film/api/admin/service/impl/AdminUserServiceImpl.java
0 → 100644
View file @
f0d2c6a6
package
com
.
egolm
.
film
.
api
.
admin
.
service
.
impl
;
import
org.springframework.stereotype.Service
;
import
com.egolm.film.api.admin.service.AdminUserService
;
@Service
public
class
AdminUserServiceImpl
implements
AdminUserService
{
}
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