## 0元会员注册次数限制(379);
This commit is contained in:
parent
3672a0a3fd
commit
828c2e44d5
|
@ -6,6 +6,7 @@ import com.hzs.common.core.annotation.RepeatSubmitSimple;
|
|||
import com.hzs.common.core.config.BdConfig;
|
||||
import com.hzs.common.core.constant.CacheConstants;
|
||||
import com.hzs.common.core.constant.CountryConstants;
|
||||
import com.hzs.common.core.constant.msg.MemberMsgConstants;
|
||||
import com.hzs.common.core.domain.R;
|
||||
import com.hzs.common.core.enums.ECategory;
|
||||
import com.hzs.common.core.enums.EDelFlag;
|
||||
|
@ -127,8 +128,8 @@ public class ApiShareController {
|
|||
.eq(CuMember::getDelFlag, EDelFlag.UN_DELETE.getValue())
|
||||
.eq(CuMember::getCategory, ECategory.NORMAL.getValue())
|
||||
);
|
||||
if (phoneCount > Integer.parseInt(value)) {
|
||||
return AjaxResult.error("会员信息已存在");
|
||||
if (phoneCount >= Integer.parseInt(value)) {
|
||||
return AjaxResult.error(MemberMsgConstants.SYSTEM_REGISTER_COUNT);
|
||||
}
|
||||
|
||||
CuMember newCuMember = iCuMemberService.shareRegisterMember(registerParam);
|
||||
|
|
|
@ -6,8 +6,6 @@ import lombok.Getter;
|
|||
|
||||
/**
|
||||
* 删除标记枚举类
|
||||
*
|
||||
* @author hzs
|
||||
*/
|
||||
@AllArgsConstructor
|
||||
@Getter
|
||||
|
|
Loading…
Reference in New Issue