Commit b2745fc2 authored by licc's avatar licc

新增controller

parent 916f83f1
...@@ -41,7 +41,7 @@ public interface BannerMapper extends BaseMapper<Banner> { ...@@ -41,7 +41,7 @@ public interface BannerMapper extends BaseMapper<Banner> {
/** /**
* 统计广告条数 * 统计广告条数
* @return * @return 广告条数
*/ */
int count(); int count();
} }
...@@ -10,7 +10,7 @@ import com.github.pagehelper.PageInfo; ...@@ -10,7 +10,7 @@ import com.github.pagehelper.PageInfo;
* @ Author : 86187 * @ Author : 86187
* @ Date : 2021/1/7 17:08 * @ Date : 2021/1/7 17:08
*/ */
public interface AdvertisingService { public interface BannerService {
/** /**
* 添加广告 * 添加广告
* *
......
...@@ -4,7 +4,6 @@ import cn.wisenergy.common.utils.R; ...@@ -4,7 +4,6 @@ import cn.wisenergy.common.utils.R;
import cn.wisenergy.model.vo.SchemeQueryVo; import cn.wisenergy.model.vo.SchemeQueryVo;
import cn.wisenergy.model.vo.VolunteerVo; import cn.wisenergy.model.vo.VolunteerVo;
import java.util.List;
/** /**
*@ Description: 方案接口定义 *@ Description: 方案接口定义
......
...@@ -4,7 +4,7 @@ import cn.wisenergy.common.utils.R; ...@@ -4,7 +4,7 @@ import cn.wisenergy.common.utils.R;
import cn.wisenergy.mapper.BannerMapper; import cn.wisenergy.mapper.BannerMapper;
import cn.wisenergy.model.app.Banner; import cn.wisenergy.model.app.Banner;
import cn.wisenergy.model.vo.AdvertisingQueryVo; import cn.wisenergy.model.vo.AdvertisingQueryVo;
import cn.wisenergy.service.app.AdvertisingService; import cn.wisenergy.service.app.BannerService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.github.pagehelper.PageInfo; import com.github.pagehelper.PageInfo;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
...@@ -17,7 +17,7 @@ import org.springframework.stereotype.Service; ...@@ -17,7 +17,7 @@ import org.springframework.stereotype.Service;
*/ */
@Slf4j @Slf4j
@Service @Service
public class AdvertisingServiceImpl extends ServiceImpl<BannerMapper, Banner> implements AdvertisingService { public class BannerServiceImpl extends ServiceImpl<BannerMapper, Banner> implements BannerService {
@Override @Override
public R<Banner> add(Banner advertising) { public R<Banner> add(Banner advertising) {
return null; return null;
......
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 {
}
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 {
}
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 {
}
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 {
}
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 {
}
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 {
}
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 {
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment