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)