3 changed files with 108 additions and 5 deletions
@ -0,0 +1,20 @@ |
|||
package io.xtfs.jwebfs.web; |
|||
|
|||
import com.alibaba.fastjson.JSONObject; |
|||
import io.xtfs.jwebfs.utils.AjaxResult; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RequestParam; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
@RestController |
|||
@RequestMapping("/wbfs/v2") |
|||
public class WbFsController { |
|||
@RequestMapping("/flist") |
|||
public JSONObject flist(@RequestParam(value = "fspath",defaultValue = "/")String fspath){ |
|||
if ("/".equals(fspath)) { |
|||
|
|||
} |
|||
// return AjaxResult.success("success",nlist,0);
|
|||
return AjaxResult.success("ss"); |
|||
} |
|||
} |
|||
Loading…
Reference in new issue