音乐改成数据库形式(防止内存爆炸)

新增FFmpeg获取元数据方式(无法保证所有数据都能获取到)
预置音乐收藏夹功能
机器人登录后向群里通告
移除广告相关接口
This commit is contained in:
yutou
2020-11-27 18:33:21 +08:00
parent 68bf2d96fb
commit fb9f02a751
22 changed files with 3375 additions and 407 deletions

View File

@@ -2,6 +2,7 @@ package com.yutou.tools.other;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.yutou.tools.ToolsApplication;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
@@ -61,4 +62,9 @@ public class tools {
return str;
//return "function test(){ return \"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1588139022200&di=8cc8405f7514dd54bd82fcd070349603&imgtype=0&src=http%3A%2F%2Fa2.att.hudong.com%2F36%2F48%2F19300001357258133412489354717.jpg\" }";
}
@RequestMapping("/public/version.do")
@ResponseBody
public String getVersion(){
return ToolsApplication.version;
}
}