Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

马贞晓 / templateVUE

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • templateVUE
  • src
  • service
  • Service.js
  • 马贞晓's avatar
    基础搭建 · b9d26ef2
    马贞晓 committed Nov 10, 2019
    b9d26ef2
Service.js 505 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
/**
 * @name 此页面使用公共返回数据
 */
import Axios,{URL} from "@/service/index";
@Axios
class index{
    GET(url,params){
       return this.$axios.get(url,params)
                         .then(d=>{
                             return d;
                         })

    }
    POST(url,data){
        return this.$axios.post(url,data)
                         .then(d=>{
                             return d;
                         })

    }
}
export {
    URL
}
export default new index;