Browse Source

update

adv_callback
shenjiachi 1 month ago
parent
commit
00236a9689
2 changed files with 3 additions and 3 deletions
  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 View File

@@ -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 View File

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


Loading…
Cancel
Save