sunsheng hai 1 ano
pai
achega
36b4b32376
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)