|
@@ -50,7 +50,7 @@ func regAssetApi(r *GinRouter) {
|
|
return query
|
|
return query
|
|
},
|
|
},
|
|
JWT: true,
|
|
JWT: true,
|
|
- SearchProject: []string{"name", "createTime", "type", "unit", "price", "cover", "status"},
|
|
|
|
|
|
+ SearchProject: []string{"name", "createTime", "thumbnail", "groups"},
|
|
OnUpdate: func(c *gin.Context, apictx *ApiSession, entity interface{}, id primitive.ObjectID) {
|
|
OnUpdate: func(c *gin.Context, apictx *ApiSession, entity interface{}, id primitive.ObjectID) {
|
|
asset := entity.(*model.Asset360Fake3d)
|
|
asset := entity.(*model.Asset360Fake3d)
|
|
if asset == nil {
|
|
if asset == nil {
|