mirror of
https://github.com/xuxiaobo-bobo/boda_jsEnv.git
synced 2025-04-22 10:44:24 +08:00
29 lines
723 B
JavaScript
29 lines
723 B
JavaScript
var $=function (){
|
|
console.log_copy(`使用 $ ----> arg ->`,JSON.stringify(arguments))
|
|
|
|
}
|
|
|
|
$.get=function(url,data,success,dataType){
|
|
console.log_copy(`$.get -->`,'arg -> ',JSON.stringify(arguments))
|
|
|
|
}
|
|
$.post=function(url, data, success, dataType){
|
|
console.log_copy(`$.post -->`,'arg -> ',JSON.stringify(arguments))
|
|
|
|
}
|
|
$.ajax=function (obj){
|
|
console.log_copy(`$.ajax -->`,'arg -> ',JSON.stringify(obj))
|
|
}
|
|
|
|
|
|
var axios=function(){
|
|
console.log_copy(`使用 axios ----> arg ->`,JSON.stringify(arguments))
|
|
|
|
}
|
|
axios.get=function(){
|
|
console.log_copy(`axios.get -->`,'arg -> ',JSON.stringify(arguments))
|
|
}
|
|
axios.post=function(){
|
|
console.log_copy(`axios.post -->`,'arg -> ',JSON.stringify(arguments))
|
|
|
|
} |