1.0.0 • Published 9 months ago
gsy-ajax v1.0.0
安装
npm i gsy-ajax
使用
import ajax from 'gsy-ajax'
ajax.config({
encryptionOff: 1,
RSA: "",
appKey: "6269762D07D049CCBF56A9775D2B7F74",
appSecret: "3DE8394393E14AB69A46CAF3A39F366E",
});
ajax.post(url, data, config),then((res) => {
//...
}).catch((error) => {
//...
})
1.0.0
9 months ago