ServiceManageController.java 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. package com.huimv.manage.controller;
  2. import org.springframework.util.StringUtils;
  3. import org.springframework.web.bind.annotation.PostMapping;
  4. import org.springframework.web.bind.annotation.RequestMapping;
  5. import org.springframework.web.bind.annotation.RequestParam;
  6. import org.springframework.web.bind.annotation.RestController;
  7. @RestController
  8. @RequestMapping("/serviceManage")
  9. public class ServiceManageController {
  10. /**
  11. * 新购
  12. * @return
  13. */
  14. @PostMapping("/newInstance")
  15. public String newInstance(@RequestParam(value = "pageNum") Integer pageNum,
  16. @RequestParam(value = "pageSize") Integer pageSize,
  17. @RequestParam(value = "pageSize") String searchStr) {
  18. if (StringUtils.isEmpty(searchStr)){
  19. return "";
  20. }else {
  21. return "";
  22. }
  23. }
  24. /**
  25. * 续费
  26. * @return
  27. */
  28. @PostMapping("/refreshInstance")
  29. public String refreshInstance(@RequestParam(value = "pageNum") Integer pageNum,
  30. @RequestParam(value = "pageSize") Integer pageSize,
  31. @RequestParam(value = "pageSize") String searchStr) {
  32. if (StringUtils.isEmpty(searchStr)){
  33. return "";
  34. }else {
  35. return "";
  36. }
  37. }
  38. /**
  39. * 服务过期
  40. * @return
  41. */
  42. @PostMapping("/expireInstance")
  43. public String expireInstance(@RequestParam(value = "pageNum") Integer pageNum,
  44. @RequestParam(value = "pageSize") Integer pageSize,
  45. @RequestParam(value = "pageSize") String searchStr) {
  46. if (StringUtils.isEmpty(searchStr)){
  47. return "";
  48. }else {
  49. return "";
  50. }
  51. }
  52. /**
  53. * 释放实力
  54. * @return
  55. */
  56. @PostMapping("/releaseInstance")
  57. public String releaseInstance(@RequestParam(value = "pageNum") Integer pageNum,
  58. @RequestParam(value = "pageSize") Integer pageSize,
  59. @RequestParam(value = "pageSize") String searchStr) {
  60. if (StringUtils.isEmpty(searchStr)){
  61. return "";
  62. }else {
  63. return "";
  64. }
  65. }
  66. /**
  67. * 升级
  68. * @return
  69. */
  70. @PostMapping("/upgrade")
  71. public String upgrade(@RequestParam(value = "pageNum") Integer pageNum,
  72. @RequestParam(value = "pageSize") Integer pageSize,
  73. @RequestParam(value = "pageSize") String searchStr) {
  74. if (StringUtils.isEmpty(searchStr)){
  75. return "";
  76. }else {
  77. return "";
  78. }
  79. }
  80. }