| | |
| | | import com.moon.server.entity.all.ResponseMsg; |
| | | import com.moon.server.entity.sys.ResEntity; |
| | | import com.moon.server.entity.sys.UserEntity; |
| | | import com.moon.server.helper.StringHelper; |
| | | import com.moon.server.service.all.PermsService; |
| | | import com.moon.server.service.all.UploadAttachService; |
| | | import com.moon.server.service.sys.ResService; |
| | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 资源管理 |
| | | * @author WWW |
| | | */ |
| | | @SuppressWarnings("ALL") |
| | | @Api(tags = "运维管理\\资源管理") |
| | | @RestController |
| | | @RequestMapping("/res") |
| | |
| | | } |
| | | |
| | | permsService.clearPermsCache(); |
| | | int count = resService.deletes(ids); |
| | | String strs = StringHelper.join(ids, ","); |
| | | int count = resService.deletes(strs); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |