|
|
@@ -78,8 +78,8 @@ import (
|
|
|
// curl -X GET "http://localhost:31000/example/api/v1/hobby/student/query?id=42b305bb292c4082a3e91a2967f11111"
|
|
|
|
|
|
// Sql Executor
|
|
|
-// curl -X POST -H 'Content-Type: application/json' -d '{"sql": "SELECT * FROM test.sql_execute_logs", "executorName": "test"}' "http://localhost:31000/example/api/sql/execute"
|
|
|
-// curl -X GET "http://localhost:31000/example/api/sql/execute/log?sql=SELECT&executorName=te&startExecuteTime=2024-05-30%2012:03:45"
|
|
|
+// curl -X POST -H 'Content-Type: application/json' -d '{"sql": "SELECT * FROM test.sql_execute_logs", "executorId": "guest-00254b4a7102429db35e6edc8e", "executorName": "test"}' "http://localhost:31000/example/api/sql/execute"
|
|
|
+// curl -X GET "http://localhost:31000/example/api/sql/execute/log?sql=SELECT&executorId=guest-00254b4a7102429db35e6edc8e&executorName=te&startExecuteTime=2024-05-30%2012:03:45"
|
|
|
|
|
|
func main() {
|
|
|
application.NewApp()
|