You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
553 B
21 lines
553 B
package wechatapp
|
|
|
|
import (
|
|
"gin_server_admin/api/wechatapp"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
// 向企业微信发送信息路由
|
|
type SendMsgWeCahtApi struct{}
|
|
|
|
func (g *SendMsgWeCahtApi) InitGroupRouter(Router *gin.RouterGroup) {
|
|
groupCodeRouter := Router.Group("wechatsendmsg")
|
|
var authorityApi = wechatapp.ApiGroupApp.WorkWeChatSendMsgApi.SendMsgApi
|
|
{
|
|
groupCodeRouter.POST("", authorityApi.Index)
|
|
groupCodeRouter.POST("/", authorityApi.Index)
|
|
groupCodeRouter.GET("", authorityApi.Index)
|
|
groupCodeRouter.GET("/", authorityApi.Index)
|
|
|
|
}
|
|
}
|
|
|