init: hgmj server initial commit
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
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)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user