Files
ctms-client/apis/ctms/datas.js

19 lines
492 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import request from './_utils/request.js'
import apis from './apis.json'
export default {
// 首页数据
h5: function() {
const data = {}
let url = apis.IndexData;
return request({
'url': url,
// 'force_url': '', //强制指定URL忽略上面的url设定
'method': 'GET',
'data': data,
'params': {}
}).then((res) => {
if (res.code == 200) return res.data;
})
},
}