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