feat(user): 新增iap支付

This commit is contained in:
2024-11-27 01:58:05 +08:00
parent d1c897e55e
commit 4748bb0cfb
14 changed files with 338 additions and 5 deletions

View File

@@ -50,6 +50,11 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
server.AddRoutes(
[]rest.Route{
{
Method: http.MethodPost,
Path: "/pay/iap_callback",
Handler: pay.IapCallbackHandler(serverCtx),
},
{
Method: http.MethodPost,
Path: "/pay/payment",