diff --git a/app/hdl/hdl_index.go b/app/hdl/hdl_index.go index 569205b..539a462 100644 --- a/app/hdl/hdl_index.go +++ b/app/hdl/hdl_index.go @@ -33,9 +33,14 @@ func Base(c *gin.Context) { if data.CompanyAbbreviation != "" { name = data.CompanyAbbreviation } + state := "0" + if data.State == 2 { + state = "1" + } res := map[string]string{ "account_id": utils.IntToStr(user.AgentId), "name": name, + "state": state, "account": user.Username, "settle_type": utils.IntToStr(data.SettlementType), "settle_type_str": settleType[data.SettlementType],