|
|
@ -18,6 +18,7 @@ |
|
|
|
package com.epmet.modules.member.controller; |
|
|
|
|
|
|
|
import com.epmet.commons.tools.annotation.LoginUser; |
|
|
|
import com.epmet.commons.tools.aop.NoRepeatSubmit; |
|
|
|
import com.epmet.commons.tools.security.dto.TokenDto; |
|
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
|
import com.epmet.commons.tools.validator.ValidatorUtils; |
|
|
@ -57,6 +58,7 @@ public class ResiGroupMemberController { |
|
|
|
* @Date 2020/3/29 20:01 |
|
|
|
**/ |
|
|
|
@PostMapping("applyjoingroup") |
|
|
|
@NoRepeatSubmit |
|
|
|
public Result applyJoinGroup(@LoginUser TokenDto tokenDto, |
|
|
|
@RequestBody ApplyJoinGroupFormDTO applyJoinGroupFormDTO) { |
|
|
|
applyJoinGroupFormDTO.setUserId(tokenDto.getUserId()); |
|
|
@ -109,6 +111,7 @@ public class ResiGroupMemberController { |
|
|
|
* @Date 2020/3/30 22:07 |
|
|
|
**/ |
|
|
|
@PostMapping("agreeapply") |
|
|
|
@NoRepeatSubmit |
|
|
|
public Result agreeApply(@LoginUser TokenDto tokenDto, |
|
|
|
@RequestBody AgreeApplyFormDTO agreeApplyFormDTO) { |
|
|
|
agreeApplyFormDTO.setUserId(tokenDto.getUserId()); |
|
|
|