瀏覽代碼

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 {


Loading…
取消
儲存