shenjiachi pirms 1 nedēļas
vecāks
revīzija
00236a9689
2 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 {


Notiek ielāde…
Atcelt
Saglabāt