sunsheng 1 년 전
부모
커밋
36b4b32376
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/api/router.go

+ 1 - 1
src/api/router.go

@@ -32,7 +32,7 @@ func RegRouters(svc *Service) {
 
 	// 学习记录
 	root.POSTJWT("/learnLog/create/:scope", CreateLearnLog)
-	root.POSTJWT("/learnLog/sync/time/:scope", SyncLearnTime)
+	root.POSTJWT("/learnLog/sync/time/:id/:scope", SyncLearnTime)
 
 	// 考核试题管理
 	root.POSTJWT("/admin/test/create/:scope", CreateTest)