mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-08-02 05:20:15 +08:00
support view trigger producer function
This commit is contained in:
@ -9,11 +9,19 @@ import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* SQL Controller
|
||||
*/
|
||||
@ConnectionInfoAspect
|
||||
@RequestMapping("/api/sql")
|
||||
@RestController
|
||||
public class SqlController {
|
||||
|
||||
/**
|
||||
* SQL Format
|
||||
* @param sqlFormatRequest
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/format")
|
||||
public DataResult<String> list(@Valid SqlFormatRequest sqlFormatRequest) {
|
||||
|
||||
|
Reference in New Issue
Block a user