两个接口路径修改
This commit is contained in:
parent
774e501437
commit
368f8401d8
@ -66,7 +66,7 @@ export const getHistoryTopOne = async () => {
|
||||
export const getExchangeGoods = async (data) => {
|
||||
try {
|
||||
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
|
||||
} catch (error) {
|
||||
@ -80,7 +80,7 @@ export const getExchangeGoods = async (data) => {
|
||||
export const getMyFragment = async (data) => {
|
||||
try {
|
||||
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
|
||||
} catch (error) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user