Compare commits

...

2 Commits

Author SHA1 Message Date
快乐橙
5459b980e9 Merge branch 'master' of http://101.37.204.35:3000/admin/tmerclub-uniapp 2025-04-13 23:41:24 +08:00
快乐橙
589b8d2736 fix:接口修改 2025-04-13 23:40:58 +08:00
16 changed files with 29 additions and 24 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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) => {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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