feat: complete wechat pay

This commit is contained in:
Rogee
2025-04-30 19:26:53 +08:00
parent 11288471d4
commit 67d6f3ec33
10 changed files with 44 additions and 21 deletions

View File

@@ -241,7 +241,7 @@ func (ctl *posts) Mine(ctx fiber.Ctx, pagination *requests.Pagination, query *Li
// Buy
//
// @Router /posts/:id/buy [get]
// @Router /posts/:id/buy [post]
// @Bind id path
// @Bind user local
func (ctl *posts) Buy(ctx fiber.Ctx, id int64, user *model.Users) (*wechat.JSAPIPayParams, error) {