Compare commits
2 Commits
3ecc4c7120
...
5459b980e9
Author | SHA1 | Date | |
---|---|---|---|
![]() |
5459b980e9 | ||
![]() |
589b8d2736 |
@ -26,7 +26,7 @@ VITE_APP_WS_IM_API = 'wss://cloud-api.mall4j.com'
|
|||||||
VITE_APP_MERCHANT_PLATFORM_URL = 'https://cloud-multishop.mall4j.com'
|
VITE_APP_MERCHANT_PLATFORM_URL = 'https://cloud-multishop.mall4j.com'
|
||||||
|
|
||||||
# 访问文件存储资源的url 对应阿里云的Bucket域名
|
# 访问文件存储资源的url 对应阿里云的Bucket域名
|
||||||
VITE_APP_RESOURCES_URL = 'https://mall4j-minio-test.mall4j.com/tmerclub'
|
VITE_APP_RESOURCES_URL = 'https://tmer-test.oss-cn-hangzhou.aliyuncs.com'
|
||||||
|
|
||||||
# 线上域名
|
# 线上域名
|
||||||
VITE_APP_DOMAIN_ADDRESS = 'https://h5.mall4j.com/cloud'
|
VITE_APP_DOMAIN_ADDRESS = 'https://h5.mall4j.com/cloud'
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
###
|
||||||
|
# @Description :
|
||||||
|
# @Autor : cl
|
||||||
|
# @Date : 2025-03-24 22:12:26
|
||||||
|
###
|
||||||
# 如需添加更多环境变量,请以 VITE_APP_ 开头声明
|
# 如需添加更多环境变量,请以 VITE_APP_ 开头声明
|
||||||
# 在代码中使用 import.meta.env.VITE_APP_XXX 获取指定变量
|
# 在代码中使用 import.meta.env.VITE_APP_XXX 获取指定变量
|
||||||
# 环境配置标识
|
# 环境配置标识
|
||||||
@ -21,7 +26,7 @@ VITE_APP_WS_IM_API = 'wss://cloud-api.mall4j.com'
|
|||||||
VITE_APP_MERCHANT_PLATFORM_URL = 'https://cloud-multishop.mall4j.com'
|
VITE_APP_MERCHANT_PLATFORM_URL = 'https://cloud-multishop.mall4j.com'
|
||||||
|
|
||||||
# 访问文件存储资源的url 对应阿里云的Bucket域名
|
# 访问文件存储资源的url 对应阿里云的Bucket域名
|
||||||
VITE_APP_RESOURCES_URL = 'https://tmerclub.oss-cn-guangzhou.aliyuncs.com'
|
VITE_APP_RESOURCES_URL = 'https://tmer-test.oss-cn-hangzhou.aliyuncs.com'
|
||||||
|
|
||||||
# 线上域名
|
# 线上域名
|
||||||
VITE_APP_DOMAIN_ADDRESS = 'https://h5.mall4j.com/cloud'
|
VITE_APP_DOMAIN_ADDRESS = 'https://h5.mall4j.com/cloud'
|
||||||
|
@ -55,7 +55,7 @@ onMounted(() => {
|
|||||||
const getNoticeList = () => {
|
const getNoticeList = () => {
|
||||||
// 加载公告
|
// 加载公告
|
||||||
http.request({
|
http.request({
|
||||||
url: '/tmerclub_admin/mua/app/notice',
|
url: '/tmerclub_admin/ma/notice',
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
data: {
|
data: {
|
||||||
shopId: props.shopId,
|
shopId: props.shopId,
|
||||||
|
@ -145,7 +145,7 @@ onMounted(() => {
|
|||||||
const getPageInfoById = () => {
|
const getPageInfoById = () => {
|
||||||
list.value = []
|
list.value = []
|
||||||
const params = {
|
const params = {
|
||||||
url: '/tmerclub_admin/mua/app/shopRenovation/get_renovation_by_id',
|
url: '/tmerclub_admin/ua/shop_renovation/get_renovation_by_id',
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
data: {
|
data: {
|
||||||
renovationId: props.pageId
|
renovationId: props.pageId
|
||||||
|
@ -1051,7 +1051,7 @@ const onFollowShop = () => {
|
|||||||
const shopId = liveInfo.value.shopId
|
const shopId = liveInfo.value.shopId
|
||||||
util.checkAuthInfo(() => {
|
util.checkAuthInfo(() => {
|
||||||
http.request({
|
http.request({
|
||||||
url: '/tmerclub_admin/mua/app/userFavorite/add_or_cancel',
|
url: '/tmerclub_admin/user_collection_shop/add_or_cancel',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: shopId
|
data: shopId
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
@ -1063,7 +1063,7 @@ const onFollowShop = () => {
|
|||||||
const queryShopCollection = () => {
|
const queryShopCollection = () => {
|
||||||
const shopId = liveInfo.value.shopId
|
const shopId = liveInfo.value.shopId
|
||||||
http.request({
|
http.request({
|
||||||
url: '/tmerclub_admin/mua/app/userFavorite/ma/is_collection',
|
url: '/tmerclub_admin/user_collection_shop/ma/is_collection',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
data: {
|
data: {
|
||||||
shopId
|
shopId
|
||||||
|
@ -29,7 +29,7 @@ onLoad((options) => {
|
|||||||
*/
|
*/
|
||||||
const onQueryDetailsOfNotice = (id) => {
|
const onQueryDetailsOfNotice = (id) => {
|
||||||
http.request({
|
http.request({
|
||||||
url: '/tmerclub_admin/mua/app/notice/info',
|
url: '/tmerclub_admin/ma/notice/info',
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
data: {
|
data: {
|
||||||
id
|
id
|
||||||
|
@ -191,7 +191,7 @@ const onGetNumberOfProdCollected = () => {
|
|||||||
const shopCollectedNum = ref(0)
|
const shopCollectedNum = ref(0)
|
||||||
const onGetNumberOfShopCollected = () => {
|
const onGetNumberOfShopCollected = () => {
|
||||||
http.request({
|
http.request({
|
||||||
url: '/tmerclub_admin/mua/app/userFavorite/count',
|
url: '/tmerclub_admin/user_collection_shop/count',
|
||||||
method: 'GET'
|
method: 'GET'
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
shopCollectedNum.value = res
|
shopCollectedNum.value = res
|
||||||
@ -208,7 +208,7 @@ const onQueryCollectData = (pageNum, pageSize) => {
|
|||||||
if (navStatus.value === 0) {
|
if (navStatus.value === 0) {
|
||||||
url = '/tmerclub_product/spu_collection/page'
|
url = '/tmerclub_product/spu_collection/page'
|
||||||
} else if (navStatus.value === 1) {
|
} else if (navStatus.value === 1) {
|
||||||
url = '/tmerclub_admin/mua/app/userFavorite/page'
|
url = '/tmerclub_admin/user_collection_shop/page'
|
||||||
}
|
}
|
||||||
http.request({
|
http.request({
|
||||||
url,
|
url,
|
||||||
@ -233,7 +233,7 @@ const onCancelCollect = () => {
|
|||||||
if (navStatus.value === 0) {
|
if (navStatus.value === 0) {
|
||||||
url = '/tmerclub_product/spu_collection/add_or_cancel'
|
url = '/tmerclub_product/spu_collection/add_or_cancel'
|
||||||
} else if (navStatus.value === 1) {
|
} else if (navStatus.value === 1) {
|
||||||
url = '/tmerclub_admin/mua/app/userFavorite/add_or_cancel'
|
url = '/tmerclub_admin/user_collection_shop/add_or_cancel'
|
||||||
}
|
}
|
||||||
http.request({
|
http.request({
|
||||||
url,
|
url,
|
||||||
|
@ -242,7 +242,7 @@ const queryCollectedStatus = () => {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
http.request({
|
http.request({
|
||||||
url: '/tmerclub_admin/mua/app/userFavorite/ma/is_collection',
|
url: '/tmerclub_admin/user_collection_shop/ma/is_collection',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
data: {
|
data: {
|
||||||
shopId: props.shopId
|
shopId: props.shopId
|
||||||
@ -258,7 +258,7 @@ const queryCollectedStatus = () => {
|
|||||||
const addOrCancelOfCollection = () => {
|
const addOrCancelOfCollection = () => {
|
||||||
const shopId = props.shopId
|
const shopId = props.shopId
|
||||||
http.request({
|
http.request({
|
||||||
url: '/tmerclub_admin/mua/app/userFavorite/add_or_cancel',
|
url: '/tmerclub_admin/user_collection_shop/add_or_cancel',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: shopId
|
data: shopId
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
|
@ -85,7 +85,7 @@ const pagingRef = ref(null)
|
|||||||
*/
|
*/
|
||||||
const queryShopNotices = (pageNum, pageSize) => {
|
const queryShopNotices = (pageNum, pageSize) => {
|
||||||
http.request({
|
http.request({
|
||||||
url: '/tmerclub_admin/mua/app/notice',
|
url: '/tmerclub_admin/ma/notice',
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
data: {
|
data: {
|
||||||
shopId: shopId.value,
|
shopId: shopId.value,
|
||||||
|
@ -302,7 +302,7 @@ const banners = ref([]) // 轮播图
|
|||||||
*/
|
*/
|
||||||
const queryShopBanners = () => {
|
const queryShopBanners = () => {
|
||||||
http.request({
|
http.request({
|
||||||
url: '/tmerclub_admin/mua/app/indexPic/list',
|
url: '/tmerclub_admin/ua/index_img/list',
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
data: {
|
data: {
|
||||||
shopId: shopId.value,
|
shopId: shopId.value,
|
||||||
@ -328,7 +328,7 @@ const queryCollectedStatus = () => {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
http.request({
|
http.request({
|
||||||
url: '/tmerclub_admin/mua/app/userFavorite/ma/is_collection',
|
url: '/tmerclub_admin/user_collection_shop/ma/is_collection',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
data: {
|
data: {
|
||||||
shopId: shopId.value
|
shopId: shopId.value
|
||||||
@ -343,7 +343,7 @@ const queryCollectedStatus = () => {
|
|||||||
*/
|
*/
|
||||||
const addOrCancelOfCollection = () => {
|
const addOrCancelOfCollection = () => {
|
||||||
http.request({
|
http.request({
|
||||||
url: '/tmerclub_admin/mua/app/userFavorite/add_or_cancel',
|
url: '/tmerclub_admin/user_collection_shop/add_or_cancel',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: shopId.value,
|
data: shopId.value,
|
||||||
dontShowLogin: true
|
dontShowLogin: true
|
||||||
|
@ -117,7 +117,7 @@ const hotSearchList = ref([])
|
|||||||
const getHotSearch = () => {
|
const getHotSearch = () => {
|
||||||
isLoaded.value = false
|
isLoaded.value = false
|
||||||
http.request({
|
http.request({
|
||||||
url: '/tmerclub_admin/mua/app/hotQuery/list',
|
url: '/tmerclub_admin/ua/app/hot_search/list',
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
data: {
|
data: {
|
||||||
sort: 1,
|
sort: 1,
|
||||||
|
@ -506,7 +506,7 @@ const isBgImg = ref(false)
|
|||||||
*/
|
*/
|
||||||
const onGetFeatureIndex = () => {
|
const onGetFeatureIndex = () => {
|
||||||
http.request({
|
http.request({
|
||||||
url: '/tmerclub_admin/mua/app/shopRenovation/get_home',
|
url: '/tmerclub_admin/ua/shop_renovation/get_home',
|
||||||
data: {
|
data: {
|
||||||
renovationType: 2, // 装修类型 1.pc 2.移动端
|
renovationType: 2, // 装修类型 1.pc 2.移动端
|
||||||
shopId: 0
|
shopId: 0
|
||||||
@ -574,7 +574,7 @@ const indexImgs = ref([]) // 轮播图
|
|||||||
*/
|
*/
|
||||||
const onGetIndexImgs = () => {
|
const onGetIndexImgs = () => {
|
||||||
const params = {
|
const params = {
|
||||||
url: '/tmerclub_admin/mua/app/indexPic/list',
|
url: '/tmerclub_admin/ua/index_img/list',
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
data: {
|
data: {
|
||||||
shopId: pageQuery.shopId,
|
shopId: pageQuery.shopId,
|
||||||
|
@ -190,7 +190,7 @@ const onLoadMsgList = () => {
|
|||||||
pageSize
|
pageSize
|
||||||
}
|
}
|
||||||
} else if (currentTabType.value === 1) {
|
} else if (currentTabType.value === 1) {
|
||||||
url = '/tmerclub_admin/mua/app/notice'
|
url = '/tmerclub_admin/ma/notice'
|
||||||
reqData = {
|
reqData = {
|
||||||
shopId,
|
shopId,
|
||||||
pageNum,
|
pageNum,
|
||||||
|
@ -846,7 +846,7 @@ const onGetDataList = (pageNum, pageSize) => {
|
|||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
const params = {
|
const params = {
|
||||||
url: '/tmerclub_admin/mua/app/shopDetail/page',
|
url: '/tmerclub_admin/ua/shop_detail/page',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
data: {
|
data: {
|
||||||
pageNum,
|
pageNum,
|
||||||
@ -1493,7 +1493,7 @@ const onToShopPage = (shopId) => {
|
|||||||
*/
|
*/
|
||||||
const onGetShopInfo = (shopId) => {
|
const onGetShopInfo = (shopId) => {
|
||||||
const params = {
|
const params = {
|
||||||
url: '/tmerclub_admin/mua/app/shopDetail/head_info',
|
url: '/tmerclub_admin/ua/shop_detail/head_info',
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
data: {
|
data: {
|
||||||
shopId,
|
shopId,
|
||||||
|
@ -143,7 +143,7 @@ const searchKeyword = ref('') // 关键词
|
|||||||
const onGetHotSearchList = (type) => {
|
const onGetHotSearchList = (type) => {
|
||||||
isLoaded.value = false
|
isLoaded.value = false
|
||||||
const params = {
|
const params = {
|
||||||
url: '/tmerclub_admin/mua/app/hotQuery/list',
|
url: '/tmerclub_admin/ua/app/hot_search/list',
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
data: {
|
data: {
|
||||||
shopId: 0,
|
shopId: 0,
|
||||||
|
@ -273,7 +273,7 @@ const util = {
|
|||||||
getShopMessage: (shopId) => {
|
getShopMessage: (shopId) => {
|
||||||
return new Promise((resolve) => {
|
return new Promise((resolve) => {
|
||||||
const params = {
|
const params = {
|
||||||
url: '/tmerclub_admin/mua/app/shopDetail/head_info',
|
url: '/tmerclub_admin/ua/shop_detail/head_info',
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
data: {
|
data: {
|
||||||
shopId,
|
shopId,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user