Pārlūkot izejas kodu

修复 channel 读取时候可能出现的异常情况

Signed-off-by: allan716 <[email protected]>
allan716 3 gadi atpakaļ
vecāks
revīzija
f702332bcd
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      internal/backend/controllers/base/path_things.go

+ 1 - 1
internal/backend/controllers/base/path_things.go

@@ -11,7 +11,7 @@ import (
 	"github.com/gin-gonic/gin"
 )
 
-func (cb ControllerBase) CheckPathHandler(c *gin.Context) {
+func (cb *ControllerBase) CheckPathHandler(c *gin.Context) {
 	var err error
 	defer func() {
 		// 统一的异常处理