两个接口路径修改

This commit is contained in:
tianfeng 2025-09-22 12:03:00 +08:00
parent 774e501437
commit 368f8401d8

View File

@ -66,7 +66,7 @@ export const getHistoryTopOne = async () => {
export const getExchangeGoods = async (data) => { export const getExchangeGoods = async (data) => {
try { try {
const response = await get( const response = await get(
`/props-activity-cnf/client/listActivityResource?sysOrigin=${data.sysOrigin}&activityType=${data.activityType}` `/activity/week-star/listActivityResource?sysOrigin=${data.sysOrigin}&activityType=${data.activityType}`
) )
return response return response
} catch (error) { } catch (error) {
@ -80,7 +80,7 @@ export const getExchangeGoods = async (data) => {
export const getMyFragment = async (data) => { export const getMyFragment = async (data) => {
try { try {
const response = await post( const response = await post(
`/user/backpack/client/list/by/user-id?userId=${data.userId}&fragmentsIds=${data.fragmentsIds}` `/activity/week-star/list/by/user-id?userId=${data.userId}&fragmentsIds=${data.fragmentsIds}`
) )
return response return response
} catch (error) { } catch (error) {