diff --git a/server/controller/qyweixin.go b/server/controller/qyweixin.go index a83666a..50318b5 100644 --- a/server/controller/qyweixin.go +++ b/server/controller/qyweixin.go @@ -21,7 +21,6 @@ type QyWeixin struct { } func (q *QyWeixin) Approve(ctx *gin.Context) { - cfg := config.GetConfig() cid := cast.ToInt64(ctx.Param("cid")) corp, err := dao.NewCorpDao().Get(cid) if err != nil || corp == nil {