爱尚家接口合并到cms-api.websoft.top

This commit is contained in:
2025-03-05 17:21:00 +08:00
parent 5a030d5a30
commit 2c77a45e5d
23 changed files with 202 additions and 94 deletions

View File

@@ -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,