绩效考核
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.

26 lines
930 B

3 years ago
package wechatcallbackrouter
import (
3 years ago
v1 "gin_server_admin/api/v1"
3 years ago
"github.com/gin-gonic/gin"
)
type WeChatCallBackRoute struct{}
func (g *WeChatCallBackRoute) InitGroupRouter(Router *gin.RouterGroup) {
groupCodeRouter := Router.Group("wechatcallback")
var authorityApi = v1.ApiGroupApp.WeCahtCallBackGroup.WeChatCallBackApi
{
groupCodeRouter.POST("", authorityApi.Index)
groupCodeRouter.POST("/", authorityApi.Index)
groupCodeRouter.GET("", authorityApi.Index)
groupCodeRouter.GET("/", authorityApi.Index)
groupCodeRouter.POST("callbackcpimessage", authorityApi.CallbackApiMessage) //回调接收消息
groupCodeRouter.POST("callbackcpimessage/", authorityApi.CallbackApiMessage) //回调接收消息
groupCodeRouter.GET("callbackcpimessage", authorityApi.CallbackApiMessage) //回调接收消息
groupCodeRouter.GET("callbackcpimessage/", authorityApi.CallbackApiMessage) //回调接收消息
}
}