1234567891011121314151617181920212223242526272829303132333435363738394041 |
- 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 downInfo() {
- // console.log('params',params);
- return request('https://official.webapi.bicredit.xin/api/app/down/info', {
- 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上
- })
- }
|