mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-19 09:25:53 +08:00
买家端商品分类,导航加载报错问题,商家端跳转买家端商品地址代码优化,文件上传地址调用位置修改
This commit is contained in:
@@ -8,14 +8,6 @@ import {
|
||||
getRequestWithNoToken,
|
||||
commonUrl
|
||||
} from "@/libs/axios";
|
||||
import config from "@/config";
|
||||
|
||||
// 文件上传接口
|
||||
export const uploadFile = commonUrl + "/common/upload/file";
|
||||
// 验证码渲染图片接口
|
||||
export const drawCodeImage = "/common/captcha/draw/";
|
||||
// 获取菜单
|
||||
export const getMenuList = "/permission/getMenuList";
|
||||
// 获取数据字典
|
||||
export const getDictData = "/dictData/getByType/";
|
||||
// Websocket
|
||||
|
||||
@@ -6,17 +6,8 @@ import {
|
||||
deleteRequest,
|
||||
getRequestWithNoToken,
|
||||
postRequestWithNoToken,
|
||||
commonUrl,
|
||||
baseUrl
|
||||
} from "@/libs/axios";
|
||||
|
||||
// 文件上传接口
|
||||
export const uploadFile = commonUrl + "/common/upload/file";
|
||||
// 验证码渲染图片接口
|
||||
export const drawCodeImage = commonUrl + "/common/captcha/draw/";
|
||||
// 获取菜单
|
||||
export const getMenuList = baseUrl + "/permission/getMenuList";
|
||||
|
||||
//获取所有city
|
||||
export const getAllCity = (params) => {
|
||||
return getRequest(commonUrl+'/common/region/allCity', params)
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
// 统一请求路径前缀在libs/axios.js中修改
|
||||
import { getRequest, postRequest, putRequest, deleteRequest, importRequest, getRequestWithNoToken } from '@/libs/axios';
|
||||
|
||||
// 验证码渲染图片接口
|
||||
export const drawCodeImage = "/lili/common/captcha/draw/"
|
||||
|
||||
|
||||
// 获取kuaidi配置
|
||||
export const getParams = (params) => {
|
||||
return getRequest('/platformSetting/get/'+params)
|
||||
|
||||
@@ -3,12 +3,6 @@ import {getRequest, postRequest, putRequest, deleteRequest, importRequest, getRe
|
||||
|
||||
// Vaptcha ID
|
||||
export const vaptchaID = "5dce36188713b71e70a41eb7"
|
||||
// 文件上传接口
|
||||
export const uploadFile = "/upload/file"
|
||||
// 验证码渲染图片接口
|
||||
export const drawCodeImage = "/common/captcha/draw/"
|
||||
// 获取菜单
|
||||
export const getMenuList = "/permission/getMenuList"
|
||||
// 获取数据字典
|
||||
export const getDictData = "/dictData/getByType/"
|
||||
// Websocket
|
||||
|
||||
Reference in New Issue
Block a user