tokers commented on a change in pull request #902:
URL: https://github.com/apache/apisix-dashboard/pull/902#discussion_r532400393



##########
File path: api/internal/core/entity/entity.go
##########
@@ -17,24 +17,30 @@
 package entity
 
 import (
+       "reflect"
        "time"
 
        "github.com/apisix/manager-api/internal/utils"
 )
 
 type BaseInfo struct {
-       ID         string `json:"id"`
-       CreateTime int64  `json:"create_time"`
-       UpdateTime int64  `json:"update_time"`
+       ID         interface{} `json:"id"`

Review comment:
       Why not using `json.Number`?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to