user.js 676 B

1234567891011121314151617181920
  1. // JTXT系统相关api
  2. export default {
  3. basePath: process.env.VUE_APP_JTXT_URL,
  4. apiList: {
  5. // admin获取所有用户
  6. JTXT_GET_USER_ADMIN_USERS: "admin/users",
  7. // 查询今日积分
  8. JTXT_GET_USER_DAIYL_POINTS: "user/{userName}/daily-points",
  9. // 查询总积分
  10. JTXT_GET_USER_ALL_POINTS: "user/{userName}/points",
  11. // 查询考试历史
  12. JTXT_GET_USER_EXAMS_HISTORY: "exams/history",
  13. // 查询收藏
  14. JTXT_GET_USER_FAVORITES: "/user/{userName}/favorites",
  15. // 收藏
  16. JTXT_POST_FAVORITE_MATERIALID: "/user/{userName}/favorites",
  17. // 删除收藏
  18. JTXT_DELETE_REMOVE_FAVORITE_MATERIALID: "user/{userName}/favorites"
  19. }
  20. };