Selaa lähdekoodia

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

Signed-off-by: allan716 <[email protected]>
allan716 3 vuotta sitten
vanhempi
sitoutus
f702332bcd
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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() {
 		// 统一的异常处理