config2
This commit is contained in:
parent
24b37e9299
commit
1718a4665d
|
@ -21,7 +21,6 @@ type QyWeixin struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (q *QyWeixin) Approve(ctx *gin.Context) {
|
func (q *QyWeixin) Approve(ctx *gin.Context) {
|
||||||
cfg := config.GetConfig()
|
|
||||||
cid := cast.ToInt64(ctx.Param("cid"))
|
cid := cast.ToInt64(ctx.Param("cid"))
|
||||||
corp, err := dao.NewCorpDao().Get(cid)
|
corp, err := dao.NewCorpDao().Get(cid)
|
||||||
if err != nil || corp == nil {
|
if err != nil || corp == nil {
|
||||||
|
|
Loading…
Reference in New Issue