浏览代码

更新

master
huangjiajun 1 天前
父节点
当前提交
8658c99e24
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. +5
    -0
      app/hdl/hdl_index.go

+ 5
- 0
app/hdl/hdl_index.go 查看文件

@@ -33,10 +33,15 @@ 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.MediumId),
"name": name,
"account": user.Username,
"state": state,
"settle_type": utils.IntToStr(data.SettlementType),
"settle_type_str": settleType[data.SettlementType],
}


正在加载...
取消
保存