feat: complete wechat pay
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user