This commit is contained in:
aozhiwei 2022-06-21 11:43:43 +08:00
parent 516e562ed0
commit 7eef9d8438

View File

@ -31,6 +31,7 @@ func (srv *PayServer) Run() {
//开始access Token服务
//platApi.StartAccessTokenMgr()
/*
http.HandleFunc("/qqPreOrder", QQPreOrder)
http.HandleFunc("/qqCallback", srv.QQPayCallBack)
http.HandleFunc("/oppoPreOrder", OppoPreOrder)
@ -50,7 +51,7 @@ func (srv *PayServer) Run() {
http.HandleFunc("/RegisterReward", srv.RegisterReward)
http.HandleFunc("/testGameProxy", srv.TestGameProxy)
http.HandleFunc("/selfChecking", srv.SelfChecking)
*/
server := http.Server{Addr: srv.addr, Handler: http.DefaultServeMux}
go func() {
err := server.ListenAndServe()