feat: add charge codes
This commit is contained in:
@@ -87,7 +87,7 @@ func (c *Controller) GetChargeCodes(ctx fiber.Ctx) error {
|
||||
Code string `json:"code"`
|
||||
}
|
||||
|
||||
amount := []int64{10, 20, 50, 100, 200, 300, 500, 1000, 2000}
|
||||
amount := []int64{1, 2, 5, 10, 20, 50, 100, 200, 300, 500, 1000, 2000}
|
||||
codes := []generateCode{}
|
||||
for _, a := range amount {
|
||||
code, err := c.svc.GenerateChargeCode(ctx.Context(), claim.TenantID, a*100)
|
||||
|
||||
Reference in New Issue
Block a user