20 lines
381 B
Go
20 lines
381 B
Go
package api
|
|
|
|
import (
|
|
"SciencesServer/app/api/website/controller/payment"
|
|
"SciencesServer/app/basic/api"
|
|
"SciencesServer/app/session"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
// Payment 支付管理
|
|
type Payment struct{}
|
|
|
|
func (*Payment) Launch(c *gin.Context) {
|
|
payment.NewInstance()(api.GetSession()(c).(*session.Enterprise)).Launch(0)
|
|
}
|
|
|
|
func (*Payment) Callback(c *gin.Context) {
|
|
|
|
}
|