|
|
|
@ -30,6 +30,7 @@ import org.springframework.web.bind.annotation.*;
|
|
|
|
|
import org.springframework.web.client.RestTemplate;
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
|
import javax.security.auth.AuthPermission;
|
|
|
|
|
import java.util.HashMap;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.Map;
|
|
|
|
@ -54,6 +55,15 @@ public class PlatformController {
|
|
|
|
|
return ResultVOUtils.error(500, "删除失败");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@AuthRuleAnnotation("")
|
|
|
|
|
@PostMapping("/udiwms/platform/delect")
|
|
|
|
|
public BaseResponse delect(@RequestBody PlatformEntity platformEntity) {
|
|
|
|
|
if (platformService.remove(platformEntity.getId())>0) {
|
|
|
|
|
ResultVOUtils.success("删除成功");
|
|
|
|
|
}
|
|
|
|
|
return ResultVOUtils.error(500, "删除失败");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@AuthRuleAnnotation("")
|
|
|
|
|
@PostMapping("/udiwms/platform/update")
|
|
|
|
|