• This project
    • Loading...
  • Sign in

陈嘉濠 / h5-vue2.x · 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
  • h5-vue2.x
  • 0824再来一次不回传
  • src
  • api
  • returnHC
  • index.js
  • 0824再来一次不回传
    9171bf15
    by 陈嘉濠
    2022-08-24 20:56:11 +0800  
    Browse Files
index.js 449 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
//引入配置好的axios
//@/就是当前的src/, vue默认配置的
import axios from "@/utils/_axios.js";

//回传

export function returnBc(data){
    return axios({
        // url:"/test/c",
        url:"/ad_baichuan/add",

        method:"POST",
        data:{
            phone: data.phone,
            bcTag: data.bcTag,
            type: data.type,
            payPrice: data.payPrice,
            orderSn: data.orderSn
        }

    })
}