浏览代码

update

master
shenjiachi 1周前
父节点
当前提交
00236a9689
共有 2 个文件被更改,包括 3 次插入3 次删除
  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 查看文件

@@ -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 查看文件

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


正在加载...
取消
保存