17 lines
464 B
Go
17 lines
464 B
Go
package router
|
|
|
|
import (
|
|
"91porn-server/app/api/ai_mate_ctrl"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func aiMateRouter(router *gin.RouterGroup) {
|
|
group := router.Group("/aimate")
|
|
group.GET("/currencys", ai_mate_ctrl.GetCurrencys)
|
|
group.POST("/exchange", ai_mate_ctrl.Exchange)
|
|
group.POST("/sync", ai_mate_ctrl.SyncInfo)
|
|
group.GET("/login", ai_mate_ctrl.Login)
|
|
group.GET("/getBalance", ai_mate_ctrl.GetBalance)
|
|
group.GET("/gianBalance", ai_mate_ctrl.GianBalance)
|
|
}
|