|
|
package routers
|
|
|
|
|
|
import (
|
|
|
"github.com/beego/beego/v2/server/web"
|
|
|
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/port/beego/controllers/web_client"
|
|
|
)
|
|
|
|
|
|
func init() {
|
|
|
web.Router("/v1/web/credit-accounts/:creditAccountId", &web_client.CreditAccountController{}, "Get:GetCreditAccount")
|
|
|
web.Router("/v1/web/credit-accounts/search", &web_client.CreditAccountController{}, "Post:ListCreditAccount")
|
|
|
web.Router("/v1/web/credit-accounts/remove", &web_client.CreditAccountController{}, "Post:RemoveCreditAccount")
|
|
|
web.Router("/v1/web/credit-accounts/pay", &web_client.CreditAccountController{}, "Post:PayCreditAccount")
|
|
|
} |
...
|
...
|
|