Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
V
volunteer_service
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
licc
volunteer_service
Commits
b2745fc2
Commit
b2745fc2
authored
Jan 14, 2021
by
licc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增controller
parent
916f83f1
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
131 additions
and
5 deletions
+131
-5
BannerMapper.java
...apper/src/main/java/cn/wisenergy/mapper/BannerMapper.java
+1
-1
BannerService.java
...src/main/java/cn/wisenergy/service/app/BannerService.java
+1
-1
SchemeService.java
...src/main/java/cn/wisenergy/service/app/SchemeService.java
+0
-1
BannerServiceImpl.java
...java/cn/wisenergy/service/app/impl/BannerServiceImpl.java
+2
-2
BannerController.java
.../wisenergy/web/admin/controller/app/BannerController.java
+18
-0
PayRecordController.java
...senergy/web/admin/controller/app/PayRecordController.java
+18
-0
SchemeController.java
.../wisenergy/web/admin/controller/app/SchemeController.java
+18
-0
SchemeRecordController.java
...ergy/web/admin/controller/app/SchemeRecordController.java
+18
-0
UserLimitController.java
...senergy/web/admin/controller/app/UserLimitController.java
+18
-0
UserLongController.java
...isenergy/web/admin/controller/app/UserLongController.java
+19
-0
VolunteerController.java
...senergy/web/admin/controller/app/VolunteerController.java
+18
-0
No files found.
wisenergy-mapper/src/main/java/cn/wisenergy/mapper/BannerMapper.java
View file @
b2745fc2
...
...
@@ -41,7 +41,7 @@ public interface BannerMapper extends BaseMapper<Banner> {
/**
* 统计广告条数
* @return
* @return
广告条数
*/
int
count
();
}
wisenergy-service/src/main/java/cn/wisenergy/service/app/
Advertising
Service.java
→
wisenergy-service/src/main/java/cn/wisenergy/service/app/
Banner
Service.java
View file @
b2745fc2
...
...
@@ -10,7 +10,7 @@ import com.github.pagehelper.PageInfo;
* @ Author : 86187
* @ Date : 2021/1/7 17:08
*/
public
interface
Advertising
Service
{
public
interface
Banner
Service
{
/**
* 添加广告
*
...
...
wisenergy-service/src/main/java/cn/wisenergy/service/app/SchemeService.java
View file @
b2745fc2
...
...
@@ -4,7 +4,6 @@ import cn.wisenergy.common.utils.R;
import
cn.wisenergy.model.vo.SchemeQueryVo
;
import
cn.wisenergy.model.vo.VolunteerVo
;
import
java.util.List
;
/**
*@ Description: 方案接口定义
...
...
wisenergy-service/src/main/java/cn/wisenergy/service/app/impl/
Advertising
ServiceImpl.java
→
wisenergy-service/src/main/java/cn/wisenergy/service/app/impl/
Banner
ServiceImpl.java
View file @
b2745fc2
...
...
@@ -4,7 +4,7 @@ import cn.wisenergy.common.utils.R;
import
cn.wisenergy.mapper.BannerMapper
;
import
cn.wisenergy.model.app.Banner
;
import
cn.wisenergy.model.vo.AdvertisingQueryVo
;
import
cn.wisenergy.service.app.
Advertising
Service
;
import
cn.wisenergy.service.app.
Banner
Service
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.github.pagehelper.PageInfo
;
import
lombok.extern.slf4j.Slf4j
;
...
...
@@ -17,7 +17,7 @@ import org.springframework.stereotype.Service;
*/
@Slf4j
@Service
public
class
AdvertisingServiceImpl
extends
ServiceImpl
<
BannerMapper
,
Banner
>
implements
Advertising
Service
{
public
class
BannerServiceImpl
extends
ServiceImpl
<
BannerMapper
,
Banner
>
implements
Banner
Service
{
@Override
public
R
<
Banner
>
add
(
Banner
advertising
)
{
return
null
;
...
...
wisenergy-web-admin/src/main/java/cn/wisenergy/web/admin/controller/app/BannerController.java
0 → 100644
View file @
b2745fc2
package
cn
.
wisenergy
.
web
.
admin
.
controller
.
app
;
import
io.swagger.annotations.Api
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
/**
* @ Description: 管理端-广告管理
* @ Author : 86187
* @ Date : 2021/1/14 10:43
*/
@RestController
@Api
(
tags
=
"管理端-广告管理"
)
@RequestMapping
(
"/banner"
)
@Slf4j
public
class
BannerController
{
}
wisenergy-web-admin/src/main/java/cn/wisenergy/web/admin/controller/app/PayRecordController.java
0 → 100644
View file @
b2745fc2
package
cn
.
wisenergy
.
web
.
admin
.
controller
.
app
;
import
io.swagger.annotations.Api
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
/**
* @ Description: PC-我的账户
* @ Author : 86187
* @ Date : 2021/1/14 10:45
*/
@RestController
@Api
(
tags
=
"PC-我的账户"
)
@RequestMapping
(
"/pay/record"
)
@Slf4j
public
class
PayRecordController
{
}
wisenergy-web-admin/src/main/java/cn/wisenergy/web/admin/controller/app/SchemeController.java
0 → 100644
View file @
b2745fc2
package
cn
.
wisenergy
.
web
.
admin
.
controller
.
app
;
import
io.swagger.annotations.Api
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
/**
* @ Description: PC-方案
* @ Author : 86187
* @ Date : 2021/1/14 10:50
*/
@RestController
@Api
(
tags
=
"PC-方案"
)
@RequestMapping
(
"/scheme"
)
@Slf4j
public
class
SchemeController
{
}
wisenergy-web-admin/src/main/java/cn/wisenergy/web/admin/controller/app/SchemeRecordController.java
0 → 100644
View file @
b2745fc2
package
cn
.
wisenergy
.
web
.
admin
.
controller
.
app
;
import
io.swagger.annotations.Api
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
/**
* @ Description: PC-我的方案
* @ Author : 86187
* @ Date : 2021/1/14 10:48
*/
@RestController
@Api
(
tags
=
"PC-我的方案"
)
@RequestMapping
(
"/scheme/record"
)
@Slf4j
public
class
SchemeRecordController
{
}
wisenergy-web-admin/src/main/java/cn/wisenergy/web/admin/controller/app/UserLimitController.java
0 → 100644
View file @
b2745fc2
package
cn
.
wisenergy
.
web
.
admin
.
controller
.
app
;
import
io.swagger.annotations.Api
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
/**
* @ Description: PC-用户查询次数
* @ Author : 86187
* @ Date : 2021/1/14 10:50
*/
@RestController
@Api
(
tags
=
"PC-用户查询次数"
)
@RequestMapping
(
"/user/limit"
)
@Slf4j
public
class
UserLimitController
{
}
wisenergy-web-admin/src/main/java/cn/wisenergy/web/admin/controller/app/UserLongController.java
0 → 100644
View file @
b2745fc2
package
cn
.
wisenergy
.
web
.
admin
.
controller
.
app
;
import
io.swagger.annotations.Api
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
/**
* @ Description: PC-用户登录
* @ Author : 86187
* @ Date : 2021/1/14 10:50
*/
@RestController
@Api
(
tags
=
"PC-用户登录"
)
@RequestMapping
(
"/user/login"
)
@Slf4j
public
class
UserLongController
{
}
wisenergy-web-admin/src/main/java/cn/wisenergy/web/admin/controller/app/VolunteerController.java
0 → 100644
View file @
b2745fc2
package
cn
.
wisenergy
.
web
.
admin
.
controller
.
app
;
import
io.swagger.annotations.Api
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
/**
* @ Description: PC-志愿模块
* @ Author : 86187
* @ Date : 2021/1/14 10:55
*/
@RestController
@Api
(
tags
=
"PC-志愿模块"
)
@RequestMapping
(
"/volunteer"
)
@Slf4j
public
class
VolunteerController
{
}
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