<README;*impl;package>
body:
1. update README.md
2. rename package
3. add exception package
4. fix some bugs
This commit is contained in:
xieYj 2021-03-27 17:59:17 +08:00
parent 693c6e87d2
commit eaa1a06099
7 changed files with 8 additions and 8 deletions

View File

@ -2,7 +2,7 @@
## 沐雪社区:
**项目名称:**沐雪社区开源版
**项目名称:** 沐雪社区开源版
**项目描述:**

View File

@ -7,9 +7,9 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
* springboot启动器
*/
@SpringBootApplication
public class BlogApplication {
public class MxBlogApplication {
public static void main(String[] args) {
SpringApplication.run(BlogApplication.class, args);
SpringApplication.run(MxBlogApplication.class, args);
}
}

View File

@ -1,4 +1,4 @@
package cn.allms.Config;
package cn.allms.config;
import cn.allms.interceptor.LoginInterceptor;
import org.springframework.context.annotation.Configuration;

View File

@ -1,4 +1,4 @@
package cn.allms;
package cn.allms.exception;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

View File

@ -2,7 +2,7 @@ package cn.allms.service.impl;
import cn.allms.po.Blog;
import cn.allms.vo.BlogQuery;
import cn.allms.NotFoundException;
import cn.allms.exception.NotFoundException;
import cn.allms.dao.BlogRepository;
import cn.allms.service.BlogService;
import cn.allms.po.Type;

View File

@ -3,7 +3,7 @@ package cn.allms.service.impl;
import cn.allms.po.Tag;
import cn.allms.service.TagService;
import cn.allms.NotFoundException;
import cn.allms.exception.NotFoundException;
import cn.allms.dao.TagRepository;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;

View File

@ -1,6 +1,6 @@
package cn.allms.service.impl;
import cn.allms.NotFoundException;
import cn.allms.exception.NotFoundException;
import cn.allms.dao.TypeRepository;
import cn.allms.po.Type;
import cn.allms.service.TypeService;