24 lines
420 B
Go
24 lines
420 B
Go
package router
|
|
|
|
import (
|
|
"91jd-server/app/api/txnactctr"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func txnactRouter(router *gin.RouterGroup) {
|
|
group := router.Group("/mine")
|
|
{
|
|
txnactGroup := group.Group("/txnact")
|
|
txnactGroup.DELETE("/del", txnactctr.DelTxAccount)
|
|
{
|
|
yh := txnactGroup.Group("/yh")
|
|
{
|
|
//银行卡绑定
|
|
yh.GET("/get", txnactctr.GetBanks)
|
|
yh.POST("/add", txnactctr.AddBank)
|
|
}
|
|
}
|
|
}
|
|
}
|