sunsheng 1 жил өмнө
parent
commit
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)