• This project
    • Loading...
  • Sign in

陈嘉濠 / cezi · Files

Go to a project

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • cezi
  • src
  • api
  • home
  • index.js
  • 测字
    d1f79240
    by 陈嘉濠
    2022-09-24 16:35:33 +0800  
    Browse Files
index.js 445 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
//引入配置好的axios
//@/就是当前的src/, vue默认配置的
import axios from "@/utils/_axios.js";


//首页
// 项目列表
export function homeList(){
    return axios({
        url:"promotes/",
        method:"GET",
        header:{isToken:false}
    })
}

// 项目列表详细
export function detailed(data){
    return axios({
        url:"promote_detail/?id="+data,
        method:"GET",
        header:{isToken:false}
    })
}