sunsheng 1 year ago
parent
commit
36b4b32376
1 changed files with 1 additions and 1 deletions
  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)