Explorar el Código

feat: saveSceneVisit api

chenlei hace 1 semana
padre
commit
8c32ccac55
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      src/index/api/home.ts

+ 4 - 0
src/index/api/home.ts

@@ -16,6 +16,10 @@ export const homeApi = {
     );
   },
 
+  saveSceneVisit(sceneCode: string) {
+    return service.get(`${SCENE_BASE_URL}/count/saveVisit/${sceneCode}`);
+  },
+
   /**
    * 点赞
    */