123456789101112131415161718192021222324252627282930313233343536373839 |
- import request from '../utils/request';
- export function postListData(params) {
- console.log('params',params);
- return request('https://official.webapi.bicredit.xin/api/news/list', {
- method: 'post',
- data: {...params}//get请求使用params,直接拼接在请求url上
- })
- }
- export function postListID(params) {
- // console.log('params',params);
- return request('https://official.webapi.bicredit.xin/api/news/detail', {
- method: 'get',
- data: {...params}//get请求使用params,直接拼接在请求url上
- })
- }
- //
- // 获取验证码
- export function sendSms(params) {
- console.log('params',params);
- return request('http://api.crm.meloinfo.com/collect/sendSms', {
- method: 'post',
- data: {...params}//get请求使用params,直接拼接在请求url上
- })
- }
- // 渠道商户
- export function postCustomer(params) {
- console.log('params',params);
- return request('http://api.crm.meloinfo.com/collect/customer', {
- method: 'post',
- data: {...params}//get请求使用params,直接拼接在请求url上
- })
- }
- // export const getListT = (params) => {
- // return request('', {
- // method: 'post',
- // data: {...params}//post请求使用post
- // })
- // }
|