|
|
@ -18,6 +18,7 @@ |
|
|
|
package com.epmet.controller; |
|
|
|
|
|
|
|
import com.epmet.commons.tools.annotation.LoginUser; |
|
|
|
import com.epmet.commons.tools.aop.NoRepeatSubmit; |
|
|
|
import com.epmet.commons.tools.exception.RenException; |
|
|
|
import com.epmet.commons.tools.page.PageData; |
|
|
|
import com.epmet.commons.tools.security.dto.TokenDto; |
|
|
@ -145,6 +146,7 @@ public class IcCommunitySelfOrganizationController { |
|
|
|
* @author zxc |
|
|
|
* @date 2021/11/19 8:33 上午 |
|
|
|
*/ |
|
|
|
@NoRepeatSubmit |
|
|
|
@PostMapping("addcommunityselforganization") |
|
|
|
public Result addCommunitySelfOrganization(@LoginUser TokenDto tokenDto, @RequestBody AddCommunitySelfOrganizationFormDTO formDTO){ |
|
|
|
ValidatorUtils.validateEntity(formDTO, AddCommunitySelfOrganizationFormDTO.AddCommunitySelfOrganizationForm.class); |
|
|
@ -159,6 +161,7 @@ public class IcCommunitySelfOrganizationController { |
|
|
|
* @author zxc |
|
|
|
* @date 2021/11/19 10:12 上午 |
|
|
|
*/ |
|
|
|
@NoRepeatSubmit |
|
|
|
@PostMapping("editcommunityselforganization") |
|
|
|
public Result editCommunitySelfOrganization(@LoginUser TokenDto tokenDto, @RequestBody EditCommunitySelfOrganizationFormDTO formDTO){ |
|
|
|
ValidatorUtils.validateEntity(formDTO, EditCommunitySelfOrganizationFormDTO.EditCommunitySelfOrganizationForm.class); |
|
|
|