|
@ -25,9 +25,9 @@ Guns采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意
|
|
|
|
|
|
package cn.stylefeng.guns.sys.core.validator;
|
|
|
|
|
|
import cn.hutool.log.Log;
|
|
|
import cn.stylefeng.guns.core.context.group.RequestGroupContext;
|
|
|
import cn.stylefeng.guns.core.context.group.RequestParamIdContext;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.validation.Errors;
|
|
|
import org.springframework.validation.beanvalidation.LocalValidatorFactoryBean;
|
|
|
|
|
@ -43,9 +43,10 @@ import static cn.stylefeng.guns.core.consts.CommonConstant.ID;
|
|
|
* @author fengshuonan
|
|
|
* @date 2020/8/12 20:07
|
|
|
*/
|
|
|
@Slf4j
|
|
|
public class GunsValidator extends LocalValidatorFactoryBean {
|
|
|
|
|
|
private static final Log log = Log.get();
|
|
|
|
|
|
@Override
|
|
|
public void validate(Object target, Errors errors, Object... validationHints) {
|
|
|
|