Ver a proveniência

update

master
shenjiachi há 1 semana
ascendente
cometimento
00236a9689
2 ficheiros alterados com 3 adições e 3 eliminações
  1. +1
    -1
      app/hdl/institutional_management/public_platoon/hdl_basic.go
  2. +2
    -2
      app/md/institutional_management/public_platoon/md_public_platoon.go

+ 1
- 1
app/hdl/institutional_management/public_platoon/hdl_basic.go Ver ficheiro

@@ -542,7 +542,7 @@ func AddCommunityDividends(c *gin.Context) {
e.OutErr(c, e.ERR_DB_ORM, err1.Error())
return
}
err2 := ruleSvc.AddCommunityDividends(db.Db, req.Nums, req.Name, *basic)
err2 := ruleSvc.AddCommunityDividends(db.Db, req.Amount, req.Name, *basic)
if err2 != nil {
e.OutErr(c, e.ERR_DB_ORM, err2.Error())
return


+ 2
- 2
app/md/institutional_management/public_platoon/md_public_platoon.go Ver ficheiro

@@ -117,8 +117,8 @@ type ListCommunityDividendsResp struct {
}

type AddCommunityDividendsReq struct {
Name string `json:"name,required" example:"社区分红名称"`
Nums string `json:"nums,required"` // 社区分红数量
Name string `json:"name,required" example:"社区分红名称"`
Amount string `json:"amount,required"` // 社区分红数量
}

type ListCommunityDividendsWithUserReq struct {


Carregando…
Cancelar
Guardar