Merge branch 'dev-new' into dev-new-rabbitmq

This commit is contained in:
Guoqs
2024-11-05 16:58:09 +08:00

View File

@@ -118,6 +118,9 @@ public class PersonPileController extends BaseController {
try {
String memberId = getMemberIdByAuthorization(request);
dto.setMemberId(memberId);
if (StringUtils.isBlank(dto.getPileSn())) {
throw new BusinessException(ReturnCodeEnum.CODE_PARAM_NOT_NULL_ERROR);
}
int i = pileService.userUnbindPile(dto);
response = new RestApiResponse<>(i);
} catch (BusinessException e) {