|
@@ -31,6 +31,7 @@ import com.jeeplus.sys.service.mapstruct.UserWrapper;
|
|
|
import com.jeeplus.sys.utils.UserUtils;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.http.ResponseEntity;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
@@ -583,4 +584,14 @@ public class UserService extends ServiceImpl <UserMapper, User> {
|
|
|
queryWrapper.eq ( "a.del_flag", CommonConstants.NOT_DELETED ); // 排除已经删除
|
|
|
return baseMapper.findCertList ( page, queryWrapper );
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 修改用户邮箱
|
|
|
+ * @param id
|
|
|
+ * @param userEmail
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ public void updateEmail(String id, String userEmail) {
|
|
|
+ userMapper.updateEmail(id,userEmail);
|
|
|
+ }
|
|
|
}
|