|
@@ -51,6 +51,7 @@ func regAssetApi(r *GinRouter) {
|
|
},
|
|
},
|
|
JWT: true,
|
|
JWT: true,
|
|
SearchProject: []string{"name", "createTime", "thumbnail", "groups"},
|
|
SearchProject: []string{"name", "createTime", "thumbnail", "groups"},
|
|
|
|
+ DetailProject: []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 {
|