|
|
import httpService from '../../../../common/httpService'
|
|
|
import config from '../config'
|
|
|
|
|
|
let collectApi = (param) => httpService.postJson('//action.yoho.cn/api/guochao/addFav', param);
|
|
|
let guochaoListApi = () => httpService.get('//action.yoho.cn/api/guochao/list');
|
|
|
let checkFavApi = (param) => httpService.postJson('//action.yoho.cn/api/guochao/checkFav',param);
|
|
|
module.exports = {collectApi,guochaoListApi,checkFavApi}; |
|
|
\ No newline at end of file |
|
|
let collectApi = (param) => httpService.postJson(config.domain + '/api/guochao/addFav', param);
|
|
|
let guochaoListApi = () => httpService.get(config.domain + '/api/guochao/list');
|
|
|
let checkFavApi = (param) => httpService.postJson(config.domain + '/api/guochao/checkFav', param);
|
|
|
module.exports = {collectApi, guochaoListApi, checkFavApi}; |
|
|
\ No newline at end of file |
...
|
...
|
|