Change portal.api to content.api.

pull/146/head
ruibaby 2019-04-21 16:09:02 +08:00
parent 4c2eaa1266
commit 25ca8b96be
10 changed files with 10 additions and 10 deletions

View File

@ -63,8 +63,8 @@ public class SwaggerConfiguration {
public Docket haloDefaultApi() {
log.debug("Doc disabled: [{}]", haloProperties.isDocDisabled());
// TODO Build with different security configuration
return buildApiDocket("run.halo.app.portal.api",
"run.halo.app.web.controller.portal.api",
return buildApiDocket("run.halo.app.content.api",
"run.halo.app.web.controller.content.api",
"/api/**")
.enable(!haloProperties.isDocDisabled());
}

View File

@ -1,4 +1,4 @@
package run.halo.app.web.controller.portal.api;
package run.halo.app.web.controller.content.api;
import run.halo.app.model.vo.ArchiveMonthVO;
import run.halo.app.model.vo.ArchiveYearVO;

View File

@ -1,4 +1,4 @@
package run.halo.app.web.controller.portal.api;
package run.halo.app.web.controller.content.api;
import run.halo.app.model.dto.CommentOutputDTO;
import run.halo.app.model.entity.User;

View File

@ -1,4 +1,4 @@
package run.halo.app.web.controller.portal.api;
package run.halo.app.web.controller.content.api;
import run.halo.app.model.vo.LinkTeamVO;
import run.halo.app.service.LinkService;

View File

@ -1,4 +1,4 @@
package run.halo.app.web.controller.portal.api;
package run.halo.app.web.controller.content.api;
import run.halo.app.model.dto.MenuOutputDTO;
import run.halo.app.service.MenuService;

View File

@ -1,4 +1,4 @@
package run.halo.app.web.controller.portal.api;
package run.halo.app.web.controller.content.api;
import run.halo.app.model.dto.OptionOutputDTO;
import run.halo.app.model.support.BaseResponse;

View File

@ -1,4 +1,4 @@
package run.halo.app.web.controller.portal.api;
package run.halo.app.web.controller.content.api;
import run.halo.app.model.dto.post.PostDetailOutputDTO;
import run.halo.app.model.dto.post.PostSimpleOutputDTO;

View File

@ -1,4 +1,4 @@
package run.halo.app.web.controller.portal.api;
package run.halo.app.web.controller.content.api;
import run.halo.app.model.dto.TagOutputDTO;
import run.halo.app.model.dto.post.PostSimpleOutputDTO;

View File

@ -1,4 +1,4 @@
package run.halo.app.web.controller.portal.api;
package run.halo.app.web.controller.content.api;
import run.halo.app.model.dto.UserOutputDTO;
import run.halo.app.service.UserService;