add and improve remove driver function and rename datapoint
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package dbm
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
@@ -46,10 +45,6 @@ func (d *DBMHandler) Json_Data(c *gin.Context) {
|
||||
}
|
||||
if len(payload.Set) > 0 {
|
||||
resp.Set, err = d.DBM.CreateDatapoints(payload.Set...)
|
||||
for i, o := range resp.Set {
|
||||
fmt.Println(1000, i, o)
|
||||
fmt.Println(1001, o.HasChild)
|
||||
}
|
||||
if err != nil {
|
||||
r := json_data.NewResponse()
|
||||
r.SetError()
|
||||
|
Reference in New Issue
Block a user