对cid运行添加上次成功失败信息
This commit is contained in:
parent
106e27f457
commit
c75dd8b95e
|
|
@ -2,6 +2,7 @@ package handler
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
"videoplayer/proto"
|
"videoplayer/proto"
|
||||||
"videoplayer/service"
|
"videoplayer/service"
|
||||||
|
|
@ -178,7 +179,9 @@ func RunSQLHandler(c *gin.Context) {
|
||||||
resp.Data = res
|
resp.Data = res
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
log.Println("run sql resp, sql is:", req.SQL)
|
||||||
c.JSON(http.StatusOK, resp)
|
c.JSON(http.StatusOK, resp)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
func GetDBTableDescHandler(c *gin.Context) {
|
func GetDBTableDescHandler(c *gin.Context) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue