123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- import request from "@/utils/request.js";
- /**
- * 游戏搭子内容发现列表
- *
- */
- export function gameListApi(params){
- return request.get(`game/note/discover/list`,params,{ noAuth : true});
- }
- /**
- * 游戏搭子我的作品列表
- *
- */
- export function myGameApi(data){
- return request.get(`game/note/my/list`,data);
- }
- /**
- * 游戏搭子内容删除
- *
- */
- export function noteGameApi(noteId){
- return request.post(`game/note/delete/${noteId}`);
- }
- /**
- * 游戏搭子加入/取消
- *
- */
- export function myGameJoinIdApi(noteId){
- return request.post(`game/note/join/${noteId}`);
- }
- /**
- * 游戏搭子我加入列表
- *
- */
- export function myGameJoinApi(data){
- return request.get(`game/note/join/list`,data);
- }
- /**
- * 创建游戏搭子内容
- *
- */
- export function gameAddApi(data){
- return request.post(`game/note/add`, data);
- }
- /**
- * 编辑游戏搭子内容
- *
- */
- export function gameUpdateApi(data){
- return request.post(`game/note/update`, data);
- }
- /**
- * 游戏搭子内容详情
- *
- */
- export function gameDetailApi(noteId){
- return request.get(`game/note/user/detail/${noteId}`,{},{ noAuth : true});
- }
|