You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
404 B

3 years ago
3 years ago
3 years ago
3 years ago
  1. import { createAPI } from "@/utils/httpRequest.js";
  2. // 收藏列表
  3. export const userFavoriteList = data => createAPI('/userFavorite/userFavoriteList/'+data.userId+'/'+data.languageCode,"GET",data)
  4. // 收藏
  5. export const saveUserFavorite = data => createAPI('/userFavorite/save',"POST",data)
  6. // 取消收藏
  7. export const removeUserFavorite = data => createAPI('/userFavorite/remove',"POST",data)