init: hgmj server initial commit
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"91jd-server/app/api/rechargectrl"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func rchgRouter(router *gin.RouterGroup) {
|
||||
group := router.Group("/mine")
|
||||
{
|
||||
//获取货币列表
|
||||
group.GET("/currencys", rechargectrl.CurrencyList)
|
||||
// 充值
|
||||
group.POST("/topay", rechargectrl.NewRecharge)
|
||||
// 获取用户的交易记录
|
||||
group.POST("/transaction", rechargectrl.GetUserTransactions)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user