爱尚家接口合并到cms-api.websoft.top
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import http from './index.js';
|
||||
|
||||
import {
|
||||
serverUrl
|
||||
} from '@/config.js';
|
||||
/**
|
||||
* 缓存工具包
|
||||
* @author 科技小王子
|
||||
@@ -7,9 +9,9 @@ import http from './index.js';
|
||||
*/
|
||||
|
||||
// 获取配置信息
|
||||
export const getConfig = () => http.get('/system/cache/config')
|
||||
export const getConfig = () => http.get(serverUrl + '/system/cache/config')
|
||||
// 添加关注
|
||||
export const addFocus = (data) => http.post('/shop/user-follow', data)
|
||||
export const addFocus = (data) => http.post(serverUrl + '/shop/user-follow', data)
|
||||
|
||||
export default {
|
||||
getConfig,
|
||||
|
||||
Reference in New Issue
Block a user