| | |
| | | // @Accept x-www-form-urlencoded |
| | | // @Produce json |
| | | // @Tags dbtable |
| | | // @Param isDelete query string true "0:查未删除,1:查已删除,其他:查所有" |
| | | // @Success 200 {string} json "{"code":200, msg:"", success:true}" |
| | | // @Failure 500 {string} json "{"code":500, msg:"", success:false}" |
| | | // @Router /data/api-v/dbtable/findAllDbTablesByCurServer [GET] |
| | | func (dbt DbTableController) FindAllDbTablesByCurServer(c *gin.Context) { |
| | | var api dbapi.DbTableApi |
| | | arr,e := api.FindAllDbTablesByCurServer() |
| | | isDeleteStr := c.Query("isDelete") |
| | | arr,e := api.FindAllDbTablesByCurServer(isDeleteStr) |
| | | if e == nil { |
| | | util.ResponseFormat(c,code.Success, arr) |
| | | } else { |