Browse Source

feat: saveSceneVisit api

chenlei 1 week ago
parent
commit
8c32ccac55
1 changed files with 4 additions and 0 deletions
  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}`);
+  },
+
   /**
    * 点赞
    */