Giter Site home page Giter Site logo

musicplayer's Introduction

1. 项目技术相关

1.1. VUE2技术

1.2. VUE2插件 Axios

2. 帮助文档

  1. VUE2官方安装指导
  2. Axios安装指导
  3. 音乐接口

3. 项目搭建

3.1. VUE2安装

3.2. VUE2目录结构

目录名 作用
css 存放公共样式
images 存放图片

3.3. 搭建项目的页面

页面名称 名称
首页 播放器.html

4. 接口数据

4.1. 歌曲接口

msg 接口返回信息 code 接口返回代码 code==200 时,查询正确

  1. 歌曲搜索接口

    @url https://apimusic.linweiqin.com/search
    @method get
    @params keywords
    @return result,code
    @result songs(id,name)
  2. 歌曲url获取接口

    @url https://apimusic.linweiqin.com/song/url
    @method get
    @params id((歌曲id)
    @return data,code
    @data   id,url(歌曲URL),size,type
  3. 歌曲详情获取

    @url https://apimusic.linweiqin.com/song/detail
    @method get
    @params ids
    @return songs,code
    @songs  id,name,al(picUrl)相册
  4. 热门评论获取

    @url https://apimusic.linweiqin.com/comment/hot?type=0
    @method get
    @params id(歌曲id,地址中的type固定为0)
    @return code,total,hotComments(热门评论)
    @hotComments user(avatarUrl,nickname,userId),content,time,likedCount
  5. mv地址获取

    @url https://apimusic.linweiqin.com/mv/url
    @method get
    @params id(mvid,为0表示没有mv)
    @return code,data(url,size,id)

musicplayer's People

Contributors

thomaslwq avatar

Stargazers

codershine avatar  avatar  avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.