skyblued 2 years ago
parent
commit
d79279ef0f
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/subpages/colexiu/buttons/evaluating.tsx

+ 4 - 4
src/subpages/colexiu/buttons/evaluating.tsx

@@ -145,7 +145,7 @@ const connect = async () => {
     partIndex: detailState.partIndex,
     partIndex: detailState.partIndex,
     behaviorId,
     behaviorId,
     platform: 'WEB',
     platform: 'WEB',
-    clientId: 'student',
+    clientId: 'STUDENT',
     hertz: SettingState.sett.hertz,
     hertz: SettingState.sett.hertz,
     // 这里定义的是数字但是因为是通过input输入所以强制转化一次
     // 这里定义的是数字但是因为是通过input输入所以强制转化一次
     reactionTimeMs: parseFloat('' + SettingState.eva.reactionTimeMs) || 0,
     reactionTimeMs: parseFloat('' + SettingState.eva.reactionTimeMs) || 0,
@@ -155,11 +155,11 @@ const connect = async () => {
   }
   }
   const clientType = useClientType()
   const clientType = useClientType()
   if (clientType === 'student') {
   if (clientType === 'student') {
-    content.clientId = 'student'
+    content.clientId = 'STUDENT'
   } else if (clientType === 'teacher') {
   } else if (clientType === 'teacher') {
-    content.clientId = 'teacher'
+    content.clientId = 'TEACHER'
   } else {
   } else {
-    content.clientId = 'education'
+    content.clientId = 'BACKEND'
   }
   }
   if (browserInfo.android) {
   if (browserInfo.android) {
     content.platform = 'ANDROID'
     content.platform = 'ANDROID'