vehiclerequest.js 318 B

12345678
  1. //获取app对象,引入网站api对象
  2. const App = getApp();
  3. import siteinfo from "../siteinfo.js";
  4. //调用app的requestMethod方法
  5. module.exports = function (url, method, data, timeout, success, fail, complete) {
  6. App.requestMethod(siteinfo.vehicleroot + url, method, data, timeout, success, fail, complete);
  7. }