Просмотр исходного кода

后端接口规则变更以提高安全性

任一存 1 год назад
Родитель
Сommit
5b73138f4f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      game/src/api.js

+ 1 - 1
game/src/api.js

@@ -204,7 +204,7 @@ export async function addScore(score, description) {
     data: {
     data: {
       score: scoreEncrypted,
       score: scoreEncrypted,
       type: '玩游戏',
       type: '玩游戏',
-      userId: store.state.userInfo.id,
+      // userId: store.state.userInfo.id,
       description,
       description,
     },
     },
     headers: {
     headers: {