@@ -88,7 +88,7 @@ func FsList(c *gin.Context, req *ListReq, user *model.User) {
8888 common .ErrorResp (c , err , 500 , true )
8989 return
9090 }
91- common .GinWithValue (c , conf .MetaKey , meta )
91+ common .GinAppendValues (c , conf .MetaKey , meta )
9292 if ! common .CanAccess (user , meta , reqPath , req .Password ) {
9393 common .ErrorStrResp (c , "password is incorrect or you have no permission" , 403 )
9494 return
@@ -152,7 +152,7 @@ func FsDirs(c *gin.Context) {
152152 common .ErrorResp (c , err , 500 , true )
153153 return
154154 }
155- common .GinWithValue (c , conf .MetaKey , meta )
155+ common .GinAppendValues (c , conf .MetaKey , meta )
156156 if ! common .CanAccess (user , meta , reqPath , req .Password ) {
157157 common .ErrorStrResp (c , "password is incorrect or you have no permission" , 403 )
158158 return
@@ -291,7 +291,7 @@ func FsGet(c *gin.Context, req *FsGetReq, user *model.User) {
291291 common .ErrorResp (c , err , 500 , true )
292292 return
293293 }
294- common .GinWithValue (c , conf .MetaKey , meta )
294+ common .GinAppendValues (c , conf .MetaKey , meta )
295295 if ! common .CanAccess (user , meta , reqPath , req .Password ) {
296296 common .ErrorStrResp (c , "password is incorrect or you have no permission" , 403 )
297297 return
@@ -415,7 +415,7 @@ func FsOther(c *gin.Context) {
415415 common .ErrorResp (c , err , 500 )
416416 return
417417 }
418- common .GinWithValue (c , conf .MetaKey , meta )
418+ common .GinAppendValues (c , conf .MetaKey , meta )
419419 if ! common .CanAccess (user , meta , req .Path , req .Password ) {
420420 common .ErrorStrResp (c , "password is incorrect or you have no permission" , 403 )
421421 return
0 commit comments