16 lines
359 B
Go
16 lines
359 B
Go
package front
|
|
|
|
import (
|
|
"PaymentCenter/app/http/controllers"
|
|
"PaymentCenter/app/http/entities/front"
|
|
"PaymentCenter/app/services"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func WebPay(c *gin.Context) {
|
|
req := controllers.GetRequest(c).(*front.PayWebReqs)
|
|
appCheckInfo := controllers.GetAppCheckInfo(c).(*services.AppCheck)
|
|
services.NewWebPay(req, appCheckInfo)
|
|
|
|
}
|