package api import ( "box-cost/db/repo" "github.com/gin-gonic/gin" "go.mongodb.org/mongo-driver/bson/primitive" ) func Printr(c *gin.Context, apictx *ApiSession) (interface{}, error) { id, _ := primitive.ObjectIDFromHex("638edc9ac3242a12b462efce") return SearchBillTypeById(apictx, repo.CollectionBillProduce, id) // return incrementer(apictx, "纸张类") }