Quellcode durchsuchen

fix #636 生成短链方法报commonError is invalid or not struct (#637)

silenceper vor 3 Jahren
Ursprung
Commit
abd583df01
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      miniprogram/shortlink/shortlink.go

+ 1 - 1
miniprogram/shortlink/shortlink.go

@@ -37,7 +37,7 @@ type ShortLinker struct {
 // resShortLinker 返回结构体
 type resShortLinker struct {
 	// 通用错误
-	*util.CommonError
+	util.CommonError
 
 	// 返回的 shortLink
 	Link string `json:"link"`