完善BT下载器,机器人可以控制刷新下载了
This commit is contained in:
@@ -48,7 +48,7 @@ public class MusicController {
|
||||
public String getMusicListOfPath(@RequestBody JSONObject body) {
|
||||
String path = body.getString("path");
|
||||
boolean type = body.containsKey("type") ? body.getBoolean("type") : false;
|
||||
System.out.println("接收到地址:" + path);
|
||||
com.yutou.nas.utils.Log.i("接收到地址:" + path);
|
||||
if (StringUtils.isEmpty(path)
|
||||
|| path.equals("root")
|
||||
|| !path.contains(defaultMusicPath)
|
||||
|
||||
Reference in New Issue
Block a user