| | |
| | | package com.doumee.api; |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.doumee.config.jwt.JwtTokenUtil; |
| | | import com.doumee.core.constants.ResponseStatus; |
| | | import com.doumee.core.exception.BusinessException; |
| | | import com.doumee.service.business.third.model.LoginUserInfo; |
| | |
| | | } |
| | | |
| | | public List<Integer> getIdList(String ids){ |
| | | if(StringUtils.isBlank(ids)){ |
| | | return null; |
| | | } |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | try { |
| | | idList.add(Integer.valueOf(id)); |
| | | }catch (Exception e){ |
| | | |
| | | } |
| | | } |
| | | return idList; |
| | | } |