|
@@ -32,7 +32,7 @@ func AssetCategory(c *gin.Context, apictx *ApiSession) (interface{}, error) {
|
|
|
}
|
|
|
|
|
|
cates := comm.DbCategory{}
|
|
|
-
|
|
|
+ // err = bus.NatsCenter.RequestApi("tree.category.query", &req, 3*time.Second, &cates)
|
|
|
err = bus.NatsCenter.RequestPackApi("tree.category.query", &req, &cates, &comm.RequestOptions{
|
|
|
DeployPack: "spu3dtree",
|
|
|
})
|