├── limage
└── 1.png
├── image
├── 图片1.png
├── 图片10.png
├── 图片11.png
├── 图片12.png
├── 图片2.png
├── 图片3.png
├── 图片4.png
├── 图片5.png
├── 图片6.png
├── 图片7.png
├── 图片8.png
└── 图片9.png
├── src
├── main
│ ├── resources
│ │ ├── mapper
│ │ │ ├── ConfigDao.xml
│ │ │ ├── UserDao.xml
│ │ │ ├── TokenDao.xml
│ │ │ ├── StoreupDao.xml
│ │ │ ├── WodehaoyouDao.xml
│ │ │ ├── YonghuDao.xml
│ │ │ ├── DefaultuserDao.xml
│ │ │ ├── DiscussmeishijianshangDao.xml
│ │ │ ├── CommonDao.xml
│ │ │ └── MeishijianshangDao.xml
│ │ └── application.yml
│ └── java
│ │ └── com
│ │ ├── dao
│ │ ├── ConfigDao.java
│ │ ├── UserDao.java
│ │ ├── TokenDao.java
│ │ ├── CommonDao.java
│ │ ├── YonghuDao.java
│ │ ├── StoreupDao.java
│ │ ├── WodehaoyouDao.java
│ │ ├── DefaultuserDao.java
│ │ ├── MeishijianshangDao.java
│ │ └── DiscussmeishijianshangDao.java
│ │ ├── annotation
│ │ ├── IgnoreAuth.java
│ │ ├── LoginUser.java
│ │ └── APPLoginUser.java
│ │ ├── service
│ │ ├── ConfigService.java
│ │ ├── CommonService.java
│ │ ├── UserService.java
│ │ ├── TokenService.java
│ │ ├── impl
│ │ │ ├── ConfigServiceImpl.java
│ │ │ ├── CommonServiceImpl.java
│ │ │ ├── UserServiceImpl.java
│ │ │ ├── YonghuServiceImpl.java
│ │ │ ├── StoreupServiceImpl.java
│ │ │ ├── WodehaoyouServiceImpl.java
│ │ │ ├── DefaultuserServiceImpl.java
│ │ │ ├── MeishijianshangServiceImpl.java
│ │ │ ├── DiscussmeishijianshangServiceImpl.java
│ │ │ └── TokenServiceImpl.java
│ │ ├── YonghuService.java
│ │ ├── StoreupService.java
│ │ ├── WodehaoyouService.java
│ │ ├── DefaultuserService.java
│ │ ├── MeishijianshangService.java
│ │ └── DiscussmeishijianshangService.java
│ │ ├── utils
│ │ ├── MD5Util.java
│ │ ├── CommonUtil.java
│ │ ├── FileUtil.java
│ │ ├── JQPageInfo.java
│ │ ├── R.java
│ │ ├── SQLFilter.java
│ │ ├── HttpClientUtils.java
│ │ ├── ValidatorUtils.java
│ │ ├── SpringContextUtils.java
│ │ ├── PageUtils.java
│ │ ├── Query.java
│ │ ├── BaiduUtil.java
│ │ └── MPUtil.java
│ │ ├── config
│ │ ├── MybatisPlusConfig.java
│ │ └── InterceptorConfig.java
│ │ ├── SpringbootSchemaApplication.java
│ │ ├── entity
│ │ ├── view
│ │ │ ├── YonghuView.java
│ │ │ ├── StoreupView.java
│ │ │ ├── WodehaoyouView.java
│ │ │ ├── DefaultuserView.java
│ │ │ ├── MeishijianshangView.java
│ │ │ └── DiscussmeishijianshangView.java
│ │ ├── EIException.java
│ │ ├── ConfigEntity.java
│ │ ├── UserEntity.java
│ │ ├── vo
│ │ │ ├── WodehaoyouVO.java
│ │ │ ├── StoreupVO.java
│ │ │ ├── DiscussmeishijianshangVO.java
│ │ │ ├── YonghuVO.java
│ │ │ ├── DefaultuserVO.java
│ │ │ └── MeishijianshangVO.java
│ │ ├── model
│ │ │ ├── WodehaoyouModel.java
│ │ │ ├── StoreupModel.java
│ │ │ ├── DiscussmeishijianshangModel.java
│ │ │ ├── YonghuModel.java
│ │ │ ├── DefaultuserModel.java
│ │ │ └── MeishijianshangModel.java
│ │ ├── TokenEntity.java
│ │ ├── WodehaoyouEntity.java
│ │ ├── StoreupEntity.java
│ │ ├── DiscussmeishijianshangEntity.java
│ │ ├── YonghuEntity.java
│ │ ├── DefaultuserEntity.java
│ │ └── MeishijianshangEntity.java
│ │ ├── controller
│ │ ├── ConfigController.java
│ │ ├── FileController.java
│ │ ├── UserController.java
│ │ ├── StoreupController.java
│ │ ├── DiscussmeishijianshangController.java
│ │ ├── WodehaoyouController.java
│ │ └── CommonController.java
│ │ └── interceptor
│ │ └── AuthorizationInterceptor.java
└── test
│ └── java
│ └── com
│ └── SpringbootSchemaApplicationTests.java
├── README.md
└── pom.xml
/limage/1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nature924/No302Exploration-and-Sharing-Platform-for-Campus-Surrounding-Cuisine/HEAD/limage/1.png
--------------------------------------------------------------------------------
/image/图片1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nature924/No302Exploration-and-Sharing-Platform-for-Campus-Surrounding-Cuisine/HEAD/image/图片1.png
--------------------------------------------------------------------------------
/image/图片10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nature924/No302Exploration-and-Sharing-Platform-for-Campus-Surrounding-Cuisine/HEAD/image/图片10.png
--------------------------------------------------------------------------------
/image/图片11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nature924/No302Exploration-and-Sharing-Platform-for-Campus-Surrounding-Cuisine/HEAD/image/图片11.png
--------------------------------------------------------------------------------
/image/图片12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nature924/No302Exploration-and-Sharing-Platform-for-Campus-Surrounding-Cuisine/HEAD/image/图片12.png
--------------------------------------------------------------------------------
/image/图片2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nature924/No302Exploration-and-Sharing-Platform-for-Campus-Surrounding-Cuisine/HEAD/image/图片2.png
--------------------------------------------------------------------------------
/image/图片3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nature924/No302Exploration-and-Sharing-Platform-for-Campus-Surrounding-Cuisine/HEAD/image/图片3.png
--------------------------------------------------------------------------------
/image/图片4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nature924/No302Exploration-and-Sharing-Platform-for-Campus-Surrounding-Cuisine/HEAD/image/图片4.png
--------------------------------------------------------------------------------
/image/图片5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nature924/No302Exploration-and-Sharing-Platform-for-Campus-Surrounding-Cuisine/HEAD/image/图片5.png
--------------------------------------------------------------------------------
/image/图片6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nature924/No302Exploration-and-Sharing-Platform-for-Campus-Surrounding-Cuisine/HEAD/image/图片6.png
--------------------------------------------------------------------------------
/image/图片7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nature924/No302Exploration-and-Sharing-Platform-for-Campus-Surrounding-Cuisine/HEAD/image/图片7.png
--------------------------------------------------------------------------------
/image/图片8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nature924/No302Exploration-and-Sharing-Platform-for-Campus-Surrounding-Cuisine/HEAD/image/图片8.png
--------------------------------------------------------------------------------
/image/图片9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nature924/No302Exploration-and-Sharing-Platform-for-Campus-Surrounding-Cuisine/HEAD/image/图片9.png
--------------------------------------------------------------------------------
/src/main/resources/mapper/ConfigDao.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/src/main/java/com/dao/ConfigDao.java:
--------------------------------------------------------------------------------
1 |
2 | package com.dao;
3 |
4 | import com.baomidou.mybatisplus.mapper.BaseMapper;
5 | import com.entity.ConfigEntity;
6 |
7 | /**
8 | * 配置
9 | */
10 | public interface ConfigDao extends BaseMapper {
11 |
12 | }
13 |
--------------------------------------------------------------------------------
/src/main/java/com/annotation/IgnoreAuth.java:
--------------------------------------------------------------------------------
1 | package com.annotation;
2 |
3 | import java.lang.annotation.*;
4 |
5 | /**
6 | * 忽略Token验证
7 | */
8 | @Target(ElementType.METHOD)
9 | @Retention(RetentionPolicy.RUNTIME)
10 | @Documented
11 | public @interface IgnoreAuth {
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/src/test/java/com/SpringbootSchemaApplicationTests.java:
--------------------------------------------------------------------------------
1 | package com;
2 |
3 | import org.junit.jupiter.api.Test;
4 | import org.springframework.boot.test.context.SpringBootTest;
5 |
6 | @SpringBootTest
7 | class SpringbootSchemaApplicationTests {
8 |
9 | @Test
10 | void contextLoads() {
11 | }
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/src/main/java/com/service/ConfigService.java:
--------------------------------------------------------------------------------
1 |
2 | package com.service;
3 |
4 | import java.util.Map;
5 |
6 | import com.baomidou.mybatisplus.service.IService;
7 | import com.entity.ConfigEntity;
8 | import com.utils.PageUtils;
9 |
10 |
11 | /**
12 | * 系统用户
13 | */
14 | public interface ConfigService extends IService {
15 | PageUtils queryPage(Map params);
16 | }
17 |
--------------------------------------------------------------------------------
/src/main/java/com/utils/MD5Util.java:
--------------------------------------------------------------------------------
1 | package com.utils;
2 |
3 | import cn.hutool.crypto.digest.DigestUtil;
4 |
5 | public class MD5Util {
6 |
7 | /**
8 | * @param text明文
9 | * @param key密钥
10 | * @return 密文
11 | */
12 | // 带秘钥加密
13 | public static String md5(String text) {
14 | // 加密后的字符串
15 | String md5str = DigestUtil.md5Hex(text);
16 | return md5str;
17 | }
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/src/main/java/com/annotation/LoginUser.java:
--------------------------------------------------------------------------------
1 | package com.annotation;
2 |
3 | import java.lang.annotation.ElementType;
4 | import java.lang.annotation.Retention;
5 | import java.lang.annotation.RetentionPolicy;
6 | import java.lang.annotation.Target;
7 |
8 | /**
9 | * 登录用户信息
10 | */
11 | @Target(ElementType.PARAMETER)
12 | @Retention(RetentionPolicy.RUNTIME)
13 | public @interface LoginUser {
14 |
15 | }
16 |
--------------------------------------------------------------------------------
/src/main/java/com/annotation/APPLoginUser.java:
--------------------------------------------------------------------------------
1 | package com.annotation;
2 |
3 | import java.lang.annotation.ElementType;
4 | import java.lang.annotation.Retention;
5 | import java.lang.annotation.RetentionPolicy;
6 | import java.lang.annotation.Target;
7 |
8 | /**
9 | * 登录用户信息
10 | */
11 | @Target(ElementType.PARAMETER)
12 | @Retention(RetentionPolicy.RUNTIME)
13 | public @interface APPLoginUser {
14 |
15 | }
16 |
--------------------------------------------------------------------------------
/src/main/resources/mapper/UserDao.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
12 |
13 |
--------------------------------------------------------------------------------
/src/main/resources/mapper/TokenDao.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
12 |
13 |
--------------------------------------------------------------------------------
/src/main/java/com/config/MybatisPlusConfig.java:
--------------------------------------------------------------------------------
1 |
2 | package com.config;
3 |
4 | import org.springframework.context.annotation.Bean;
5 | import org.springframework.context.annotation.Configuration;
6 |
7 | import com.baomidou.mybatisplus.mapper.MetaObjectHandler;
8 | import com.baomidou.mybatisplus.plugins.PaginationInterceptor;
9 |
10 | /**
11 | * mybatis-plus配置
12 | */
13 | @Configuration
14 | public class MybatisPlusConfig {
15 |
16 | /**
17 | * 分页插件
18 | */
19 | @Bean
20 | public PaginationInterceptor paginationInterceptor() {
21 | return new PaginationInterceptor();
22 | }
23 |
24 | }
25 |
--------------------------------------------------------------------------------
/src/main/java/com/service/CommonService.java:
--------------------------------------------------------------------------------
1 | package com.service;
2 |
3 | import java.util.List;
4 | import java.util.Map;
5 |
6 | public interface CommonService {
7 | List getOption(Map params);
8 |
9 | Map getFollowByOption(Map params);
10 |
11 | void sh(Map params);
12 |
13 | int remindCount(Map params);
14 |
15 | Map selectCal(Map params);
16 |
17 | List