|
|
@@ -17,9 +17,9 @@
|
|
|
package org.springblade.modules.system.controller;
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
+import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
-import io.swagger.annotations.ApiOperationSupport;
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
import lombok.AllArgsConstructor;
|
|
|
import org.springblade.core.boot.ctrl.BladeController;
|
|
|
@@ -62,7 +62,7 @@ public class AuthClientController extends BladeController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 分页
|
|
|
+ * 分页
|
|
|
*/
|
|
|
@GetMapping("/list")
|
|
|
@ApiOperationSupport(order = 2)
|
|
|
@@ -73,7 +73,7 @@ public class AuthClientController extends BladeController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 新增
|
|
|
+ * 新增
|
|
|
*/
|
|
|
@PostMapping("/save")
|
|
|
@ApiOperationSupport(order = 3)
|
|
|
@@ -83,7 +83,7 @@ public class AuthClientController extends BladeController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 修改
|
|
|
+ * 修改
|
|
|
*/
|
|
|
@PostMapping("/update")
|
|
|
@ApiOperationSupport(order = 4)
|
|
|
@@ -93,7 +93,7 @@ public class AuthClientController extends BladeController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 新增或修改
|
|
|
+ * 新增或修改
|
|
|
*/
|
|
|
@PostMapping("/submit")
|
|
|
@ApiOperationSupport(order = 5)
|
|
|
@@ -102,9 +102,9 @@ public class AuthClientController extends BladeController {
|
|
|
return R.status(clientService.saveOrUpdate(authClient));
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+
|
|
|
/**
|
|
|
- * 删除
|
|
|
+ * 删除
|
|
|
*/
|
|
|
@PostMapping("/remove")
|
|
|
@ApiOperationSupport(order = 6)
|
|
|
@@ -113,5 +113,5 @@ public class AuthClientController extends BladeController {
|
|
|
return R.status(clientService.deleteLogic(Func.toLongList(ids)));
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+
|
|
|
}
|