master
huanghai 5 years ago
parent fa1b77cff5
commit ea1e91edc4

@ -23,4 +23,8 @@ go get github.com/go-delve/delve/cmd/dlv
# Goland配置方法
https://www.jianshu.com/p/e74e940a64d9
dlv --listen=:2345 --headless=true --api-version=2 exec ./dsBaseRpc
dlv --listen=:2345 --headless=true --api-version=2 exec ./dsBaseRpc
//构建一个强制转换的错误~~~~
//panic(400)

@ -10,7 +10,6 @@ import (
"dsBaseRpc/Utils/SqlKit"
"dsBaseRpc/models"
"errors"
"fmt"
"github.com/xormplus/builder"
"strings"
"time"
@ -169,10 +168,6 @@ func PageBaseOrganization(in *BaseOrganizationProto.QueryArg) ([]map[string]inte
//通过SQL获取带缓存的数据
list, count, err := SqlKit.QueryForPk(sql)
//构建一个强制转换的错误~~~~
fmt.Println(list[0]["bureau_id"].(int64))
//修改密码的显示项目
SysLoginpersonDao.FillPwd(&list)
return list, count, err

Loading…
Cancel
Save