generated from PenaSide/GolangTemplate
--
This commit is contained in:
parent
6c77fc2f04
commit
72788f8369
BIN
cmd/app/app
BIN
cmd/app/app
Binary file not shown.
@ -791,7 +791,7 @@ func (api *API2) SendReport(ctx echo.Context) error {
|
||||
totalAmount += privilege.Amount
|
||||
}
|
||||
data := models.RespGeneratorService{
|
||||
DocNumber: historyMap[req.Id] + 1,
|
||||
DocNumber: fmt.Sprint(historyMap[req.Id] + 1),
|
||||
Date: time.Now().Format("2006-01-02"),
|
||||
OrgTaxNum: verifuser.TaxNumber,
|
||||
OrgName: models.Name{Orgname: "Orgname"},
|
||||
|
@ -1,7 +1,7 @@
|
||||
package models
|
||||
|
||||
type RespGeneratorService struct {
|
||||
DocNumber int `json:"docnumber"`
|
||||
DocNumber string `json:"docnumber"`
|
||||
Date string `json:"date"`
|
||||
OrgTaxNum string `json:"orgtaxnum"`
|
||||
OrgName Name `json:"orgname"`
|
||||
|
Loading…
Reference in New Issue
Block a user